ORQOR2 ; slc/CLA - Extrinsic functions which return order information ;02/17/16 12:08
Source file <ORQOR2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| STATUS(ORN) | ;extrinsic function returns the current status of an order in
 | 
|
| RECENT(PT,OI,ST) | ;extrinsic funct returns pt's most recent order for an orderable item and status in format:
 ; order number^order text (truncated to 60 chars)^start d/t^status  | 
|
| DUPRANGE(OI,DG,ODT,ORPT) | ;extrinsic funct returns duplicate order range beginning date in the format:
 | 
|
| ORDERER(ORNUM) | ;ext. funct. gets ordering provider DUZ from ORDER File (#100)
 | 
|
| UNSIGNOR(ORNUM) | ;ext. funct. gets ordering provider DUZ from ORDER File (#100)
 ; based on order action number (8 node) ; if no action number return orderer for New order  | 
|
| OI(ORNUM) | ;ext. funct. gets Orderable Item ien from ORDER File (#100)
 | 
|
| OIM(ORY,ORNUM) | ; Retrieves multiple Orderable Item IEN's from ORDER File (#100)
 | 
|
| DG(ORNUM) | ;ext. funct. gets Display Group ien from ORDER File (#100)
 | 
|
| DGRX(ORNUM) | ||
| PT(ORNUM) | ;ext. funct. gets Patient dfn from ORDER File (#100)
 | 
|
| RSLTFLG(ORNUM) | ;ext. funct. returns duz of user to receive alert if order was
 ; flagged to alert when resulted  |