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

Package: Order Entry Results Reporting

Routine: ORCACT0


Information

ORCACT0 ;SLC/MKB-Validate order action ;06/13/17

Source Information

Source file <ORCACT0.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Order Entry Results Reporting 6 (ES,RN,RW,XFR,XX)^ORCACT01  $$NMSP^ORCD  CSVALUE^ORDEA  $$EVTORDER^OREVNTX  $$VALUE^ORX8  $$MSG^ORXD  
Outpatient Pharmacy 1 $$REFILL^PSOREF  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Order Entry Results Reporting 15 ORCACT  ORCACT01  ORCACT1  ORCACT2  ORCFLAG  ORCMED  ORCMENU2  ORCSEND  
ORCSIGN  OREVNT  OREVNT1  ORMEVNT1  ORWD  ORWDXA  ORWDXR  

Entry Points

Name Comments DBIA/ICR reference
AIFN
COLLECTD() ; -- Lab order collected/active (incl all children)?
FL
HD
DIS
EV
RF
RL
RN
XFR
DISABLED() ; -- Order dialog [or protocol] disabled?
TRM
CM ;I ACTION="CM" S ERROR="This action is no longer available!" G VQ ; ward comments - no restrictions
GMRA
AL
VQ
VR
RW
CP
DC2
ES
DC1
NPO(ORIFN) ; -- Returns 1 or 0, if order ORIFN is for NPO
DONE() ; -- sets ERROR if terminal status
VALID(IFN,ACTION,ERROR,NATR) ; -- Determines if action is valid for order IFN
MN
XX
MEDS
UF
ACTION(X) ; -- Return text of action X

External References

