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: ORWPS

Package: Order Entry Results Reporting

Routine: ORWPS


Information

ORWPS ;SLC/KCM,JLI,REV,CLA - MEDS TAB;12/04/2014 13:06 ;08/31/15 10:47

Source Information

Source file <ORWPS.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Order Entry Results Reporting 3 MEDS^ORCXPND1  WPVAL^ORWDXR  $$OI^ORX8  
Barcode Medication Administration 2 HISTORY^PSBMLHS  RPC^PSBO  
Kernel 2 $$FMTE^XLFDT  $$PATCH^XPDUTL  
Outpatient Pharmacy 1 OCL^PSOORRL  
Registration 1 INP^VADPT  
Toolkit 1 ($$GET,DEL,GETLST,PUT)^XPAR  
VA FileMan 1 ^%DT  

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: 14

Package Total Caller Graph
Order Entry Results Reporting 7 ORDV06B  ORDV06C  ORWPS ACTIVE  ORWPS COVER  ORWPS DETAIL  ORWPS MEDHIST  ORWPS REASON  
Health Summary 3 GMTSPST1  GMTSPST2  GMTSPSTN  
Outpatient Pharmacy 2 PSOQMCAL  PSOQUAP2  
Shift Handoff Tool 2 CRHD2  CRHDAM  

Entry Points

Name Comments DBIA/ICR reference
COVER(LST,DFN,FILTER) ; retrieve meds for cover sheet
DT(X) ; -- Returns FM date for X
ACTIVE(LST,DFN,USER,VIEW,UPDATE) ; retrieve active inpatient & outpatient meds
NXT() ; increment ILST
UDINST(Y,INDEX) ; assembles instructions for a unit dose order
OPINST(Y,INDEX) ; assembles instructions for an outpatient prescription
IVINST(Y,INDEX) ; assembles instructions for an IV order
NVINST(Y,INDEX) ; assembles instructions for a non-VA med
NVREASON(ORR,NVSDT,INDEX) ; assembles start date and reasons for a non-VA med
SETMULT(Y,INDEX,SUB) ; appends the multiple at the subscript to Y
COMPRESS(Y) ; concatenate Y subscripts into smallest possible number
DETAIL(ROOT,DFN,ID) ; -- show details for a med order
MEDHIST(ORROOT,DFN,ORIFN) ; -- show admin history for a med (RV)
REASON(ORY) ; -- Return Non-VA Med Statement/Reasons

External References

Name Field # of Occurrence
^%DT DT+1
MEDS^ORCXPND1 DETAIL+4
WPVAL^ORWDXR NVREASON+7
$$OI^ORX8 MEDHIST+3
HISTORY^PSBMLHS MEDHIST+14, MEDHIST+16, MEDHIST+23, MEDHIST+25
RPC^PSBO MEDHIST+21
OCL^PSOORRL COVER+3, ACTIVE+23
INP^VADPT COVER+5
$$FMTE^XLFDT ACTIVE+20
$$GET^XPAR ACTIVE+8, ACTIVE+10, ACTIVE+14
DEL^XPAR ACTIVE+9
GETLST^XPAR REASON+2
PUT^XPAR ACTIVE+15, ACTIVE+16
$$PATCH^XPDUTL MEDHIST+9

Used in RPC

