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;22-Aug-2013 11:04;mgh

Source Information

Source file <ORWDXA.m>

Call Graph

Call Graph Total: 26

Package Total Call Graph
Order Entry Results Reporting 19 EN^OCXOERR  $$VALID^ORCACT0  XFR^ORCACT01  REPLCD^ORCACT1  ($$PRINT,SET)^ORCACT2  $$NMSP^ORCD  MSG^ORCFLAG  $$ACTION^ORCSAVE  
($$VALUE,CANCEL,COMP,DELETE,STATUS)^ORCSAVE2  EN^ORCSEND  TEXT^ORQ12  $$ORDERER^ORQOR2  AUTH^ORWDPS32  ISVALIV^ORWDPS33  FORMID^ORWDXM  (GTORITM,ISNOW)^ORWDXR  
VALSCH^ORWNSS  GETBYIFN^ORWORR  UNLK1^ORX2  
IHS Changes To Pharmacy 2 DC^APSPELRX  $$ISSCH^APSPFNC2  
MailMan 2 KILL^XM  (,EN)^XMB  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 WP^DIE  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS Changes To Pharmacy 2 APSPES4  APSPESG  
Order Entry Results Reporting 1 ORWDXM3  

Entry Points

Name Comments DBIA/ICR reference
ISACTOI(ORY,OI) ;If it's an active orderable item
DC(REC,ORID,ORNP,ORL,REASON,DCORIG,ISNEWORD) ; Discontinue/Cancel/Delete an order
VALID(VAL,ORID,ACTION,ORNP,ORWNAT) ; Return error message if not valid action for order
UNHOLD(REC,ORID,ORNP) ; Release an order from hold
OFCPLX(ORY,ORID,PRTORDER) ;Check if ORID is an child of the PRTORDER
VERIFY(REC,ORID,ESCODE,ORVER) ; Verify an order
; validate ESCode
UNFLAG(REC,ORIFN,OREASON) ; Unflag an order
HOLD(REC,ORID,ORNP,ORRSN) ; Place an order on hold
FLAG(REC,ORIFN,OREASON,ORNP) ; Flag an order
WCPUT(ERR,ORID,WCLST) ; Set ward comments for order
FLAGTXT(LST,ORID) ; Return flag reason
COMPLETE(REC,ORID,ESCODE) ; Complete an order (generic orders)
DCREQIEN(VAL) ; Return the IEN for Requesting Physician Cancelled reason
ALERT(DUMMY,ORID,ORDUZ) ;send alert to user (ORDUZ) when order (ORID) resulted
BULLETIN ; Send flagged order bulletin (USED BY FLAG)
WCGET(LST,ORID) ; Return ward comments

External References

