Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ORQ2

Package: Order Entry Results Reporting

Routine: ORQ2


Information

ORQ2 ; SLC/MKB/GSS - Detailed Order Report ;10/21/13 07:06

Source Information

Source file <ORQ2.m>

Call Graph

Call Graph

Call Graph Total: 12

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  
DRG Grouper 1 $$CODECS^ICDEX  
Kernel 1 $$REPEAT^XLFSTR  
Registration 1 OERR^VADPT  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 ^DIWP  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Order Entry Results Reporting 2 ORCXPND2  ORWOR  

Entry Points

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

External References

Name Field # of Occurrence
^DIWP D4+15, D5+8, D5+14, XTRA+4, CHILDREN+9
$$CODECS^ICDEX GMRCXTRA+7
$$EXT^ORCD D4+14, CHILDREN+7
$$NMSP^ORCD DETAIL+4
GETDLG^ORCD D4+3
GETORDER^ORCD D4+3
$$OCAPI^ORCHECK D5
$$REPLACE^ORHLESC CHILDREN+8
TEXT^ORQ12 DETAIL+7, D1+14, SUB+1
$$DATE^ORQ20 D2+5, D3+6, D3+7, D3+8, D3+9, D5+12, SUB+5
$$USER^ORQ20 D2+5, D5+12
ACT^ORQ20 D2+3
DC^ORQ20 D2+4
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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(45.7 - [#45.7] D3+4
^GMR(123 - [#123] GMRCXTRA+11, GMRCXTRA+12
^OR(100 - [#100] DETAIL+3, DETAIL+6, D1D1+4, D1+6, D2+3, 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+16!
^TMP($J D5!, D5+3, D5+4, D5+5, D5+11!, XTRA+1, XTRA+2, XTRA+6
^UTILITY($J D2+2!, D4+14!, D4+17, D5+8!, D5+9, D5+14!, D5+15, D5+16!, XTRA+4!, XTRA+5

Label References

Name Line Occurrences
$$CDL D5+6
$$ORIG D3+7
CHILDREN D4+16
GMRCXTRA D4+4
SETVIDEO DETAIL+9, D1+2, D1+8, D1+13, D2+1, D3+1, D4D5+2
SUB D1+4, D1+9
VA D3+2
WP D4+13, CHILDREN+5
XTRA D5+7, D5+10

Naked Globals

Name Field # of Occurrence
^( D2+3, D3+11, D4+17, D5+9, D5+15, XTRA+5, CHILDREN+2
^(0 D3+10
^(3 DETAIL+3
^(4 D4+18
^(6 DETAIL+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A SUB+1~, SUB+3*
ACTION DETAIL+1~, D2+3*, D2+4
CDL D5+1~, D5+6*, D5+7, D5+9*, XTRA+2*, XTRA+3, XTRA+5*
CK D5+1~, D5+3*, D5+4, D5+5, XTRA+1, XTRA+2, XTRA+6
CNT DETAIL+1~, DETAIL+3*, DETAIL+9*, DETAIL+10*, D1+1*, D1+2, D1+5*, D1+7*, D1+8, D1+10*
D1+12*, D1+13, D1+15*, D1+16*, D2*, D2+1, D2+5*, D2+6*, 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+1*, D5+2, D5+7*, D5+9*
D5+12*, D5+13*, D5+15*, XTRA+3*, XTRA+5*, XTRA+6*, SUB+6*, SUB+7*, WP+2*, WP+3*
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+8*, D5+14*, XTRA+4*
DIWL DETAIL+1~, D2+2*, D4+5*, D4+17, D5+8*, D5+9, D5+14*, D5+15, XTRA+4*, XTRA+5
DIWR DETAIL+1~, D2+2*, D4+5*, D5+8*, D5+14*, XTRA+4*
DONE ORIG+1~, ORIG+2*, ORIG+3, ORIG+5*
FIRST DETAIL+1~, D4+9*, D4+17
I DETAIL+1~, DETAIL+9*, D1+14~, D1+16*, D4+17*, D5+1~, D5+9*, D5+15*, XTRA+5*, ORIG+1~
, ORIG+2*, ORIG+3, ORIG+4*, ORIG+5
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+9
>> IORVON DETAIL+9
>> IOUOFF D1+2, D1+8, D1+13, D2+1, D3+1, D4D5+2
>> IOUON D1+2, D1+8, D1+13, D2+1, D3+1, D4D5+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+6*, D5+12, D5+13, D5+14
ON SETVIDEO~, SETVIDEO+1
OR0 DETAIL+1~, DETAIL+3*, DETAIL+4, D3+4, D3+5, D3+6, D3+8, D4+2, VA+1
OR3 DETAIL+1~, DETAIL+3*, DETAIL+6, D1+6, D1+9, D1+11, D1+14, D2+4, D2+5, D3+7
D3+9, D3+10, D3+11
OR6 DETAIL+1~, DETAIL+3*, D2+4, D2+5, D3+9
ORCODE GMRCXTRA+1~, GMRCXTRA+6*, GMRCXTRA+7
ORCODSYS GMRCXTRA+1~, GMRCXTRA+7*, GMRCXTRA+8
ORCRACT DETAIL+1~, DETAIL+3*, DETAIL+6*, DETAIL+7
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*, WP+1~, WP+3*
ORIFN DETAIL~, DETAIL+3*, DETAIL+6, DETAIL+7, D1D1+4, D2+3, D3+7, D3+12, D4+1
D4+3, D4+18, D5GMRCXTRA+2, GMRCXTRA+9, GMRCXTRA+11, GMRCXTRA+12
ORIGVIEW DETAIL+1~, DETAIL+7*, D1+14~*
ORISCODE GMRCXTRA+1~, GMRCXTRA+3*, GMRCXTRA+4, GMRCXTRA+5, GMRCXTRA+6
ORNMSP DETAIL+1~, DETAIL+4*, D4+1, D4+4, D4+18, D4+20, SUB+5, SUB+7
ORXT XTRA+1~*, XTRA+2
ORY DETAIL~, DETAIL+7, DETAIL+8, DETAIL+10, D1+1, D1+5, D1+7, D1+10, D1+12, D1+15
D1+16, D2D2+5, D2+6, D3D3+2, D3+3, D3+4, D3+5, D3+6
D3+7, D3+8, D3+9, D3+10, D3+11, D3+12, D3+13, D4D4+17, D4+18
D4+19, D5+1, D5+7, D5+9, D5+12, D5+13, D5+15, XTRA+3, XTRA+5, XTRA+6
, SUB+6, SUB+7, WP+2, WP+3, VA+1~
ORY("VIDEO" SETVIDEO+1*, SETVIDEO+2*
ORYT DETAIL+1~, DETAIL+7!, DETAIL+8
ORYT( DETAIL+9
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+4, DETAIL+6, D1+6, D1+9, D1+11, D1+14, D2+4, D2+5, D3+4, D3+5
D3+6, D3+7, D3+8, D3+9, D3+10, D3+11, D4+2, D4+7, D4+8, D5+4
D5+6, D5+12, D5+13, D5+14, SUB+2, SUB+3, CHILDREN+3, CHILDREN+4, ORIG+2, ORIG+4
, ORIG+5, GMRCXTRA+3, GMRCXTRA+8, GMRCXTRA+13, GMRCXTRA+15, GMRCXTRA+16
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+5*, D5+7, D5+14*, XTRA+2*, XTRA+3, XTRA+6*
WP+1~, WP+3*, CHILDREN+1~, CHILDREN+7*, CHILDREN+8*, CDL~, CDL+1
X0 D5+1~, D5+4*, D5+6
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
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All