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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORWDXA

Package: Order Entry Results Reporting

Routine: ORWDXA


Information

ORWDXA ; SLC/KCM/JLI - Utilites for Order Actions ;07/13/17 06:53

Source Information

Source file <ORWDXA.m>

Call Graph

Call Graph

Call Graph Total: 28

Package Total Call Graph
Order Entry Results Reporting 20 EN^OCXOERR  $$VALID^ORCACT0  XFR^ORCACT01  REPLCD^ORCACT1  ($$PRINT,SET)^ORCACT2  $$NMSP^ORCD  MSG^ORCFLAG  $$ACTION^ORCSAVE  
(CANCEL,COMP,DELETE,STATUS)^ORCSAVE2  EN^ORCSEND  COMP^ORMBLDOR  TEXT^ORQ12  $$ORDERER^ORQOR2  AUTH^ORWDPS32  ISVALIV^ORWDPS33  FORMID^ORWDXM  
(GTORITM,ISNOW)^ORWDXR  VALSCH^ORWNSS  GETBYIFN^ORWORR  UNLK1^ORX2  
Enterprise Health Management Platform 2 POST^HMPEVNT  ($$SRVRNO,ADDFLAG,DELORDR,UPDTORDR)^HMPOR  
MailMan 2 KILL^XM  (,EN)^XMB  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
Scheduling 1 SDAUTHCL^SDAMA203  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 WP^DIE  

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

Package Total Caller Graph
Order Entry Results Reporting 19 ORAREN  ORCSLT  ORWDXA ALERT  ORWDXA COMPLETE  ORWDXA DC  ORWDXA DCREASON  ORWDXA DCREQIEN  ORWDXA FLAG  
ORWDXA FLAGTXT  ORWDXA HOLD  ORWDXA ISACTOI  ORWDXA OFCPLX  ORWDXA UNFLAG  ORWDXA UNHOLD  ORWDXA VALID  ORWDXA VERIFY  
ORWDXA WCGET  ORWDXA WCPUT  ORWDXM3  
Enterprise Health Management Platform 1 HMPWBSO  
Radiology Nuclear Medicine 1 RAORDR1  

Entry Points

Name Comments DBIA/ICR reference
ISACTOI(ORY,OI) ; Is ord item active?
DC(REC,ORID,ORNP,ORL,REASON,DCORIG,ISNEWORD) ; Discontinue/Cancel/Delete order
VALID(VAL,ORID,ACTION,ORNP,ORWNAT) ; Is action valid for order?
UNHOLD(REC,ORID,ORNP) ; Release order from hold
OFCPLX(ORY,ORID,PRTORDER) ; is ORID child of PRTORDER
WCGET(LST,ORID) ; ward comments
UNFLAG(REC,ORIFN,OREASON) ; Unflag order
VERIFY(REC,ORID,ESCODE,ORVER) ; Verify order
; validate ESCode
FLAG(REC,ORIFN,OREASON,ORNP) ; Flag order
WCPUT(ERR,ORID,WCLST) ; Set ward comments
HOLD(REC,ORID,ORNP) ; Place order on hold
FLAGTXT(LST,ORID) ; flag reason
COMPLETE(REC,ORID,ESCODE) ; Complete order (generic)
DCREQIEN(VAL) ; Return IEN for Req Phys Cancelled reason
HMPFLAG(ORIFN,HMDFN,WHEN,USR,FLGACTN,RSN,ORACLVL) ;
; ORACLVL = ^OR(100,ORIFN,8,level)
ALERT(DUMMY,ORID,ORDUZ) ; alert user (ORDUZ) when order (ORID) resulted
BULLETIN ; flagged order bulletin
UPCTCHK(ORID) ;

External References