Name Field # of Occurrence
$$GET1^DIQ DC2+3
ES^ORCACT01 ES
RN^ORCACT01 RN
RW^ORCACT01 RW
XFR^ORCACT01 XFR+6
XX^ORCACT01 XX+3
$$NMSP^ORCD VALID+2
CSVALUE^ORDEA VALID+5
$$EVTORDER^OREVNTX EV+3
$$VALUE^ORX8 DC2+10, NPO+1
$$MSG^ORXD DISABLED+2, DISABLED+4
$$REFILL^PSOREF RF+5
$$GET^XPAR VALID+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(9.4 - [#9.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] VALID+2, VALID+14, FL+2, UF+2, XFR+3, XFR+4, RL+6, RF+4, COLLECTD+2, COLLECTD+5
^ORD(100.02 - [#100.02] RL+7
^ORD(100.98 - [#100.98] VALID+11
^ORD(101.41 - [#101.41] VALID+6, DISABLED+4
^ORE(100.2 - [#100.2] DC1+3, DC2+2
^SC - [#44] DC2+4, DC2+5
^XUSEC("OREMAS" VALID+12

Label References

Name Line Occurrences
$$ACTION RL+4, AIFN
$$COLLECTD DC2+9
$$DISABLED VR+5, DIS
$$DONE TRM
$$NPO DC2+12
VQ VALID+4, FL, UF, DC1, ES, VR, DIS, MN, GMRA, MEDS
, RW, XFR, RN, TRM, EV, DC2, RL, AIFN, RF, CP
, AL, XX, HD

Naked Globals

Name Field # of Occurrence
^(0 RL+6
^(3 VALID+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A XFR+1~, XFR+2*, XFR+3*, XFR+4*
ACT RL+5~*, RL+6*, RL+7
ACTION VALID~, VALID+4, FL, UF, DC1, ES, VR, MN, RW, XFR
, RN, EV, DC2, RL, RF, CP, AL, XX, HD
ACTSTS VALID+1~, VALID+14*, DC1, DC1+1, DC1+4, DC1+5, VR+4, MN+1, DC2, RL+4
, AIFN
AIFN VALID+1~, VALID+13*, VALID+14, FL+2, UF+2, VR+5, RL+5, AIFN
CSORD VALID+1~, VALID+5*, VALID+7
DG VALID+1~, VALID+11*, VALID+12, EV+2, DC2+12, RF+1, HD+5, DONE+3
>> DGPMA DC2+10
>> DGPMT DC2+3, DC2+4, DC2+5, DC2+12
DLG DISABLED+1~*, DISABLED+2, DISABLED+3*, DISABLED+4*
DT DC2+10
DUZ VALID+12
ERROR VALID~, VALID+1!, VALID+8*, VALID+9*, FL+1*, FL+2*, UF+1*, UF+2*, DC1+2*, DC1+3*
, DC1+4*, DC1+5*, VR+1*, VR+2*, VR+3*, VR+4*, VR+5*, DIS*, MN+1*, GMRA*
, MEDS*, XFR+3*, XFR+4*, XFR+5, EV+1*, EV+2*, EV+3*, EV+4*, DC2+1, DC2+2*
, DC2+4*, DC2+5*, DC2+6*, DC2+7*, DC2+9*, DC2+10*, DC2+11*, DC2+12*, RL+2*, RL+3*
, RL+4*, RL+7*, AIFN*, RF+1*, RF+2*, RF+3*, RF+5*, CP+1*, CP+2*, AL+1*
, AL+2*, XX+1*, XX+2*, HD+1*, HD+2*, HD+3*, HD+4*, HD+5*, HD+6*, HD+7*
, HD+8*, HD+9*, VQ, DONE+1*, DONE+2*, DONE+3*, DONE+4*, DONE+5*, DONE+6*, DONE+7*
IFN VALID~, VALID+2, VALID+5, VALID+13, VALID+14, FL+2, UF+2, DC1+3, XFR+3, XFR+4
, EV+3, DC2+2, DC2+10, DC2+12, RL+6, RF+4, COLLECTD+2, COLLECTD+5
MEDPARM VALID+1~, VALID+12*, DC1+2, MEDS
NATR VALID~, VALID+12, DC1+3, DC2+1, DC2+10, RL+5~, RL+6*, RL+7
OR0 VALID+1~, VALID+2*, VALID+6, VALID+11, VALID+15, DC2+3, DC2+4, DC2+5, DC2+10, DISABLED+1
OR3 VALID+1~, VALID+2*, VALID+13, VALID+15, RL+5, AL+2
ORA0 VALID+1~, VALID+14*, VR+1, VR+2, VR+3, EV+4, RL+2, RL+4, RL+5, AIFN
ORDLG VALID+1~, VALID+6*, VALID+7
ORDSTS VALID+1~, VALID+15*, VR+5, EV+1, DC2+6, DC2+7, DC2+11, DC2+12, RL+1, RF+2
, RF+3, CP+2, XX+1, XX+2, HD+7, HD+8, HD+9, COLLECTD+1, COLLECTD+2, DONE+1
, DONE+2, DONE+3, DONE+4, DONE+5, DONE+6, DONE+7
ORENVIR VALID+1~, VALID+3*, VALID+4
ORIFN NPO~, NPO+1
>> ORVER VR+1, VR+2, VR+3
PKG VALID+1~, VALID+2*, VALID+12, FL+1, UF+1, VR+5, GMRA, MEDS, DC2+5, DC2+6
, DC2+7, DC2+8, DC2+11, RL+7, CP+1, AL+1, XX+1, HD+1, HD+2, HD+3
, HD+4, HD+6, HD+8, DISABLED+3
PSIFN RF+4~*, RF+5
U VALID+2, VALID+3, VALID+6, VALID+11, VALID+13, VALID+14, VALID+15, VR+1, VR+2, VR+3
, VR+5, DIS, EV+4, DC2+3, DC2+4, DC2+5, DC2+10, RL+2, RL+4, RL+5
, RL+6, RL+7, AIFN, RF+5, AL+2, COLLECTD+5, DISABLED+1
VER VALID+1~, VALID+15*, DISABLED+2
X VALID+1~, DC1+3*, VR+5*, DIS*, EV+4*, DC2+2*, AIFN*, RF+4~, RF+5*, ACTION~
, ACTION+1, NPO+1~*, NPO+2, DISABLED+1~*, DISABLED+2*, DISABLED+4*, DISABLED+5
>> XQY0 VALID+3
Y VALID+1~, VQ*, VQ+1, ACTION+1~*, ACTION+2, NPO+1~, NPO+2*, NPO+3, COLLECTD+4~*, COLLECTD+5*
, COLLECTD+6
Z COLLECTD+4~*, COLLECTD+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All