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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORWDX2

Package: Order Entry Results Reporting

Routine: ORWDX2


Information

ORWDX2 ; SLC/JM/AGP - Order dialog utilities ;20-Jun-2014 09:43;DU

Source Information

Source file <ORWDX2.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 2 $$EXT^ORCD  FORMID^ORWDX  
IHS Standard Terminology 1 $$CONC^BSTSAPI  
Kernel 1 $$PATCH^XPDUTL  
Pharmacy Data Management 1 ($$DOSE,DOSE)^PSSORUTE  
Toolkit 1 GETLST^XPAR  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Order Entry Results Reporting 3 ORCDPS1  ORWDX  ORWDXM1  
IHS Changes To Pharmacy 1 APSPESG2  

Entry Points

Name Comments DBIA/ICR reference
DRAFT(ID) ; -- Return 1 or 0 if editing an unsigned/unreleased or pending order
FIXDOSES ; Update doses for those saved before PSS*1*78 was installed
NXT() ; -- Gets index in array
DOSEINFO ; Collect pointers to dose information
DCREASON(LST) ; Return a list of DC reasons
CHKDOSES() ; Returns true if doses may need to be modified
XROOT ; Part of LOADRSP^ORWDX - moved here because of routine size
EXTVAL(IVAL,DLG) ; External value given a dlg ptr

External References

Name Field # of Occurrence
$$CONC^BSTSAPI XROOT+27
$$EXT^ORCD EXTVAL+5
FORMID^ORWDX XROOT+21
$$DOSE^PSSORUTE FIXDOSES+6, FIXDOSES+12
DOSE^PSSORUTE CHKDOSES+1
GETLST^XPAR DCREASON+8
$$PATCH^XPDUTL CHKDOSES+1

Used in RPC

RPC Name Call Tags
ORWDX2 DCREASON DCREASON

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] DCREASON+5
^OR(100 - [#100] DRAFT+4
^ORD(100.02 - [#100.02] DCREASON+6
^ORD(100.03 - [#100.03] DCREASON+3, DCREASON+11
^ORD(101.41 - [#101.41] EXTVAL+2, XROOT+8, XROOT+12, XROOT+14, XROOT+19, XROOT+29, XROOT+30
^TMP("MGH" XROOT+26*
^TMP("ORWDXMQ" XROOT+37!

Label References

Name Line Occurrences
$$CHKDOSES XROOT+3
$$DRAFT XROOT+21
$$EXTVAL XROOT+17
$$NXT XROOT+15, XROOT+17, XROOT+23, XROOT+32, XROOT+33, XROOT+34
DOSEINFO XROOT+18
FIXDOSES XROOT+36

Naked Globals

Name Field # of Occurrence
^( DCREASON+3
^(0 XROOT+6
^(8 DRAFT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY DCREASON+1~, DCREASON+14
ARRAY( DCREASON+7*, DCREASON+13!, DCREASON+15, DCREASON+16
CHKDOSE XROOT+1~, XROOT+3*, XROOT+18, XROOT+36
CNT XROOT+4*, XROOT+11*, DCREASON+1~, DCREASON+10*, DCREASON+11
CODE FIXDOSES+1~, FIXDOSES+9*, FIXDOSES+10
DLG EXTVAL~, EXTVAL+2, EXTVAL+3, EXTVAL+4, EXTVAL+5, XROOT+6*, XROOT+7, XROOT+8, XROOT+9, XROOT+12
, XROOT+14, XROOT+15, XROOT+17, XROOT+19, XROOT+29*, XROOT+30, XROOT+32
DOSE XROOT+1~
DOSE( DOSEINFO+2*, FIXDOSES+4, FIXDOSES+11, FIXDOSES+15
ERROR DCREASON+1~, DCREASON+8
ES DRAFT+1~, DRAFT+4*, DRAFT+7
>> I XROOT+3*, XROOT+5*, XROOT+6, XROOT+10, XROOT+20, XROOT+22, XROOT+23
ID XROOT+8*, XROOT+9*, XROOT+12*, XROOT+13, XROOT+14, XROOT+15, XROOT+21, XROOT+30*, XROOT+32, DRAFT~
, DRAFT+2, DRAFT+3, DOSEINFO+1, DOSEINFO+2
IDX FIXDOSES+1~, FIXDOSES+8*, FIXDOSES+9, FIXDOSES+10, FIXDOSES+14*, FIXDOSES+15
IEN DRAFT+1~, DRAFT+3*, DRAFT+4, DCREASON+1~, DCREASON+3*, DCREASON+7, DCREASON+11*, DCREASON+12
IIDX FIXDOSES+1~, FIXDOSES+2*, FIXDOSES+3*, FIXDOSES+4, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10, FIXDOSES+11, FIXDOSES+15
ILST NXT+1*, NXT+2, XROOT+3*, DOSEINFO+1, DOSEINFO+2, DCREASON+1~, DCREASON+2*, DCREASON+12*, DCREASON+16*
>> INST XROOT+6*, XROOT+14, XROOT+15, XROOT+31*, XROOT+32, DOSEINFO+1, DOSEINFO+2
INSTR XROOT+1~
INSTR( DOSEINFO+1*, FIXDOSES+3, FIXDOSES+4, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10
IVAL EXTVAL~, EXTVAL+3, EXTVAL+4
>> J XROOT+22*, XROOT+23
LST DCREASON~
LST( XROOT+15*, XROOT+17*, XROOT+23*, XROOT+32*, XROOT+33*, XROOT+34*, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10*, FIXDOSES+11
, FIXDOSES+15*, DCREASON+2*, DCREASON+12*, DCREASON+16*
NAME DCREASON+1~, DCREASON+11*, DCREASON+12, DCREASON+13, DCREASON+15*, DCREASON+16
NEWDOSE FIXDOSES+1~, FIXDOSES+6*, FIXDOSES+7, FIXDOSES+10, FIXDOSES+12*, FIXDOSES+13, FIXDOSES+15
OLDDOSE FIXDOSES+1~, FIXDOSES+5*, FIXDOSES+6, FIXDOSES+7, FIXDOSES+11*, FIXDOSES+12, FIXDOSES+13
ORDIALOG EXTVAL+1~
ORDIALOG( EXTVAL+2*, EXTVAL+3*, EXTVAL+4
>> ROOT XROOT+5, XROOT+6, XROOT+10, XROOT+20, XROOT+22, XROOT+23, XROOT+37
>> RSPID XROOT+13, XROOT+21
SAVCLIN XROOT+1~, XROOT+2*, XROOT+14*, XROOT+28, XROOT+33
SAVSNO XROOT+1~, XROOT+2*, XROOT+19*, XROOT+25, XROOT+26, XROOT+27
SEQARR DCREASON+1~, DCREASON+8, DCREASON+10
SEQARR( DCREASON+11
STS DRAFT+1~, DRAFT+4*, DRAFT+5, DRAFT+6, DRAFT+7
>> TRANS XROOT+21
U EXTVAL+2, XROOT+6, XROOT+8, XROOT+12, XROOT+14, XROOT+15, XROOT+19, XROOT+27, XROOT+30, XROOT+32
, DRAFT+4, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7, DCREASON+11, DCREASON+12
>> VAL XROOT+10*, XROOT+13, XROOT+16, XROOT+17, XROOT+19, XROOT+27*, XROOT+34, DOSEINFO+2
X XROOT+21, DCREASON+1~, DCREASON+3*, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7

Marked Items

Name Field # of Occurrence
$T(DOSE^PSSORUTE CHKDOSES+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All