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 ;Sep 15, 2023@09:23

Source Information

Source file <ORCACT0.m>

Call Graph

Call Graph

Call Graph Total: 11

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

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

External References

Name Field # of Occurrence
$$GET1^DIQ UF+19, 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+4
MAP^ORWDXA1 UF+14
$$VALUE^ORX8 DC2+10, NPO+1
$$MSG^ORXD DISABLED+2, DISABLED+4
OEL^PSOORRL VR+9
$$REFILL^PSOREF RF+5
$$GET^XPAR VALID+12, UF+5, UF+11

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(19.1 - [#19.1] GET1^DIQ
^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, UF+6, UF+7, VR+7, 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, UF+16, UF+17, UF+18
^ORD(101.41 - [#101.41] VALID+6, DISABLED+4
^ORE(100.2 - [#100.2] DC1+3, DC2+2
^SC - [#44] DC2+4, DC2+5
^TMP("PS" VR+8!, VR+10, VR+14, VR+19!
^XUSEC( UF+19
^XUSEC("OREMAS" VALID+12
^XUSEC("ORES" UF+10

Label References

Name Line Occurrences
$$ACTION RL+4, AIFN
$$COLLECTD DC2+9
$$DISABLED VR+23, DIS
$$DONE TRM
VQ VALID+4, FLUFDC1ESVRDISMNGMRAMEDS
RWXFRRNTRMEVDC2RLAIFNRFCP
ALXXHD

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, FLUFUF+9, DC1ESVRMNRW
XFRRNEVDC2RLRFCPALXXHD
ACTSTS VALID+1~, VALID+14*, DC1DC1+1, DC1+4, DC1+5, VR+22, MN+1, DC2RL+4
AIFN
AIFN VALID+1~, VALID+13*, VALID+14, FL+2, UF+2, VR+23, RL+5, AIFN
AMG UF+4~, UF+5*, UF+9, UF+22
CSORD VALID+1~, VALID+5*, VALID+7
DA UF+4~, UF+6*, UF+7
DG VALID+1~, VALID+11*, VALID+12, EV+2, EV+3, DC2+12, RF+1, HD+5, DONE+3
DGP UF+13~*, UF+15*, UF+16, UF+17, UF+18
>> DGPMA DC2+10
>> DGPMT DC2+3, DC2+4, DC2+5, DC2+12
DGSK UF+13~, UF+17*, UF+18
DGSQ UF+13~, UF+14
DGSQ( UF+15
DLG DISABLED+1~*, DISABLED+2, DISABLED+3*, DISABLED+4*
DT DC2+10
DUZ VALID+12, UF+7, UF+10, UF+19
ERROR VALID~, VALID+1!, VALID+8*, VALID+9*, FL+1*, FL+2*, UF+1*, UF+2*, UF+9*, UF+22*
DC1+2*, DC1+3*, DC1+4*, DC1+5*, VR+1*, VR+5, VR+12*, VR+18*, VR+20*, VR+21*
VR+22*, VR+23*, DIS*, MN+1*, GMRA*, MEDS*, XFR+3*, XFR+4*, XFR+5, EV+1*
EV+2*, EV+3*, EV+4*, EV+5*, 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, UF+6, UF+7, DC1+3
VR+7, XFR+3, XFR+4, EV+4, DC2+2, DC2+10, 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, UF+13, VR+8, VR+9, 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+20, VR+21, EV+5, RL+2, RL+4, RL+5, AIFN
ORARR VR+6~, VR+14*
ORARR( VR+15, VR+16
ORDLG VALID+1~, VALID+6*, VALID+7
ORDSTS VALID+1~, VALID+15*, VR+23, 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
ORFIN VR+6~, VR+14*, VR+16*, VR+17
ORIFN NPO~, NPO+1
ORNUM VR+6~, VR+15*, VR+16
ORSKP UF+13~, UF+18*, UF+19
ORSTATUS VR+6~, VR+10*, VR+11, VR+13
>> ORVER VR+1, VR+5, VR+20, VR+21
ORXIFN VR+6~, VR+7*, VR+9
OSTYPE VR+6~, VR+8*, VR+9
PKG VALID+1~, VALID+2*, VALID+12, FL+1, UF+1, VR+23, GMRAMEDSDC2+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
RECP UF+4~, UF+7*, UF+8
SFND UF+13~*, UF+19*, UF+21
U VALID+2, VALID+3, VALID+6, VALID+11, VALID+13, VALID+14, VALID+15, UF+9, UF+13, UF+22
VR+1, VR+8, VR+9, VR+10, VR+16, VR+20, VR+21, VR+23, DISEV+5
DC2+3, DC2+4, DC2+5, DC2+10, RL+2, RL+4, RL+5, RL+6, RL+7, AIFN
RF+5, AL+2, COLLECTD+1, COLLECTD+5, DISABLED+1
VER VALID+1~, VALID+15*, DISABLED+2
X VALID+1~, DC1+3*, VR+23*, DIS*, EV+5*, DC2+2*, AIFN*, RF+4~, RF+5*, ACTION~
, ACTION+1, NPO+1~*, NPO+2, DISABLED+1~*, DISABLED+2*, DISABLED+4*, DISABLED+5
X3 UF+4~, UF+6*, UF+7
>> 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