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 ;Feb 09, 2021@10:55:19

Source Information

Source file <ORWDXA.m>

Call Graph

Call Graph

Call Graph Total: 29

Package Total Call Graph
Order Entry Results Reporting 23 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  ORCAN^ORNORC  TEXT^ORQ12  $$ORDERER^ORQOR2  COMPLETE^ORUTL5  AUTH^ORWDPS32  
ISVALIV^ORWDPS33  (CHOREXP,FLAGRCPT,FLGCOM,FLGHST,SCHALRT)^ORWDXA1  FORMID^ORWDXM  (GTORITM,ISNOW)^ORWDXR  VALSCH^ORWNSS  GETBYIFN^ORWORR  UNLK1^ORX2  
MailMan 2 KILL^XM  (,EN)^XMB  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
Scheduling 1 SDAUTHCL^SDAMA203  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 (UPDATE,WP)^DIE  

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: 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
VALID(VAL,ORID,ACTION,ORNP,ORWNAT) ; Is action valid for order?
HOLD(REC,ORID,ORNP) ; Place order on hold
UNHOLD(REC,ORID,ORNP) ; Release order from hold
DC(REC,ORID,ORNP,ORL,REASON,DCORIG,ISNEWORD) ; Discontinue/Cancel/Delete order
DCREQIEN(VAL) ; Return IEN for Req Phys Cancelled reason
COMPLETE(REC,ORID,ESCODE) ; Complete order (generic)
VERIFY(REC,ORID,ESCODE,ORVER) ; Verify order
; validate ESCode
ALERT(DUMMY,ORID,ORDUZ) ; alert user (ORDUZ) when order (ORID) resulted
FLAG(REC,ORIFN,OREASON,ORNP,OREXP,ORLIST) ; Flag order ;p539
BULLETIN ; flagged order bulletin
UNFLAG(REC,ORIFN,OREASON) ; Unflag order ;p539
FLAGTXT(LST,ORID) ; flag reason
WCGET(LST,ORID) ; ward comments
WCPUT(ERR,ORID,WCLST) ; Set ward comments
OFCPLX(ORY,ORID,PRTORDER) ; is ORID child of PRTORDER
ISACTOI(ORY,OI) ; Is ord item active?
UPCTCHK(ORID) ;
SAVFLG(ORIFN,ORFH) ;File flag history ;p539

External References

