ORQ2 ; SLC/MKB/GSS - Detailed Order Report ;Aug 9, 2021@13:40:01
Source file <ORQ2.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 7 | ($$EXT,$$NMSP,GETDLG,GETORDER)^ORCD $$OCAPI^ORCHECK $$REPLACE^ORHLESC TEXT^ORQ12 ($$DATE,$$USER,ACT,DC)^ORQ20 (BA,MED,RAD)^ORQ21 $$VALUE^ORX8 |
VA FileMan | 2 | $$GET1^DIQ ^DIWP |
DRG Grouper | 1 | $$CODECS^ICDEX |
Kernel | 1 | $$REPEAT^XLFSTR |
Registration | 1 | OERR^VADPT |
Toolkit | 1 | $$GET^XPAR |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 2 | ORCXPND2 ORWOR |
Name | Comments | DBIA/ICR reference |
---|---|---|
DETAIL(ORY,ORIFN) | ; -- Returns details of order ORIFN in ORY(#)
|
|
D1 | ||
D2 | ||
D3 | ||
D4 | ||
D5 | ||
XTRA | ;
|
|
SUB(IFN) | ; -- add suborder or parent
|
|
WP | ; -- add word-processing
|
|
CHILDREN(PARENT) | ; -- add children
|
|
SETVIDEO(LINE,COL,WIDTH,ON,OFF) | ; -- set video attributes
|
|
VA | ; -- Call VADPT
|
|
CDL(X) | ; -- Returns Clinical Danger Level X
|
|
ORIG(IFN) | ; -- Return original start date of [renewal] order
|
|
GMRCXTRA | ; expects ORDIALOG to be populated and ORIFN to be present
|
|
ALLERGY | ;separate the ALLERGY-DRUG INTERACTION Order Checks (405)
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | ALLERGY+15, ALLERGY+25 |
^DIWP | D4+15, D5+13, D5+20, XTRA+4, CHILDREN+9, ALLERGY+11, ALLERGY+21 |
$$CODECS^ICDEX | GMRCXTRA+7 |
$$EXT^ORCD | D4+14, CHILDREN+7 |
$$NMSP^ORCD | DETAIL+5 |
GETDLG^ORCD | D4+3 |
GETORDER^ORCD | D4+3 |
$$OCAPI^ORCHECK | D5 |
$$REPLACE^ORHLESC | CHILDREN+8 |
TEXT^ORQ12 | DETAIL+8, D1+14, SUB+1 |
$$DATE^ORQ20 | D2+10, D2+13, D3+6, D3+7, D3+8, D3+9, D5+18, SUB+5, ALLERGY+19 |
$$USER^ORQ20 | D2+9, D2+10, D2+13, D5+18, ALLERGY+19 |
ACT^ORQ20 | D2+3 |
DC^ORQ20 | D2+12 |
BA^ORQ21 | D4+21 |
MED^ORQ21 | D4+20 |
RAD^ORQ21 | D4+1, D4+20 |
$$VALUE^ORX8 | SUB+4 |
OERR^VADPT | VA+1 |
$$REPEAT^XLFSTR | D1+16, D4+11, D4+14, D4+17 |
$$GET^XPAR | D3+11 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(45.7 - [#45.7] | D3+4 |
^GMR(123 - [#123] | GMRCXTRA+11, GMRCXTRA+12 |
^OR(100 - [#100] | DETAIL+4, DETAIL+7, D1, D1+4, D1+6, D2+3, D2+5, D2+8, D2+11, D4+1 , D4+18, SUB+2, SUB+3, ORIG+2, ORIG+3, ORIG+5, GMRCXTRA+2, GMRCXTRA+9, GMRCXTRA+11, GMRCXTRA+12 |
^ORD(100.01 - [#100.01] | D3+10, D3+11, SUB+2 |
^ORD(101.41 - [#101.41] | D4+6, D4+7, D4+16, CHILDREN+2, CHILDREN+3 |
^SC - [#44] | D3+5 |
^TMP("ORWORD" | D5+22! |
^TMP($J | D5!, D5+6, D5+9, D5+10, D5+16!, XTRA+1, XTRA+2, XTRA+6, ALLERGY+3, ALLERGY+4 , ALLERGY+7, ALLERGY+8, ALLERGY+13 |
^UTILITY($J | D2+2!, D4+14!, D4+17, D5+13!, D5+14, D5+20!, D5+21, D5+22!, XTRA+4!, XTRA+5 , ALLERGY+11!, ALLERGY+12, ALLERGY+21!, ALLERGY+22 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | SUB+1~, SUB+3* |
ACK | D5+1~, D5+3*, ALLERGY+3*, ALLERGY+6*, ALLERGY+18 |
ACTION | DETAIL+1~, D2+3*, D2+12 |
ALLGYDRG | D5+1~, D5+22! |
ALLGYDRG( | D5+7, ALLERGY+5* |
CDL | D5+1~, D5+11*, D5+12, D5+14*, XTRA+2*, XTRA+3, XTRA+5*, ALLERGY+9*, ALLERGY+10, ALLERGY+12* |
CK | D5+1~, D5+6*, D5+7, D5+9, D5+10, XTRA+1, XTRA+2, XTRA+6, ALLERGY+3*, ALLERGY+4 , ALLERGY+5, ALLERGY+7, ALLERGY+8, ALLERGY+13 |
CNT | DETAIL+1~, DETAIL+4*, DETAIL+10*, DETAIL+11*, D1+1*, D1+2, D1+5*, D1+7*, D1+8, D1+10* , D1+12*, D1+13, D1+15*, D1+16*, D2*, D2+1, D2+7*, D2+9*, D2+10*, D2+11* , D2+13*, D2+14*, D3*, D3+1, D3+2*, D3+3*, D3+4*, D3+5*, D3+6*, D3+7 , D3+8*, D3+9, D3+10*, D3+11*, D3+12*, D3+13*, D4*, D4+17*, D4+18*, D4+19* , D5+2, D5+8*, D5+12*, D5+14*, D5+18*, D5+19*, D5+21*, XTRA+3*, XTRA+5*, XTRA+6* , SUB+6*, SUB+7*, WP+2*, WP+3*, ALLERGY+6*, ALLERGY+10*, ALLERGY+12*, ALLERGY+19*, ALLERGY+20*, ALLERGY+22* , ALLERGY+24*, ALLERGY+25* |
COL | SETVIDEO~, SETVIDEO+1, SETVIDEO+2 |
DA | D4+6*, D4+7, CHILDREN+1~, CHILDREN+2*, CHILDREN+3 |
DFN | VA+1~* |
DIWF | DETAIL+1~, D2+2*, D4+5*, D5+13*, D5+20*, XTRA+4*, ALLERGY+11*, ALLERGY+21* |
DIWL | DETAIL+1~, D2+2*, D4+5*, D4+17, D5+13*, D5+14, D5+20*, D5+21, XTRA+4*, XTRA+5 , ALLERGY+11*, ALLERGY+12, ALLERGY+21*, ALLERGY+22 |
DIWR | DETAIL+1~, D2+2*, D4+5*, D5+13*, D5+20*, XTRA+4*, ALLERGY+11*, ALLERGY+21* |
DONE | ORIG+1~, ORIG+2*, ORIG+3, ORIG+5* |
FIRST | DETAIL+1~, D4+9*, D4+17 |
HDR | D5+1~*, D5+8*, D5+17 |
I | DETAIL+1~, DETAIL+10*, D1+14~, D1+16*, D4+17*, D5+1~, D5+14*, D5+21*, XTRA+5*, ORIG+1~ , ORIG+2*, ORIG+3, ORIG+4*, ORIG+5, ALLERGY+12*, ALLERGY+22* |
IFN | D1+3~*, D1+4*, SUB~, SUB+1, SUB+2, SUB+3, SUB+4, ORIG~, ORIG+2 |
IG | SUB+1~, SUB+6* |
INST | DETAIL+1~, D4+12*, D4+14, D4+17, WP+1, CHILDREN+4, CHILDREN+7 |
>> IORVOFF | DETAIL+10 |
>> IORVON | DETAIL+10 |
>> IOUOFF | D1+2, D1+8, D1+13, D2+1, D3+1, D4, D5+2 |
>> IOUON | D1+2, D1+8, D1+13, D2+1, D3+1, D4, D5+2 |
ITEM | DETAIL+1~, D4+7*, D4+8 |
ITM | CHILDREN+1~, CHILDREN+3*, CHILDREN+4 |
J | D3+11~* |
LINE | SETVIDEO~, SETVIDEO+1, SETVIDEO+2 |
MULT | DETAIL+1~, D4+8*, D4+10 |
OFF | SETVIDEO~, SETVIDEO+2 |
OK | D5+1~, D5+5*, D5+11*, D5+18, D5+19, D5+20, ALLERGY+9*, ALLERGY+19, ALLERGY+20, ALLERGY+21 |
ON | SETVIDEO~, SETVIDEO+1 |
OR0 | DETAIL+1~, DETAIL+4*, DETAIL+5, D3+4, D3+5, D3+6, D3+8, D4+2, VA+1 |
OR3 | DETAIL+1~, DETAIL+4*, DETAIL+7, D1+6, D1+9, D1+11, D1+14, D2+12, D2+13, D3+7 , D3+9, D3+10, D3+11 |
OR6 | DETAIL+1~, DETAIL+4*, D2+12, D2+13, D3+9 |
ORCODE | GMRCXTRA+1~, GMRCXTRA+6*, GMRCXTRA+7 |
ORCODSYS | GMRCXTRA+1~, GMRCXTRA+7*, GMRCXTRA+8 |
ORCRACT | DETAIL+1~, DETAIL+4*, DETAIL+7*, DETAIL+8 |
ORCY | SUB+1~ |
ORCY( | SUB+6 |
ORDGDA | GMRCXTRA+1~, GMRCXTRA+14*, GMRCXTRA+15, GMRCXTRA+16*, GMRCXTRA+17, GMRCXTRA+18 |
ORDIALOG | DETAIL+1~, D4+2*, D4+3, D4+6, D4+7, D4+16, CHILDREN+2, CHILDREN+3 |
ORDIALOG( | D4+9, D4+10, D4+12, D4+13, WP+1, CHILDREN+4, CHILDREN+5, GMRCXTRA+5, GMRCXTRA+6, GMRCXTRA+17 , GMRCXTRA+18* |
ORDIALOG("B" | GMRCXTRA+3, GMRCXTRA+14 |
ORGMRICD | GMRCXTRA+1~, GMRCXTRA+12*, GMRCXTRA+13 |
ORGMROUT | GMRCXTRA+1~, GMRCXTRA+8*, GMRCXTRA+10*, GMRCXTRA+13*, GMRCXTRA+18 |
ORI | D2+2*, D2+3*, D2+5*, D2+6, D2+8, WP+1~, WP+3* |
ORIFN | DETAIL~, DETAIL+4*, DETAIL+7, DETAIL+8, D1, D1+4, D2+3, D2+5, D2+8, D2+11 , D3+7, D3+12, D4+1, D4+3, D4+18, D5, GMRCXTRA+2, GMRCXTRA+9, GMRCXTRA+11, GMRCXTRA+12 |
ORIGVIEW | DETAIL+1~, DETAIL+8*, D1+14~* |
ORINSTAN | ALLERGY+1~, ALLERGY+13*, ALLERGY+14, ALLERGY+15, ALLERGY+16 |
ORISCODE | GMRCXTRA+1~, GMRCXTRA+3*, GMRCXTRA+4, GMRCXTRA+5, GMRCXTRA+6 |
ORNMSP | DETAIL+1~, DETAIL+5*, D4+1, D4+4, D4+18, D4+20, SUB+5, SUB+7 |
ORRET | ALLERGY+1~, ALLERGY+2*, ALLERGY+15, ALLERGY+25 |
ORSAVINS | ALLERGY+1~, ALLERGY+16*, ALLERGY+23, ALLERGY+25 |
ORTRANS | DETAIL+2~, D2+8*, D2+9, D2+10 |
ORXT | XTRA+1~*, XTRA+2 |
ORY | DETAIL~, DETAIL+8, DETAIL+9, DETAIL+11, D1+1, D1+5, D1+7, D1+10, D1+12, D1+15 , D1+16, D2, D2+7, D2+9, D2+10, D2+11, D2+13, D2+14, D3, D3+2 , D3+3, D3+4, D3+5, D3+6, D3+7, D3+8, D3+9, D3+10, D3+11, D3+12 , D3+13, D4, D4+17, D4+18, D4+19, D5+8, D5+12, D5+14, D5+18, D5+19 , D5+21, XTRA+3, XTRA+5, XTRA+6, SUB+6, SUB+7, WP+2, WP+3, VA+1~, ALLERGY+6 , ALLERGY+10, ALLERGY+12, ALLERGY+19, ALLERGY+20, ALLERGY+22, ALLERGY+24, ALLERGY+25 |
ORY("VIDEO" | SETVIDEO+1*, SETVIDEO+2* |
ORYT | DETAIL+1~, DETAIL+8!, DETAIL+9 |
ORYT( | DETAIL+10 |
ORZ | D1+14~ |
ORZ( | D1+16 |
ORZ(1 | D1+15 |
PARENT | CHILDREN~, CHILDREN+2 |
PRMT | DETAIL+1~, D4+8*, D4+9, D4+10, D4+12, D4+13, D4+14, D4+16, WP+1, CHILDREN+1~ , CHILDREN+3*, CHILDREN+4, CHILDREN+5, CHILDREN+7 |
SCHED | SUB+1~, SUB+4*, SUB+7 |
SEQ | DETAIL+1~, D4+6*, CHILDREN+1~, CHILDREN+2* |
STOP | SUB+1~, SUB+3*, SUB+5*, SUB+7 |
STRT | SUB+1~, SUB+3*, SUB+5*, SUB+6* |
STS | SUB+1~, SUB+2*, SUB+6* |
TITLE | DETAIL+1~, D4+10*, D4+11*, D4+14*, D4+17, WP+2 |
TYPE | CHILDREN+1~, CHILDREN+5*, CHILDREN+6 |
U | DETAIL+5, DETAIL+7, D1+6, D1+9, D1+11, D1+14, D2+9, D2+10, D2+12, D2+13 , D3+4, D3+5, D3+6, D3+7, D3+8, D3+9, D3+10, D3+11, D4+2, D4+7 , D4+8, D5+9, D5+11, D5+18, D5+19, D5+20, SUB+2, SUB+3, CHILDREN+3, CHILDREN+4 , ORIG+2, ORIG+4, ORIG+5, GMRCXTRA+3, GMRCXTRA+8, GMRCXTRA+13, GMRCXTRA+15, GMRCXTRA+16, ALLERGY+7, ALLERGY+9 , ALLERGY+19, ALLERGY+20, ALLERGY+21 |
VAIN | DETAIL+1~ |
VAIN(11 | D3+3 |
VAIN(2 | D3+2 |
WIDTH | SETVIDEO~, SETVIDEO+1, SETVIDEO+2 |
WP | WP+1~* |
WP( | WP+3 |
X | DETAIL+1~, D3+7*, D4+14*, D5+1~, D5+10*, D5+12, D5+20*, XTRA+2*, XTRA+3, XTRA+6* , WP+1~, WP+3*, CHILDREN+1~, CHILDREN+7*, CHILDREN+8*, CDL~, CDL+1, ALLERGY+8*, ALLERGY+10, ALLERGY+21* |
X0 | D5+1~, D5+9*, D5+11, ALLERGY+7*, ALLERGY+9 |
X2 | DETAIL+1~ |
X3 | ORIG+1~, ORIG+3*, ORIG+4 |
Y | VA+1~, CDL+1~*, CDL+2*, CDL+3, ORIG+1~, ORIG+2*, ORIG+5*, ORIG+6 |