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 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(42 - [#42] | DUPRANGE+13 |
^OR(100 - [#100] | STATUS+4, STATUS+6, RECENT+3, RECENT+4, RECENT+5, ORDERER+4, ORDERER+5, ORDERER+7, UNSIGNOR+9, UNSIGNOR+10 , UNSIGNOR+11, OI+3, OIM+3, OIM+4, DG+3, PT+3, RSLTFLG+4 |
^ORD(100.01 - [#100.01] | STATUS+7, RECENT+7 |
^ORD(100.98 - [#100.98] | DGRX+4 |
^VA(200 - [#200] | DUPRANGE+16 |
Name | Line Occurrences |
---|---|
$$DG | DGRX+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BDT | DUPRANGE+6~, DUPRANGE+7*, DUPRANGE+23*, DUPRANGE+24 |
CDT | RECENT+2~, RECENT+7*, RECENT+9 |
DFN | DUPRANGE+12~* |
DG | DUPRANGE~, DUPRANGE+20, DUPRANGE+21, DG+2~*, DG+3*, DG+4*, DG+5, DGRX+2~, DGRX+3*, DGRX+4 |
DGNAME | DGRX+2~, DGRX+4*, DGRX+5 |
DHRS | DUPRANGE+6~, DUPRANGE+17*, DUPRANGE+18, DUPRANGE+19, DUPRANGE+20*, DUPRANGE+21*, DUPRANGE+22*, DUPRANGE+23 |
DUZ | DUPRANGE+16 |
FLG | RSLTFLG+3~*, RSLTFLG+4*, RSLTFLG+5*, RSLTFLG+6 |
INBDT | DUPRANGE+6~, DUPRANGE+7*, DUPRANGE+23*, DUPRANGE+24 |
INDT | RECENT+2~*, RECENT+3*, RECENT+4, RECENT+7 |
ODT | DUPRANGE~, DUPRANGE+23 |
OI | RECENT~, RECENT+3, RECENT+4, DUPRANGE~, DUPRANGE+17, OI+2~*, OI+3*, OI+4 |
ORCNT | OIM+1~*, OIM+5*, OIM+6 |
ORDA | OIM+1~*, OIM+3*, OIM+4, OIM+5 |
ORLOC | DUPRANGE+6~, DUPRANGE+13*, DUPRANGE+17, DUPRANGE+20, DUPRANGE+21 |
ORN | STATUS~, STATUS+3, STATUS+4, STATUS+6, RECENT+2~*, RECENT+4*, RECENT+5, RECENT+8, RECENT+9 |
ORNUM | ORDERER~, ORDERER+1, ORDERER+2*, ORDERER+4, ORDERER+5, ORDERER+7, UNSIGNOR~, UNSIGNOR+4, UNSIGNOR+6, UNSIGNOR+7* , UNSIGNOR+8, UNSIGNOR+9, UNSIGNOR+10, UNSIGNOR+11, OI~, OI+1, OI+3, OIM~, OIM+2, OIM+3 , OIM+4, DG~, DG+1, DG+3, DGRX~, DGRX+1, DGRX+3, PT~, PT+1, PT+3 , RSLTFLG~, RSLTFLG+2, RSLTFLG+4 |
ORPT | DUPRANGE~, DUPRANGE+11, DUPRANGE+12 |
ORQDUZ | ORDERER+3~*, ORDERER+7*, ORDERER+8, UNSIGNOR+5~*, UNSIGNOR+11*, UNSIGNOR+12 |
ORQI | ORDERER+3~, ORDERER+5*, ORDERER+6, ORDERER+7, UNSIGNOR+5~, UNSIGNOR+6*, UNSIGNOR+9*, UNSIGNOR+10, UNSIGNOR+11 |
ORSRV | DUPRANGE+6~, DUPRANGE+16*, DUPRANGE+17, DUPRANGE+20, DUPRANGE+21 |
ORSTATUS | STATUS+5~, STATUS+6*, STATUS+7*, STATUS+8, RECENT+2~, RECENT+5*, RECENT+6, RECENT+7*, RECENT+9 |
ORTEXT | RECENT+2~, RECENT+8*, RECENT+9 |
ORY | OIM~, OIM+1*, OIM+2, OIM+6*, OIM+7 |
ORY( | OIM+4* |
PT | RECENT~, RECENT+3, RECENT+4, PT+2~*, PT+3*, PT+4*, PT+5 |
RESULT | RECENT+2~*, RECENT+3, RECENT+9*, RECENT+10 |
RXDG | DGRX+2~, DGRX+5*, DGRX+6 |
ST | RECENT~, RECENT+6 |
U | STATUS+6, STATUS+7, RECENT+5, RECENT+8, RECENT+9, DUPRANGE+16, DUPRANGE+24, ORDERER+7, UNSIGNOR+9, UNSIGNOR+11 , DG+4, DGRX+4, PT+4, RSLTFLG+5 |
VA200 | DUPRANGE+12*, DUPRANGE+14! |
VAIN | DUPRANGE+14! |
VAIN(4 | DUPRANGE+13 |