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 |  Marked Items |  All
Print Page as PDF
Routine: ORCACT0

Package: Order Entry Results Reporting

Routine: ORCACT0


Information

ORCACT0 ;SLC/MKB-Validate order action ;03-Apr-2012 11:51;PLS

Source Information

Source file <ORCACT0.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Order Entry Results Reporting 5 (ES,RN,RW,XFR,XX)^ORCACT01  $$NMSP^ORCD  $$EVTORDER^OREVNTX  $$VALUE^ORX8  $$MSG^ORXD  
IHS Changes To Pharmacy 1 ($$SCREEN,SCREEN)^APSPMULT  
Kernel 1 ($$FMDIFF,$$NOW)^XLFDT  
Outpatient Pharmacy 1 $$REFILL^PSOREF  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 $$GET1^DIQ  

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
GMRA
AL
VQ
VR
RW ;IHS/MSC/REC/PLS - 08/09/2010
CP
DC2
ES
DC1
NPO(ORIFN) ; -- Returns 1 or 0, if order ORIFN is for NPO
DONE() ; -- sets ERROR if terminal status
CHKVF ;EP - IHS/MSC/REC/PLS - 08/09/10
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
$$SCREEN^APSPMULT RF+8
SCREEN^APSPMULT RF+6
$$GET1^DIQ DC2+3
ES^ORCACT01 ES
RN^ORCACT01 RN
RW^ORCACT01 RW+2
XFR^ORCACT01 XFR+5
XX^ORCACT01 XX+2
$$NMSP^ORCD VALID+3
$$EVTORDER^OREVNTX EV+5
$$VALUE^ORX8 DC2+10, RF+7, NPO+1
$$MSG^ORXD DISABLED+2, DISABLED+4
$$REFILL^PSOREF RF+5
$$FMDIFF^XLFDT CHKVF+8
$$NOW^XLFDT CHKVF+7
$$GET^XPAR VALID+7

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)
^DPT - [#2] MN+2
^OR(100 - [#100] VALID+3, VALID+9, FL+1, UF+1, XFR+3, RL+6, RF+4, RF+7, HD+9, COLLECTD+2
, COLLECTD+5, CHKVF+4, CHKVF+5
^ORD(100.02 - [#100.02] RL+9
^ORD(100.98 - [#100.98] VALID+5
^ORD(101.41 - [#101.41] DISABLED+4
^ORE(100.2 - [#100.2] DC1+3, DC2+2
^PSRX - [#52] HD+9
^SC - [#44] DC2+4, DC2+5
^XUSEC("OREMAS" VALID+7

Label References

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

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A XFR+1~, XFR+2*, XFR+3*
ACT RL+5~*, RL+6*, RL+9
ACTION VALID~, CM, FL, UF, DC1, ES, VR, MN, RW+2, XFR
, RN, EV, DC2, RL, RF, CP, AL, XX, HD
ACTSTS VALID+1~, VALID+9*, DC1, DC1+1, DC1+4, DC1+5, VR+6, MN+1, RW+2, DC2
, RL+4, AIFN
AIFN VALID+1~, VALID+8*, VALID+9, FL+1, UF+1, VR+7, RL+5, AIFN, CHKVF+4, CHKVF+5
DFN RF+7~*
DG VALID+1~, VALID+5*, VALID+7, DC2+12, RF+1, RF+6, 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
DTCMP CHKVF+1~, CHKVF+8*, CHKVF+9
DUZ VALID+7
ERROR VALID~, VALID+1!, CM*, FL+1*, UF+1*, DC1+2*, DC1+3*, DC1+4*, DC1+5*, VR+1*
, VR+2*, VR+5, VR+6*, VR+7*, DIS*, MN+1*, MN+2*, GMRA*, MEDS*, XFR+3*
, XFR+4, EV+1*, EV+4*, EV+5*, EV+6*, 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+9*, AIFN*
, RF+1*, RF+2*, RF+3*, RF+5*, RF+8*, CP+1*, CP+2*, AL+1*, AL+2*, XX+1*
, HD+1*, HD+2*, HD+3*, HD+4*, HD+6*, HD+8*, HD+9*, HD+10*, VQ, DONE+1*
, DONE+2*, DONE+3*, DONE+4*, DONE+5*, DONE+6*, DONE+7*, CHKVF+10*
IFN VALID~, VALID+3, VALID+8, VALID+9, FL+1, UF+1, DC1+3, XFR+3, EV+5, DC2+2
, DC2+10, DC2+12, RL+6, RF+4, HD+9, COLLECTD+2, COLLECTD+5, CHKVF+4, CHKVF+5
LST CHKVF+1~, CHKVF+4*, CHKVF+5*, CHKVF+6
MEDPARM VALID+1~, VALID+7*, DC1+2, MEDS
NATR VALID~, VALID+7, DC1+3, DC2+1, DC2+10, RL+5~, RL+6*, RL+9
NOW CHKVF+1~, CHKVF+7*, CHKVF+8, CHKVF+9
NV VALID+2~, VALID+5*, RW+2, EV+4, RL+9
OR0 VALID+1~, VALID+3*, VALID+5, VALID+10, MN+2, DC2+3, DC2+4, DC2+5, DC2+10, DISABLED+1
OR3 VALID+1~, VALID+3*, VALID+8, VALID+10, RL+5, AL+2
ORA0 VALID+1~, VALID+9*, VR+1, VR+2, EV+6, RL+2, RL+4, RL+5, AIFN, CHKVF+2
ORDSTS VALID+1~, VALID+10*, VR+7, EV+1, DC2+6, DC2+7, DC2+11, DC2+12, RL+1, RF+2
, RF+3, CP+2, XX+1, HD+6, HD+8, HD+9, HD+10, COLLECTD+1, COLLECTD+2, DONE+1
, DONE+2, DONE+3, DONE+4, DONE+5, DONE+6, DONE+7
ORIFN RF+7, NPO~, NPO+1
>> ORVER VR+1, VR+2, VR+5
>> ORVP MN+2
PKG VALID+1~, VALID+3*, VALID+7, VR+7, GMRA, MEDS, DC2+5, DC2+6, DC2+7, DC2+8
, DC2+11, RL+9, CP+1, AL+1, HD+1, HD+2, HD+3, HD+4, HD+8, HD+9
, DISABLED+3
PSIFN RF+4~*, RF+5
RD CHKVF+1~, CHKVF+2*, CHKVF+3, CHKVF+6*, CHKVF+8, CHKVF+9
U VALID+3, VALID+5, VALID+8, VALID+9, VALID+10, VR+1, VR+2, VR+7, DIS, MN+2
, EV+6, DC2+3, DC2+4, DC2+5, DC2+10, RL+2, RL+4, RL+5, RL+6, RL+9
, AIFN, RF+5, RF+7, AL+2, HD+9, COLLECTD+5, DISABLED+1, CHKVF+2, CHKVF+6
VER VALID+1~, VALID+10*, DISABLED+2
X VALID+1~, DC1+3*, VR+7*, DIS*, EV+6*, DC2+2*, AIFN*, RF+4~, RF+5*, ACTION~
, ACTION+1, NPO+1~*, NPO+2, DISABLED+1~*, DISABLED+2*, DISABLED+4*, DISABLED+5
Y VALID+1~, RF+7~*, RF+8, VQ*, VQ+1, ACTION+1~*, ACTION+2, NPO+1~, NPO+2*, NPO+3
, COLLECTD+4~*, COLLECTD+5*, COLLECTD+6
Z COLLECTD+4~*, COLLECTD+5*

Marked Items

Name Field # of Occurrence
$T(SCREEN^APSPMULT RF+6
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 |  Marked Items |  All