Name Field # of Occurrence
DC^APSPELRX DC+34
$$ISSCH^APSPFNC2 VALID+13
WP^DIE WCPUT+2
EN^OCXOERR FLAG+8, UNFLAG+6
$$VALID^ORCACT0 VALID+59
XFR^ORCACT01 VALID+20
REPLCD^ORCACT1 VERIFY+6
$$PRINT^ORCACT2 DC+11
SET^ORCACT2 DC+30, DC+31, DC+50
$$NMSP^ORCD DC+55, OFCPLX+8
MSG^ORCFLAG FLAG+5, UNFLAG+3
$$ACTION^ORCSAVE HOLD+2, UNHOLD+2, DC+49
$$VALUE^ORCSAVE2 VALID+12, VALID+48
CANCEL^ORCSAVE2 DC+41
COMP^ORCSAVE2 COMPLETE+5
DELETE^ORCSAVE2 DC+40
STATUS^ORCSAVE2 HOLD+5, UNHOLD+5, DC+32
EN^ORCSEND VERIFY+7
TEXT^ORQ12 BULLETIN+13
$$ORDERER^ORQOR2 ALERT+2
AUTH^ORWDPS32 VALID+29
ISVALIV^ORWDPS33 VALID+24
FORMID^ORWDXM VALID+54
GTORITM^ORWDXR VALID+43
ISNOW^ORWDXR OFCPLX+4
VALSCH^ORWNSS VALID+22
GETBYIFN^ORWORR HOLD+9, UNHOLD+9, DC+27, DC+47, DC+51, COMPLETE+6, VERIFY+8, FLAG+9, UNFLAG+7
UNLK1^ORX2 VERIFY+7
$$FMTE^XLFDT BULLETIN+12, BULLETIN+15, FLAGTXT+3
$$NOW^XLFDT FLAG+4, FLAG+6, UNFLAG+3, UNFLAG+4, ISACTOI+1
KILL^XM FLAG+5
^XMB DC+63
EN^XMB BULLETIN+17
$$GET^XPAR VALID+10, BULLETIN+7

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)
^DIC(9.4 - [#9.4] VALID+8, HOLD+4, UNHOLD+4
^DPT - [#2] DC+62, BULLETIN+11
^OR(100 - [#100] VALID+8, VALID+19, VALID+25, VALID+27, VALID+41, VALID+47, VALID+52, HOLD+4, HOLD+7, HOLD+8
, UNHOLD+4, UNHOLD+7, UNHOLD+8, DC+13, DC+14, DC+15, DC+16, DC+20, DC+23, DC+26
, DC+32*, DC+35!, DC+37*, DC+39, DC+43, DC+47, DC+54, DC+61, ALERT+4*, FLAG+3
, FLAG+4!, FLAG+6*, FLAG+7, BULLETIN+2, UNFLAG+2, UNFLAG+3*, UNFLAG+4*, UNFLAG+5, FLAGTXT+2, WCGET+2
, OFCPLX+2, OFCPLX+7, OFCPLX+10, OFCPLX+13, OFCPLX+15, OFCPLX+17, OFCPLX+18
^ORD(100.01 - [#100.01] BULLETIN+16
^ORD(100.02 - [#100.02] DC+7
^ORD(100.03 - [#100.03] DC+7, DCREQIEN+1
^ORD(100.98 - [#100.98] VALID+42
^ORD(101.41 - [#101.41] VALID+28
^ORD(101.43 - [#101.43] ISACTOI+1, ISACTOI+2
^ORE(100.2 - [#100.2] DC+39*!
^TMP("BEHPSHMX" VALID+4!, VALID+15*
^VA(200 - [#200] DC+59, BULLETIN+5, FLAGTXT+3
^XUSEC("ORELSE" VALID+32, VALID+35, VERIFY+2
^XUSEC("OREMAS" VALID+32, VALID+35, VERIFY+2

Label References

Name Line Occurrences
BULLETIN FLAG+2
ISACTOI VALID+44

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT WCGET+1~*, WCGET+2, WCPUT+1~*, WCPUT+2
ACTDA HOLD+1~, HOLD+2*, HOLD+9, UNHOLD+1~, UNHOLD+2*, UNHOLD+9, DC+1~, DC+49*, DC+51
ACTION VALID~, VALID+3, VALID+7*, VALID+20*, VALID+22, VALID+24, VALID+26, VALID+32, VALID+33*, VALID+34
, VALID+35, VALID+40, VALID+59
ATYPE VALID+5~, VALID+7*, VALID+14
BULL BULLETIN+1~, BULLETIN+7*, BULLETIN+8
C VALID+5~, VALID+10*, VALID+11
CREATE DC+1~, DC+11*, DC+52
CURRACT DC+2~, DC+5*, DC+14*, DC+16, DC+18
DA FLAG+1~, FLAG+3*, FLAG+4, FLAG+7, UNFLAG+1~, UNFLAG+2*, UNFLAG+3, UNFLAG+5
DCORIG DC~, DC+4*, DC+30, DC+31, DC+50
DIERR WCPUT+1~, WCPUT+3
DLG VALID+27~*, VALID+28, VALID+51~, VALID+52*, VALID+53*, VALID+54, VALID+55
DRUG VALID+5~, VALID+12*, VALID+13
DUMMY ALERT~, ALERT+4*
DUZ VALID+32, VALID+35, DC+59, VERIFY+2, ALERT+3, FLAG+4, BULLETIN+10, UNFLAG+3
ERR WCPUT~, WCPUT+3*
ERRLST WCPUT+1~
ESCODE COMPLETE~, VERIFY~
EVT DC+39~*
FLAG FLAGTXT+1~, FLAGTXT+2*, FLAGTXT+3, FLAGTXT+4
FRM VALID+51~, VALID+52*, VALID+54, VALID+55
I WCGET+1~, WCGET+2*
ISIV VALID+38~, VALID+39*, VALID+41*, VALID+42
ISNEWORD DC~, DC+40, DC+41
ISNOW OFCPLX+1~, OFCPLX+3*, OFCPLX+4, OFCPLX+5
IVOD VALID+38~, VALID+39*, VALID+42*, VALID+43
LST HOLD+6~, HOLD+7*, HOLD+8, UNHOLD+6~, UNHOLD+7*, UNHOLD+8, 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+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+38~, VALID+39*, VALID+43, VALID+44
OR0 BULLETIN+1~, BULLETIN+2*, BULLETIN+4, BULLETIN+10, BULLETIN+11, BULLETIN+12, BULLETIN+15
OR3 BULLETIN+1~, BULLETIN+2*, BULLETIN+16
ORACT VALID+17~, VALID+34*
ORB FLAG+1~, FLAG+8*, UNFLAG+1~, UNFLAG+6*
ORDA OFCPLX+1~, OFCPLX+11*, OFCPLX+13*, OFCPLX+14
ORDTXT BULLETIN+1~, BULLETIN+13
ORDTXT(1 BULLETIN+14
ORDTXT(2 BULLETIN+14
ORDTXT(3 BULLETIN+14
ORDUZ ALERT~, ALERT+2*, ALERT+3*, ALERT+4
OREASON FLAG~, FLAG+4, BULLETIN+15, UNFLAG~, UNFLAG+3
OREBUILD VALID+57~
ORENT BULLETIN+1~, BULLETIN+6*, BULLETIN+7
ORES VERIFY+4~
ORES( VERIFY+6*, VERIFY+7
ORI VERIFY+4~, VERIFY+7*
ORID VALID~, VALID+8, VALID+12, VALID+15, VALID+18, VALID+19, VALID+22, VALID+24, VALID+25, VALID+27
, VALID+41, VALID+43, VALID+47, VALID+48, VALID+52, VALID+59, HOLD~, HOLD+2, HOLD+4, HOLD+5
, HOLD+7, HOLD+8, HOLD+9, UNHOLD~, UNHOLD+2, UNHOLD+4, UNHOLD+5, UNHOLD+7, UNHOLD+8, UNHOLD+9
, 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+34, 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, 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
ORIFN VALID+17~, VALID+25*, VERIFY+4~, VERIFY+6*, FLAG~, FLAG+3, FLAG+4, FLAG+5, FLAG+6, FLAG+7
, FLAG+8, FLAG+9, BULLETIN+2, BULLETIN+13, UNFLAG~, UNFLAG+2, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+6
, UNFLAG+7, WCGET+1~*, WCGET+2, WCPUT+1~*, WCPUT+2
ORL DC~, DC+6*
ORL(2 DC+6*
ORNP VALID~, VALID+29, HOLD~, HOLD+2, UNHOLD~, UNHOLD+2, DC~, DC+49, FLAG~, FLAG+4
, FLAG+7*, FLAG+8, UNFLAG+1~, UNFLAG+5*, UNFLAG+6
ORNSS VALID+21~*, VALID+22, VALID+23
ORPS FLAG+1~, UNFLAG+1~
ORRSN HOLD~, HOLD+2
ORSRV BULLETIN+1~, BULLETIN+5*, BULLETIN+6
ORUSR BULLETIN+1~, BULLETIN+4*, BULLETIN+5, BULLETIN+6
ORVER VALID+17~, VALID+32*, VERIFY~, VERIFY+2*, VERIFY+3
ORVP VALID+17~, VALID+25*, FLAG+1~, FLAG+3*, FLAG+8, UNFLAG+1~, UNFLAG+2*, UNFLAG+6
ORWNAT VALID~, VALID+59
ORY OFCPLX~, OFCPLX+16*, OFCPLX+20*, ISACTOI~, ISACTOI+2*
OSTAT VALID+46~, VALID+47*, VALID+49
PKG DC+53~, DC+54*, DC+55*, DC+56, OFCPLX+6~, OFCPLX+7*, OFCPLX+8*, OFCPLX+9
PRINT DC+1~, DC+11*
PRTID VALID+17~*
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+50, DC+56
REC HOLD~, HOLD+9, UNHOLD~, UNHOLD+9, DC~, DC+27, DC+46!, DC+47, DC+51, COMPLETE~
, COMPLETE+6, VERIFY~, VERIFY+8, FLAG~, FLAG+9, UNFLAG~, UNFLAG+7
REC(1 DC+44*, DC+48*, DC+52*
REC(2 DC+44*, DC+59
RPLORD DC+25~, DC+26*, DC+37, DC+42
RRIEN VALID+46~, VALID+48*, VALID+49
SIGSTS DC+1~, DC+17*, DC+21*, DC+22*, DC+42
STATUS DC+1~, DC+23*, DC+24, DC+28
U VALID+8, VALID+15, VALID+25, VALID+27, VALID+30, VALID+41, VALID+42, VALID+47, VALID+52, HOLD+4
, HOLD+8, UNHOLD+4, UNHOLD+8, DC+7, DC+14, DC+17, DC+21, DC+23, DC+26, DC+28
, DC+32, 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+3, FLAG+4, FLAG+6, FLAG+7, FLAG+8
, BULLETIN+4, BULLETIN+5, BULLETIN+10, BULLETIN+11, BULLETIN+12, BULLETIN+15, BULLETIN+16, UNFLAG+2, UNFLAG+3, UNFLAG+4
, UNFLAG+5, UNFLAG+6, FLAGTXT+3, FLAGTXT+4, OFCPLX+7, OFCPLX+10, OFCPLX+12, OFCPLX+13, OFCPLX+15, OFCPLX+16
, OFCPLX+20, ISACTOI+2
VAL VALID~, VALID+2*, VALID+14*, VALID+16, VALID+17*, VALID+18*, VALID+19*, VALID+23*, VALID+24, VALID+26
, VALID+29, VALID+30*, VALID+31*, VALID+36*, VALID+37, VALID+40, VALID+44, VALID+49*, VALID+56*, VALID+59*
, DCREQIEN~, DCREQIEN+1*
WCLST WCPUT~
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
XFRIO VALID+5~, VALID+7*, VALID+15
XMB DC+57~, DC+58*, BULLETIN+1~, BULLETIN+10*
XMB(1 DC+59*, BULLETIN+11*
XMB(10 BULLETIN+15*
XMB(11 BULLETIN+16*
XMB(2 DC+60*, BULLETIN+11*
XMB(3 DC+61*, DC+62*, BULLETIN+11*
XMB(4 DC+59*, BULLETIN+12*
XMB(5 BULLETIN+14*
XMB(6 BULLETIN+14*
XMB(7 BULLETIN+14*
XMB(8 BULLETIN+15*
XMB(9 BULLETIN+15*
XMDUZ BULLETIN+1~, BULLETIN+10*
XMY BULLETIN+1~
XMY( BULLETIN+10*
>> XMZ FLAG+4
Z VALID+5~, VALID+6*, VALID+13*, VALID+14

Marked Items

Name Field # of Occurrence
$T(DC^APSPELRX DC+34
$T(XFR^ORCACT01 VALID+20
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