RPC Name Call Tags
ORWPS ACTIVE ACTIVE
ORWPS DETAIL DETAIL
ORWPS COVER COVER
ORWPS MEDHIST MEDHIST
ORWPS REASON REASON

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] ACTIVE+30, NVREASON+5, NVREASON+6, MEDHIST+5, MEDHIST+18
^ORD(100.98 - [#100.98] MEDHIST+6, MEDHIST+7, MEDHIST+8
^SC - [#44] ACTIVE+36
^TMP("ORACT" ACTIVE+2!, ACTIVE+27!, ACTIVE+54!
^TMP("ORHIST" MEDHIST+4
^TMP("ORXPND" DETAIL+1!, DETAIL+5
^TMP("PS" COVER+2!, COVER+6, COVER+7, COVER+8, COVER+10, COVER+12!, ACTIVE+1!, ACTIVE+25, ACTIVE+29, ACTIVE+31*
, ACTIVE+33, ACTIVE+35, ACTIVE+38, ACTIVE+39, ACTIVE+53!, UDINST+2, OPINST+2, IVINST+10, IVINST+13, IVINST+14
, NVINST+2, NVREASON+3, SETMULT+3

Label References

Name Line Occurrences
$$DT ACTIVE+11
$$NXT COVER+10, COVER+11, ACTIVE+48, ACTIVE+49, ACTIVE+50, ACTIVE+51, ACTIVE+52
IVINST ACTIVE+42
NVINST ACTIVE+43
NVREASON ACTIVE+43
OPINST ACTIVE+41
SETMULT ACTIVE+44, UDINST+7, UDINST+9, OPINST+7, OPINST+9, OPINST+10, OPINST+11, IVINST+4, IVINST+5, IVINST+9
, NVINST+5, NVINST+7, NVINST+8, NVINST+9
UDINST ACTIVE+40

Naked Globals

Name Field # of Occurrence
^( SETMULT+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DT+1~*
BEG ACTIVE+3~, ACTIVE+4*, ACTIVE+11*, ACTIVE+20, ACTIVE+23
CKPKG MEDHIST+1~, MEDHIST+9*, MEDHIST+19, MEDHIST+20
CLIVDISP MEDHIST+2~, MEDHIST+8*, MEDHIST+18
CNT IVINST+1~, IVINST+8*
COMMENTS ACTIVE+24~, ACTIVE+26!, ACTIVE+28*, ACTIVE+29*, ACTIVE+44, ACTIVE+45*
COMMENTS( ACTIVE+51
COMMENTS(1 ACTIVE+46*
CTX ACTIVE+3~, ACTIVE+4*, ACTIVE+8*, ACTIVE+9, ACTIVE+10*, ACTIVE+11
DATE ACTIVE+3~, ACTIVE+19*, ACTIVE+20*, ACTIVE+22
DFN COVER~, COVER+3, ACTIVE~, ACTIVE+23, DETAIL~, DETAIL+3, MEDHIST~, MEDHIST+16, MEDHIST+21, MEDHIST+25
DURU IVINST+16~*, IVINST+21*, IVINST+22, IVINST+23, IVINST+24, IVINST+25
DURV IVINST+16~*, IVINST+18*, IVINST+19, IVINST+21*, IVINST+22, IVINST+23, IVINST+24, IVINST+25
DUZ ACTIVE+9, ACTIVE+12, ACTIVE+15, ACTIVE+16
END ACTIVE+3~, ACTIVE+4*, ACTIVE+11*, ACTIVE+20, ACTIVE+23
ERROR ACTIVE+3~, ACTIVE+15, ACTIVE+16
FIELDS ACTIVE+24~, ACTIVE+29*, ACTIVE+30, ACTIVE+32, ACTIVE+37, ACTIVE+47*, ACTIVE+48, ACTIVE+49, IVINST+6
FILTER COVER~, COVER+1*, COVER+5, COVER+7
HPIV MEDHIST+1~, MEDHIST+3*, MEDHIST+7*, MEDHIST+18
I UDINST+1~, UDINST+10*, OPINST+1~, OPINST+13*, IVINST+1~, IVINST+11*, NVINST+1~, NVINST+11*, SETMULT+1~, SETMULT+3*
, COMPRESS+1~, COMPRESS+2*, COMPRESS+3, COMPRESS+4
ID DETAIL~
ILST COVER+4~*, ACTIVE+24~*, NXT+1*, NXT+2
INDEX UDINST~, UDINST+2, UDINST+7, UDINST+9, OPINST~, OPINST+2, OPINST+7, OPINST+9, OPINST+10, OPINST+11
, IVINST~, IVINST+4, IVINST+5, IVINST+9, IVINST+10, IVINST+13, IVINST+14, NVINST~, NVINST+2, NVINST+5
, NVINST+7, NVINST+8, NVINST+9, NVREASON~, NVREASON+3, SETMULT~, SETMULT+3
INSTRUCT ACTIVE+24~, ACTIVE+26!, ACTIVE+29*, ACTIVE+40, ACTIVE+41, ACTIVE+42, ACTIVE+43
INSTRUCT( ACTIVE+50
ISIV MEDHIST+1~, MEDHIST+3*, MEDHIST+6*, MEDHIST+18
ITMP COVER+4~, COVER+6*, COVER+7, COVER+8, COVER+10, ACTIVE+24~, ACTIVE+25*, ACTIVE+29, ACTIVE+31, ACTIVE+33
, ACTIVE+35, ACTIVE+38, ACTIVE+39, ACTIVE+40, ACTIVE+41, ACTIVE+42, ACTIVE+43, ACTIVE+44
IVDUR IVINST+1~, IVINST+2*, IVINST+14*, IVINST+15, IVINST+17, IVINST+18, IVINST+19*, IVINST+20, IVINST+21, IVINST+22*
, IVINST+23*, IVINST+24*, IVINST+25*, IVINST+26
J ACTIVE+24~, ACTIVE+50*, ACTIVE+51*, ACTIVE+52*, NVREASON+1~, NVREASON+8*, SETMULT+1~, SETMULT+2*, SETMULT+5*, SETMULT+6
, COMPRESS+1~*, COMPRESS+3*, COMPRESS+4
LCNT DETAIL+2~, DETAIL+3*
LOC ACTIVE+34~*, ACTIVE+35*, ACTIVE+36, ACTIVE+48
LOCEX ACTIVE+34~*, ACTIVE+36*, ACTIVE+48
LST COVER~, ACTIVE~
LST( COVER+10*, COVER+11*, ACTIVE+48*, ACTIVE+49*, ACTIVE+50*, ACTIVE+51*, ACTIVE+52*
LST(0 ACTIVE+18*, ACTIVE+22*
NVSDT ACTIVE+24~, ACTIVE+43, ACTIVE+47, NVREASON~, NVREASON+6*
ORA NVREASON+1~, NVREASON+7
ORA( NVREASON+8
ORE REASON+1~
ORI NVREASON+1~, NVREASON+2*, NVREASON+8*
ORIFN MEDHIST~, MEDHIST+3, MEDHIST+5, MEDHIST+18
ORN NVREASON+1~, NVREASON+4*, NVREASON+5, NVREASON+6, NVREASON+7
ORPHMID MEDHIST+1~, MEDHIST+5*, MEDHIST+13, MEDHIST+21
ORPSID MEDHIST+1~, MEDHIST+3*, MEDHIST+16, MEDHIST+25
ORR NVREASON~, NVREASON+2!
ORR( NVREASON+8*
ORROOT MEDHIST~, MEDHIST+4*, MEDHIST+15, MEDHIST+16, MEDHIST+19, MEDHIST+21, MEDHIST+22, MEDHIST+24, MEDHIST+25
ORVP DETAIL+2~, DETAIL+3*
ORY REASON~, REASON+2
REASON ACTIVE+24~, ACTIVE+26!, ACTIVE+43
REASON( ACTIVE+52
ROOT DETAIL~, DETAIL+5*
RST UDINST+1~, UDINST+3*, UDINST+4, UDINST+6, UDINST+7, UDINST+8, UDINST+9, UDINST+10, UDINST+11, OPINST+1~
, OPINST+3*, OPINST+4, OPINST+5, OPINST+6, OPINST+7, OPINST+8, OPINST+9, OPINST+10, OPINST+11, OPINST+12
, OPINST+13, OPINST+14, IVINST+1~, IVINST+3*, IVINST+4, IVINST+5, IVINST+6, IVINST+7, IVINST+8, IVINST+9
, IVINST+10, IVINST+11, IVINST+12, IVINST+13, IVINST+20, IVINST+26, IVINST+27, NVINST+1~, NVINST+3*, NVINST+4
, NVINST+5, NVINST+6, NVINST+7, NVINST+8, NVINST+9, NVINST+10, NVINST+11, NVINST+12
SOLN1 IVINST+1~, IVINST+4*, IVINST+6, IVINST+7*
STVIEW ACTIVE+3~, ACTIVE+14*, ACTIVE+15*, ACTIVE+16*, ACTIVE+17, ACTIVE+18
SUB SETMULT~, SETMULT+3, SETMULT+4
TYPE ACTIVE+24~, ACTIVE+32*, ACTIVE+33*, ACTIVE+35, ACTIVE+37*, ACTIVE+38*, ACTIVE+39*, ACTIVE+40, ACTIVE+41, ACTIVE+42
, ACTIVE+43, ACTIVE+44, ACTIVE+47, ACTIVE+49
U COVER+7, COVER+9, COVER+10, COVER+11, ACTIVE+18, ACTIVE+32, ACTIVE+36, ACTIVE+47, ACTIVE+48, ACTIVE+49
, UDINST+4, UDINST+5, OPINST+4, OPINST+5, OPINST+6, IVINST+6, IVINST+11, IVINST+13, NVINST+4, NVREASON+4
, NVREASON+6, SETMULT+4, MEDHIST+3, MEDHIST+18
UPDATE ACTIVE~, ACTIVE+6*, ACTIVE+7, ACTIVE+13
USER ACTIVE~, ACTIVE+12*, ACTIVE+14
VAERR COVER+4~
VAIN COVER+4~
VAIN(1 COVER+7
VIEW ACTIVE~, ACTIVE+5*, ACTIVE+7*, ACTIVE+15, ACTIVE+16*, ACTIVE+17*, ACTIVE+23
X COVER+4~, COVER+8*, COVER+9*, COVER+10, COVER+11, DT~, DT+1, UDINST+1~, UDINST+2*, UDINST+4
, UDINST+5*, UDINST+6, OPINST+1~, OPINST+2*, OPINST+4, OPINST+5, OPINST+6, NVINST+1~, NVINST+2*, NVINST+4
, NVREASON+1~, NVREASON+3*, NVREASON+4, SETMULT+1~, SETMULT+3*, SETMULT+4*, SETMULT+5, COMPRESS+1~, COMPRESS+5
X( COMPRESS+1*, COMPRESS+3*, COMPRESS+4*
Y DT+1~*, DT+2, UDINST~, UDINST+11*, OPINST~, OPINST+14*, IVINST~, IVINST+27*, NVINST~, NVINST+12*
, SETMULT~, SETMULT+2, SETMULT+5, SETMULT+6, COMPRESS~, COMPRESS+5!*
Y( COMPRESS+2, COMPRESS+3, COMPRESS+4

Marked Items

Name Field # of Occurrence
$T(HISTORY^PSBMLHS MEDHIST+14, MEDHIST+23
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