Name Field # of Occurrence
WP^DIE WCPUT+2
POST^HMPEVNT DC+40, DC+53
$$SRVRNO^HMPOR DC+43
ADDFLAG^HMPOR HMPFLAG+8
DELORDR^HMPOR DC+43
UPDTORDR^HMPOR DC+50
EN^OCXOERR FLAG+10, UNFLAG+7
$$VALID^ORCACT0 VALID+43
XFR^ORCACT01 VALID+4
REPLCD^ORCACT1 VERIFY+6
$$PRINT^ORCACT2 DC+11
SET^ORCACT2 DC+30, DC+31, DC+64
$$NMSP^ORCD DC+69, OFCPLX+8
MSG^ORCFLAG FLAG+7, UNFLAG+4
$$ACTION^ORCSAVE HOLD+2, UNHOLD+2, DC+63
CANCEL^ORCSAVE2 DC+55
COMP^ORCSAVE2 COMPLETE+5
DELETE^ORCSAVE2 DC+44
STATUS^ORCSAVE2 DC+32
EN^ORCSEND VERIFY+7
COMP^ORMBLDOR COMPLETE+6, HMPFLAG+9
TEXT^ORQ12 BULLETIN+15
$$ORDERER^ORQOR2 ALERT+2
AUTH^ORWDPS32 VALID+13
ISVALIV^ORWDPS33 VALID+8
FORMID^ORWDXM VALID+32
GTORITM^ORWDXR VALID+27
ISNOW^ORWDXR OFCPLX+4
VALSCH^ORWNSS VALID+6
GETBYIFN^ORWORR HOLD+3, UNHOLD+3, DC+27, DC+61, DC+65, COMPLETE+7, VERIFY+8, FLAG+11, UNFLAG+8
UNLK1^ORX2 VERIFY+7
SDAUTHCL^SDAMA203 VALID+38
$$FMTE^XLFDT BULLETIN+14, BULLETIN+17, FLAGTXT+3
$$NOW^XLFDT DC+49, FLAG+3, FLAG+6, UNFLAG+2, UNFLAG+4, ISACTOI+1
KILL^XM FLAG+7
^XMB DC+77
EN^XMB BULLETIN+19
$$GET^XPAR BULLETIN+9

Used in RPC