Name Field # of Occurrence
UPDATE^DIE FLAG+14, FLAG+22, SAVFLG+6
WP^DIE WCPUT+2, SAVFLG+9
EN^OCXOERR FLAG+26, UNFLAG+8
$$VALID^ORCACT0 VALID+43
XFR^ORCACT01 VALID+4
REPLCD^ORCACT1 VERIFY+6
$$PRINT^ORCACT2 DC+12
SET^ORCACT2 DC+31, DC+32, DC+50
$$NMSP^ORCD DC+55, OFCPLX+8
MSG^ORCFLAG FLAG+23, UNFLAG+4
$$ACTION^ORCSAVE HOLD+2, UNHOLD+2, DC+49
CANCEL^ORCSAVE2 DC+41
COMP^ORCSAVE2 COMPLETE+5
DELETE^ORCSAVE2 DC+40
STATUS^ORCSAVE2 DC+33
EN^ORCSEND VERIFY+7
COMP^ORMBLDOR COMPLETE+6
ORCAN^ORNORC DC+4
TEXT^ORQ12 BULLETIN+15
$$ORDERER^ORQOR2 ALERT+2
COMPLETE^ORUTL5 COMPLETE+8
AUTH^ORWDPS32 VALID+13
ISVALIV^ORWDPS33 VALID+8
CHOREXP^ORWDXA1 UNFLAG+10
FLAGRCPT^ORWDXA1 FLAGTXT+7
FLGCOM^ORWDXA1 FLAGTXT+11
FLGHST^ORWDXA1 FLAG+8
SCHALRT^ORWDXA1 FLAG+15
FORMID^ORWDXM VALID+32
GTORITM^ORWDXR VALID+27
ISNOW^ORWDXR OFCPLX+4
VALSCH^ORWNSS VALID+6
GETBYIFN^ORWORR HOLD+3, UNHOLD+3, DC+28, DC+47, DC+51, COMPLETE+7, VERIFY+8, FLAG+27, UNFLAG+9
UNLK1^ORX2 VERIFY+7
SDAUTHCL^SDAMA203 VALID+38
$$FMTE^XLFDT BULLETIN+14, BULLETIN+17, FLAGTXT+3, FLAGTXT+6
$$NOW^XLFDT FLAG+5, FLAG+10, UNFLAG+2, UNFLAG+4, ISACTOI+1, SAVFLG+2
KILL^XM FLAG+23
^XMB DC+63
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
100.845 WP^DIE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] DC+62, BULLETIN+13
^OR(100 - [#100] VALID+3, VALID+9, VALID+11, VALID+25, VALID+30, VALID+39, VALID+40, DC+14, DC+15, DC+16
, DC+17, DC+21, DC+24, DC+27, DC+33*, DC+35!, DC+37*, DC+39, DC+43, DC+47
, DC+54, DC+61, ALERT+4*, FLAG+7, FLAG+10!, FLAG+11!, FLAG+24*, FLAG+25, BULLETIN+4, UNFLAG+3
, UNFLAG+4*, UNFLAG+5*, UNFLAG+7, 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+8
^ORD(100.03 - [#100.03] DC+8, 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
^TMP($J SAVFLG+8!, SAVFLG+10!
^VA(200 - [#200] DC+59, 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+6
ISACTOI VALID+28
SAVFLG FLAG+9

Naked Globals

Name Field # of Occurrence
^( WCGET+2, ISACTOI+1
^("NOW" OFCPLX+17
^(0 BULLETIN+13
^(3 FLAG+10*, 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+49*, DC+51
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
CNT FLAGTXT+1~, FLAGTXT+5*, FLAGTXT+6*, FLAGTXT+10*, FLAGTXT+14*, FLAGTXT+16*
COMMID UPCTCHK+3~, UPCTCHK+4*, UPCTCHK+5, UPCTCHK+6
CREATE DC+1~, DC+12*, DC+52
CURRACT DC+2~, DC+6*, DC+15*, DC+17, DC+19
DA FLAG+3~, FLAG+7*, FLAG+10, FLAG+11, FLAG+13, FLAG+17, FLAG+25, UNFLAG+1~, UNFLAG+3*, UNFLAG+4
DCORIG DC~, DC+5*, DC+31, DC+32, DC+50
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+59, VERIFY+2, ALERT+3, FLAG+10, FLAG+21, BULLETIN+12, UNFLAG+4, SAVFLG+5
ERR FLAG+4~, WCPUT~, WCPUT+3*
ERRLST WCPUT+1~
ESCODE COMPLETE~, VERIFY~
EVT DC+39~*
F FLAGTXT+1~, FLAGTXT+8*, FLAGTXT+10*, FLAGTXT+12*, FLAGTXT+14*
FDAIEN FLAG+4~
FLAG FLAGTXT+1~, FLAGTXT+2*, FLAGTXT+3, FLAGTXT+4, FLAGTXT+6
FRM VALID+29~, VALID+30*, VALID+32, VALID+33
I VALID+29~, VALID+36*, FLAG+4~, FLAG+16*, UNFLAG+1~, FLAGTXT+1~, FLAGTXT+8*, FLAGTXT+9*, FLAGTXT+10, FLAGTXT+12*
, FLAGTXT+13*, FLAGTXT+14, FLAGTXT+15*, FLAGTXT+16, WCGET+1~, WCGET+2*
IEN FLAG+4~, FLAG+17*, FLAG+18*, FLAG+19, UNFLAG+1~
ISIV VALID+22~, VALID+23*, VALID+25*, VALID+26
ISNEWORD DC~, DC+40, DC+41
ISNOW OFCPLX+1~, OFCPLX+3*, OFCPLX+4, OFCPLX+5
IVOD VALID+22~, VALID+23*, VALID+26*, VALID+27
LST FLAGTXT~, WCGET~
LST( FLAGTXT+6*, FLAGTXT+10*, FLAGTXT+14*, FLAGTXT+16*, WCGET+2*
LST(1 FLAGTXT+3*
LST(2 FLAGTXT+4*
NATURE DC+1~, DC+7*, DC+8*, DC+9*, DC+12, DC+31, DC+50
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
ORACT VALID+1~, VALID+18*
ORB FLAG+3~, FLAG+26*, UNFLAG+1~, UNFLAG+8*
ORCOM FLAGTXT+1~, FLAGTXT+11
ORCOM( FLAGTXT+13, FLAGTXT+14, FLAGTXT+15, FLAGTXT+16
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+10, BULLETIN+17, UNFLAG~, UNFLAG+4
OREBUILD VALID+41~
ORENT BULLETIN+3~, BULLETIN+8*, BULLETIN+9
ORES VERIFY+4~
ORES( VERIFY+6*, VERIFY+7
OREXP FLAG~, FLAG+12, FLAG+13, FLAG+15
ORFB UNFLAG+1~
ORFDA FLAG+4~, SAVFLG+1~, SAVFLG+10!
ORFDA( FLAG+13*, FLAG+19*, FLAG+20*, FLAG+21*, SAVFLG+4*, SAVFLG+5*
ORFH FLAG+3~, FLAG+8, FLAG+9, SAVFLG~
ORFIENS FLAG+4~, FLAG+17*, FLAG+19, FLAG+20, FLAG+21, SAVFLG+1~, SAVFLG+3*, SAVFLG+4, SAVFLG+5
ORFNM SAVFLG+1~, SAVFLG+10!
ORFNM(1 SAVFLG+9
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+4, DC+14, DC+15, DC+16, DC+17, DC+19*, DC+21
, DC+24, DC+27, DC+28, DC+31, DC+32, DC+33, DC+35, DC+39, DC+40, DC+41
, DC+42*, DC+43, DC+47, DC+49, DC+50, DC+51, DC+54, DC+60, DC+61, COMPLETE~
, COMPLETE+5, COMPLETE+6, COMPLETE+7, COMPLETE+8, VERIFY~, VERIFY+6, VERIFY+7, VERIFY+8, ALERT~, ALERT+2
, ALERT+4, FLAGTXT~, FLAGTXT+2, FLAGTXT+7, FLAGTXT+11, 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+7, FLAG+8, FLAG+9, FLAG+10, FLAG+11
, FLAG+13, FLAG+15, FLAG+17, FLAG+23, FLAG+24, FLAG+25, FLAG+26, FLAG+27, BULLETIN+4, BULLETIN+15
, UNFLAG~, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+7, UNFLAG+8, UNFLAG+9, UNFLAG+10, WCGET+1~*, WCGET+2
, WCPUT+1~*, WCPUT+2, SAVFLG~, SAVFLG+3, SAVFLG+9
ORL DC~, DC+7*
ORL(2 DC+7*
ORLIST FLAG~
ORLIST( FLAG+16
ORNOW FLAG+3~, FLAG+5*, FLAG+20, FLAG+24, UNFLAG+1~, UNFLAG+2*, UNFLAG+5, SAVFLG+1~, SAVFLG+2*, SAVFLG+4
ORNP VALID~, VALID+13, HOLD~, HOLD+2, UNHOLD~, UNHOLD+2, DC~, DC+49, FLAG~, FLAG+10
, FLAG+25*, FLAG+26, UNFLAG+1~, UNFLAG+7*, UNFLAG+8
ORNSS VALID+5~*, VALID+6, VALID+7
ORPS FLAG+3~, UNFLAG+1~
ORSRV BULLETIN+3~, BULLETIN+7*, BULLETIN+8
ORUSR FLAG+4~, FLAG+25, BULLETIN+3~, BULLETIN+6*, BULLETIN+7, BULLETIN+8, UNFLAG+1~, FLAGTXT+1~, FLAGTXT+7
ORUSR( FLAG+16*, FLAG+18, FLAGTXT+9, FLAGTXT+10
ORUSR("" FLAG+26
ORVER VALID+1~, VALID+16*, VERIFY~, VERIFY+2*, VERIFY+3
ORVP VALID+1~, VALID+9*, FLAG+3~, FLAG+7*, FLAG+15, FLAG+26, UNFLAG+1~, UNFLAG+3*, UNFLAG+8
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+53~, DC+54*, DC+55*, DC+56, OFCPLX+6~, OFCPLX+7*, OFCPLX+8*, OFCPLX+9
PRINT DC+1~, DC+12*
PRTID VALID+1~*
PRTORDER OFCPLX~, OFCPLX+12*, OFCPLX+13, OFCPLX+14*, OFCPLX+15, OFCPLX+16, OFCPLX+17, OFCPLX+18, OFCPLX+20
REASON DC~, DC+8, DC+31, DC+32, DC+50, DC+56
REC HOLD~, HOLD+3, UNHOLD~, UNHOLD+3, DC~, DC+28, DC+46!, DC+47, DC+51, COMPLETE~
, COMPLETE+7, VERIFY~, VERIFY+8, FLAG~, FLAG+27, UNFLAG~, UNFLAG+9
REC(1 DC+44*, DC+48*, DC+52*
REC(2 DC+44*, DC+59
RET UPCTCHK+3~*, UPCTCHK+5, UPCTCHK+6*, UPCTCHK+8, UPCTCHK+9*, UPCTCHK+10
RPLORD DC+26~, DC+27*, DC+37, DC+42
SIGSTS DC+1~, DC+18*, DC+22*, DC+23*, DC+42
STATUS DC+1~, DC+24*, DC+25, DC+29
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+8, DC+15
, DC+18, DC+22, DC+24, DC+27, DC+29, DC+33, DC+35, DC+37, DC+39, DC+44
, DC+47, DC+48, DC+52, DC+54, DC+59, DC+61, DC+62, VERIFY+2, VERIFY+3, ALERT+4
, FLAG+7, FLAG+10, FLAG+24, FLAG+25, FLAG+26, BULLETIN+6, BULLETIN+7, BULLETIN+12, BULLETIN+13, BULLETIN+14
BULLETIN+17, BULLETIN+18, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+7, UNFLAG+8, FLAGTXT+3, FLAGTXT+4, FLAGTXT+6
, FLAGTXT+10, FLAGTXT+14, OFCPLX+7, OFCPLX+10, OFCPLX+12, OFCPLX+13, OFCPLX+15, OFCPLX+16, OFCPLX+20, ISACTOI+2
USR FLAG+4~, FLAG+16*, FLAG+26*, UNFLAG+1~
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*
WCLST WCPUT~
WPCNT UPCTCHK+3~, UPCTCHK+5*, UPCTCHK+6, UPCTCHK+8*, UPCTCHK+9
X3 DC+2~, DC+14*, DC+15, OFCPLX+1~, OFCPLX+11*, OFCPLX+13*
X8 DC+2~, DC+17*, DC+18, DC+21*, DC+22, DC+29, DC+35, DC+37
XMB DC+57~, DC+58*, BULLETIN+3~, BULLETIN+12*
XMB(1 DC+59*, BULLETIN+13*
XMB(10 BULLETIN+17*
XMB(11 BULLETIN+18*
XMB(2 DC+60*, BULLETIN+13*
XMB(3 DC+61*, DC+62*, BULLETIN+13*
XMB(4 DC+59*, 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+10

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