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 ;11/09/2006

Source Information

Source file <ORWDX2.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 2 $$EXT^ORCD  FORMID^ORWDX  
Kernel 1 $$PATCH^XPDUTL  
MailMan 1 ^XMD  
Pharmacy Data Management 1 ($$DOSE,DOSE)^PSSORUTE  
Toolkit 1 ($$GET,GETLST)^XPAR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Order Entry Results Reporting 5 ORCDPS1  ORQOREP  ORWDX  ORWDX2 DCREASON  ORWDXM1  

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)
CHKDOSES() ; Returns true if doses may need to be modified
XROOT ; Part of LOADRSP^ORWDX - moved here because of routine size
SM(ERROR) ; Send message to Radiology users
EXTVAL(IVAL,DLG) ; External value given a dlg ptr

External References

Name Field # of Occurrence
$$EXT^ORCD EXTVAL+5
FORMID^ORWDX XROOT+15
$$DOSE^PSSORUTE FIXDOSES+6, FIXDOSES+12
DOSE^PSSORUTE CHKDOSES+1
^XMD SM+11
$$GET^XPAR SM+2
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
^DPT - [#2] SM+6
^OR(100 - [#100] DRAFT+4, SM+5
^ORD(100.02 - [#100.02] DCREASON+6
^ORD(100.03 - [#100.03] DCREASON+3, DCREASON+11
^ORD(101.41 - [#101.41] EXTVAL+2, XROOT+5, XROOT+8
^ORD(101.43 - [#101.43] SM+8
^TMP("ORWDXMQ" XROOT+19!

Label References

Name Line Occurrences
$$CHKDOSES XROOT+2
$$DRAFT XROOT+15
$$EXTVAL XROOT+12
$$NXT XROOT+10, XROOT+12, XROOT+17
DOSEINFO XROOT+13
FIXDOSES XROOT+18

Naked Globals

Name Field # of Occurrence
^( DCREASON+3
^(0 XROOT+4
^(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+2*, XROOT+13, XROOT+18
CNT DCREASON+1~, DCREASON+10*, DCREASON+11
CODE FIXDOSES+1~, FIXDOSES+9*, FIXDOSES+10
DFN SM+1~, SM+5*, SM+6
DLG EXTVAL~, EXTVAL+2, EXTVAL+3, EXTVAL+4, EXTVAL+5, XROOT+4*, XROOT+5, XROOT+6, XROOT+8, XROOT+10
, XROOT+12
DOSE XROOT+1~
DOSE( DOSEINFO+2*, FIXDOSES+4, FIXDOSES+11, FIXDOSES+15
ERROR DCREASON+1~, DCREASON+8, SM~, SM+4, SM+10
ES DRAFT+1~, DRAFT+4*, DRAFT+7
>> I XROOT+2*, XROOT+3*, XROOT+4, XROOT+7, XROOT+14, XROOT+16, XROOT+17
ID XROOT+5*, XROOT+6*, XROOT+8*, XROOT+10, XROOT+15, 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+2*, DOSEINFO+1, DOSEINFO+2, DCREASON+1~, DCREASON+2*, DCREASON+12*, DCREASON+16*
>> INST XROOT+4*, XROOT+10, 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+16*, XROOT+17
LST DCREASON~
LST( XROOT+10*, XROOT+12*, XROOT+17*, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10*, FIXDOSES+11, FIXDOSES+15*, DCREASON+2*, DCREASON+12*
, DCREASON+16*
MG SM+1~, SM+2*, SM+3
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
OI SM+1~, SM+5*, SM+8
OIP SM+1~, SM+5*
OLDDOSE FIXDOSES+1~, FIXDOSES+5*, FIXDOSES+6, FIXDOSES+7, FIXDOSES+11*, FIXDOSES+12, FIXDOSES+13
OR0 SM+1~, SM+5*
ORDIALOG EXTVAL+1~
ORDIALOG( EXTVAL+2*, EXTVAL+3*, EXTVAL+4
ORERR SM+1~
ORERR(1 SM+6*
ORERR(2 SM+7*
ORERR(3 SM+8*
ORERR(4 SM+9*
ORERR(5 SM+10*
ORIFN SM+1~, SM+4*, SM+5, SM+7
>> ROOT XROOT+3, XROOT+4, XROOT+7, XROOT+14, XROOT+16, XROOT+17, XROOT+19
>> RSPID XROOT+15
SEQARR DCREASON+1~, DCREASON+8, DCREASON+10
SEQARR( DCREASON+11
STS DRAFT+1~, DRAFT+4*, DRAFT+5, DRAFT+6, DRAFT+7
>> TRANS XROOT+15
U EXTVAL+2, XROOT+4, XROOT+5, XROOT+8, XROOT+10, DRAFT+4, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7
, DCREASON+11, DCREASON+12
>> VAL XROOT+7*, XROOT+11, XROOT+12, DOSEINFO+2
X XROOT+15, DCREASON+1~, DCREASON+3*, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7
XMDUZ SM+1~, SM+2*
XMSUB SM+1~, SM+3*
XMTEXT SM+1~, SM+4*
XMY SM+1!
XMY("G." SM+3*

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