RPC Name Call Tags
ORWDXA VALID VALID
ORWDXA HOLD HOLD
ORWDXA UNHOLD UNHOLD
ORWDXA DC DC
ORWDXA DCREASON DCREASON
ORWDXA ALERT ALERT
ORWDXA FLAG FLAG
ORWDXA UNFLAG UNFLAG
ORWDXA FLAGTXT FLAGTXT
ORWDXA COMPLETE COMPLETE
ORWDXA VERIFY VERIFY
ORWDXA WCGET WCGET
ORWDXA WCPUT WCPUT
ORWDXA DCREQIEN DCREQIEN
ORWDXA OFCPLX OFCPLX
ORWDXA ISACTOI ISACTOI

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
100.008 WP^DIE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] DC+76, BULLETIN+13
^HMP(800000 - [#800000] DC+43
^OR(100 - [#100] VALID+3, VALID+9, VALID+11, VALID+25, VALID+30, VALID+39, VALID+40, DC+13, DC+14, DC+15
, DC+16, DC+20, DC+23, DC+26, DC+32*, DC+35!, DC+37*, DC+39, DC+40, DC+43
, DC+48, DC+53, DC+57, DC+61, DC+68, DC+75, ALERT+4*, FLAG+5, FLAG+6!, FLAG+8*
, FLAG+9, BULLETIN+4, UNFLAG+3, UNFLAG+4*, UNFLAG+5*, UNFLAG+6, FLAGTXT+2, WCGET+2, OFCPLX+2, OFCPLX+7
, OFCPLX+10, OFCPLX+13, OFCPLX+15, OFCPLX+17, OFCPLX+18, UPCTCHK+4, UPCTCHK+5, UPCTCHK+6, UPCTCHK+7, UPCTCHK+8
, UPCTCHK+9
^ORD(100.01 - [#100.01] BULLETIN+18
^ORD(100.02 - [#100.02] DC+7
^ORD(100.03 - [#100.03] DC+7, DCREQIEN+1
^ORD(100.98 - [#100.98] VALID+26, VALID+36, VALID+40
^ORD(101.41 - [#101.41] VALID+12
^ORD(101.43 - [#101.43] ISACTOI+1, ISACTOI+2
^ORE(100.2 - [#100.2] DC+39*!
^SC - [#44] VALID+37
^VA(200 - [#200] DC+73, BULLETIN+7, FLAGTXT+3
^XUSEC("ORELSE" VALID+16, VALID+19, VERIFY+2
^XUSEC("OREMAS" VALID+16, VALID+19, VERIFY+2

Label References

Name Line Occurrences
$$UPCTCHK VALID+44, VALID+45
BULLETIN FLAG+4
HMPFLAG FLAG+12, UNFLAG+9
ISACTOI VALID+28

Naked Globals

Name Field # of Occurrence
^( WCGET+2, ISACTOI+1
^("NOW" OFCPLX+17
^(0 BULLETIN+13
^(3 FLAG+6*, BULLETIN+4, UNFLAG+4*, OFCPLX+10, OFCPLX+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A VALID+29~, VALID+30*, VALID+36*
A( VALID+36*, VALID+38
ACT WCGET+1~*, WCGET+2, WCPUT+1~*, WCPUT+2
ACTDA HOLD+1~, HOLD+2*, HOLD+3, UNHOLD+1~, UNHOLD+2*, UNHOLD+3, DC+1~, DC+63*, DC+65
ACTION VALID~, VALID+4*, VALID+6, VALID+8, VALID+10, VALID+16, VALID+17*, VALID+18, VALID+19, VALID+24
, VALID+35, VALID+43, VALID+44, VALID+45
B VALID+29~, VALID+38*
BULL BULLETIN+3~, BULLETIN+9*, BULLETIN+10
COMMID UPCTCHK+3~, UPCTCHK+4*, UPCTCHK+5, UPCTCHK+6
CREATE DC+1~, DC+11*, DC+66
CURRACT DC+2~, DC+5*, DC+14*, DC+16, DC+18
DA FLAG+2~, FLAG+5*, FLAG+6, FLAG+9, FLAG+12, UNFLAG+1~, UNFLAG+3*, UNFLAG+4, UNFLAG+6, UNFLAG+9
DCORIG DC~, DC+4*, DC+30, DC+31, DC+64
DG VALID+1~, VALID+39*, VALID+40
DIERR WCPUT+1~, WCPUT+3
DLG VALID+11~*, VALID+12, VALID+13, VALID+29~, VALID+30*, VALID+31*, VALID+32, VALID+33
DUMMY ALERT~, ALERT+4*
DUZ VALID+16, VALID+19, DC+73, VERIFY+2, ALERT+3, FLAG+6, FLAG+12, BULLETIN+12, UNFLAG+4, UNFLAG+9
ERR WCPUT~, WCPUT+3*
ERRLST WCPUT+1~
ESCODE COMPLETE~, VERIFY~
EVT DC+39~*
FLAG FLAGTXT+1~, FLAGTXT+2*, FLAGTXT+3, FLAGTXT+4
FLGACTN HMPFLAG~, HMPFLAG+5, HMPFLAG+8
FRM VALID+29~, VALID+30*, VALID+32, VALID+33
HDFN DC+43~*, DC+47~, DC+48*, DC+50
HMDFN HMPFLAG~, HMPFLAG+8
I VALID+29~, VALID+36*, WCGET+1~, WCGET+2*
ISIV VALID+22~, VALID+23*, VALID+25*, VALID+26
ISNEWORD DC~, DC+40, DC+44, DC+45
ISNOW OFCPLX+1~, OFCPLX+3*, OFCPLX+4, OFCPLX+5
IVOD VALID+22~, VALID+23*, VALID+26*, VALID+27
LST FLAGTXT~, WCGET~
LST( WCGET+2*
LST(1 FLAGTXT+3*
LST(2 FLAGTXT+4*
NATURE DC+1~, DC+6*, DC+7*, DC+8*, DC+11, DC+30, DC+64
NOWID OFCPLX+1~, OFCPLX+11*, OFCPLX+17*, OFCPLX+18
NOWVAL OFCPLX+1~, OFCPLX+11*, OFCPLX+18*, OFCPLX+19
NUMCHDS OFCPLX+1~, OFCPLX+11*, OFCPLX+15*, OFCPLX+16
OI ISACTOI~, ISACTOI+1, ISACTOI+2
OIIEN VALID+22~, VALID+23*, VALID+27, VALID+28
OR0 BULLETIN+3~, BULLETIN+4*, BULLETIN+6, BULLETIN+12, BULLETIN+13, BULLETIN+14, BULLETIN+17
OR3 BULLETIN+3~, BULLETIN+4*, BULLETIN+18
ORACLVL HMPFLAG~, HMPFLAG+8
ORACT VALID+1~, VALID+18*
ORB FLAG+2~, FLAG+10*, UNFLAG+1~, UNFLAG+7*
ORDA OFCPLX+1~, OFCPLX+11*, OFCPLX+13*, OFCPLX+14
ORDG VALID+29~, VALID+30*, VALID+38
ORDTXT BULLETIN+3~, BULLETIN+15
ORDTXT(1 BULLETIN+16
ORDTXT(2 BULLETIN+16
ORDTXT(3 BULLETIN+16
ORDUZ ALERT~, ALERT+2*, ALERT+3*, ALERT+4
OREASON FLAG~, FLAG+6, FLAG+12, BULLETIN+17, UNFLAG~, UNFLAG+4, UNFLAG+9
OREBUILD VALID+41~
ORENT BULLETIN+3~, BULLETIN+8*, BULLETIN+9
ORES VERIFY+4~
ORES( VERIFY+6*, VERIFY+7
ORI VERIFY+4~, VERIFY+7*
ORID VALID~, VALID+2, VALID+3, VALID+6, VALID+8, VALID+9, VALID+11, VALID+25, VALID+27, VALID+30
, VALID+39, VALID+40, VALID+43, VALID+44, VALID+45, HOLD~, HOLD+2, HOLD+3, UNHOLD~, UNHOLD+2
, UNHOLD+3, DC~, DC+3, DC+13, DC+14, DC+15, DC+16, DC+18*, DC+20, DC+23
, DC+26, DC+27, DC+30, DC+31, DC+32, DC+35, DC+39, DC+40, DC+43, DC+44
, DC+48, DC+50, DC+53, DC+55, DC+56*, DC+57, DC+61, DC+63, DC+64, DC+65
, DC+68, DC+74, DC+75, COMPLETE~, COMPLETE+5, COMPLETE+6, COMPLETE+7, VERIFY~, VERIFY+6, VERIFY+7
, VERIFY+8, ALERT~, ALERT+2, ALERT+4, FLAGTXT~, FLAGTXT+2, WCGET~, WCGET+1, WCPUT~, WCPUT+1
, OFCPLX~, OFCPLX+2, OFCPLX+4, OFCPLX+7, OFCPLX+10, UPCTCHK~, UPCTCHK+4, UPCTCHK+5, UPCTCHK+6, UPCTCHK+7
, UPCTCHK+8, UPCTCHK+9
ORIFN VALID+1~, VALID+9*, VERIFY+4~, VERIFY+6*, FLAG~, FLAG+5, FLAG+6, FLAG+7, FLAG+8, FLAG+9
, FLAG+10, FLAG+11, FLAG+12, BULLETIN+4, BULLETIN+15, UNFLAG~, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+6
, UNFLAG+7, UNFLAG+8, UNFLAG+9, WCGET+1~*, WCGET+2, WCPUT+1~*, WCPUT+2, HMPFLAG~, HMPFLAG+8, HMPFLAG+9
ORL DC~, DC+6*
ORL(2 DC+6*
ORNOW FLAG+2~, FLAG+3*, FLAG+8, FLAG+12, UNFLAG+1~, UNFLAG+2*, UNFLAG+5, UNFLAG+9
ORNP VALID~, VALID+13, HOLD~, HOLD+2, UNHOLD~, UNHOLD+2, DC~, DC+63, FLAG~, FLAG+6
, FLAG+9*, FLAG+10, UNFLAG+1~, UNFLAG+6*, UNFLAG+7
ORNSS VALID+5~*, VALID+6, VALID+7
ORPS FLAG+2~, UNFLAG+1~
ORSRV BULLETIN+3~, BULLETIN+7*, BULLETIN+8
ORUSR BULLETIN+3~, BULLETIN+6*, BULLETIN+7, BULLETIN+8
ORVER VALID+1~, VALID+16*, VERIFY~, VERIFY+2*, VERIFY+3
ORVP VALID+1~, VALID+9*, FLAG+2~, FLAG+5*, FLAG+10, FLAG+12, UNFLAG+1~, UNFLAG+3*, UNFLAG+7, UNFLAG+9
ORWNAT VALID~, VALID+43
ORY OFCPLX~, OFCPLX+16*, OFCPLX+20*, ISACTOI~, ISACTOI+2*
>> PATLOC VALID+37, VALID+38
PIID UPCTCHK+3~, UPCTCHK+7*, UPCTCHK+8, UPCTCHK+9
PKG DC+67~, DC+68*, DC+69*, DC+70, OFCPLX+6~, OFCPLX+7*, OFCPLX+8*, OFCPLX+9
PRINT DC+1~, DC+11*
PRTID VALID+1~*
PRTORDER OFCPLX~, OFCPLX+12*, OFCPLX+13, OFCPLX+14*, OFCPLX+15, OFCPLX+16, OFCPLX+17, OFCPLX+18, OFCPLX+20
REASON DC~, DC+7, DC+30, DC+31, DC+64, DC+70
REC HOLD~, HOLD+3, UNHOLD~, UNHOLD+3, DC~, DC+27, DC+60!, DC+61, DC+65, COMPLETE~
, COMPLETE+7, VERIFY~, VERIFY+8, FLAG~, FLAG+11, UNFLAG~, UNFLAG+8
REC(1 DC+58*, DC+62*, DC+66*
REC(2 DC+58*, DC+73
RET UPCTCHK+3~*, UPCTCHK+5, UPCTCHK+6*, UPCTCHK+8, UPCTCHK+9*, UPCTCHK+10
RPLORD DC+25~, DC+26*, DC+37, DC+56
RSLT DC+47~, DC+50, HMPFLAG+3~, HMPFLAG+8, HMPFLAG+9
RSN HMPFLAG~, HMPFLAG+7
SIGSTS DC+1~, DC+17*, DC+21*, DC+22*, DC+56
STATUS DC+1~, DC+23*, DC+24, DC+28
TYPE VALID+29~, VALID+37*, VALID+38
U VALID+9, VALID+11, VALID+14, VALID+25, VALID+26, VALID+30, VALID+39, VALID+40, DC+7, DC+14
, DC+17, DC+21, DC+23, DC+26, DC+28, DC+32, DC+35, DC+37, DC+39, DC+40
, DC+43, DC+48, DC+53, DC+58, DC+61, DC+62, DC+66, DC+68, DC+73, DC+75
, DC+76, VERIFY+2, VERIFY+3, ALERT+4, FLAG+5, FLAG+6, FLAG+8, FLAG+9, FLAG+10, BULLETIN+6
, BULLETIN+7, BULLETIN+12, BULLETIN+13, BULLETIN+14, BULLETIN+17, BULLETIN+18, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+6
, UNFLAG+7, FLAGTXT+3, FLAGTXT+4, OFCPLX+7, OFCPLX+10, OFCPLX+12, OFCPLX+13, OFCPLX+15, OFCPLX+16, OFCPLX+20
, ISACTOI+2
USR HMPFLAG~, HMPFLAG+6
VAL VALID~, VALID+1*, VALID+2*, VALID+3*, VALID+7*, VALID+8, VALID+10, VALID+13, VALID+14*, VALID+15*
, VALID+20*, VALID+21, VALID+24, VALID+28, VALID+34*, VALID+38*, VALID+40*, VALID+43*, VALID+44*, VALID+45*
, DCREQIEN~, DCREQIEN+1*, HMPFLAG+3~, HMPFLAG+8
VAL( HMPFLAG+4*, HMPFLAG+5*, HMPFLAG+6*, HMPFLAG+7*
VALS DC+47~, DC+50
VALS( DC+49*
WCLST WCPUT~
WHEN HMPFLAG~, HMPFLAG+4
WPCNT UPCTCHK+3~, UPCTCHK+5*, UPCTCHK+6, UPCTCHK+8*, UPCTCHK+9
X3 DC+2~, DC+13*, DC+14, OFCPLX+1~, OFCPLX+11*, OFCPLX+13*
X8 DC+2~, DC+16*, DC+17, DC+20*, DC+21, DC+28, DC+35, DC+37
XMB DC+71~, DC+72*, BULLETIN+3~, BULLETIN+12*
XMB(1 DC+73*, BULLETIN+13*
XMB(10 BULLETIN+17*
XMB(11 BULLETIN+18*
XMB(2 DC+74*, BULLETIN+13*
XMB(3 DC+75*, DC+76*, BULLETIN+13*
XMB(4 DC+73*, BULLETIN+14*
XMB(5 BULLETIN+16*
XMB(6 BULLETIN+16*
XMB(7 BULLETIN+16*
XMB(8 BULLETIN+17*
XMB(9 BULLETIN+17*
XMDUZ BULLETIN+3~, BULLETIN+12*
XMY BULLETIN+3~
XMY( BULLETIN+12*
>> XMZ FLAG+6

Marked Items

Name Field # of Occurrence
$T(XFR^ORCACT01 VALID+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All