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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORMVBEC

Package: Order Entry Results Reporting

Routine: ORMVBEC


Information

ORMVBEC ; SLC/MKB - Process VBECS order msgs ;Mar 04, 2019@16:11:47

Source Information

Source file <ORMVBEC.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Order Entry Results Reporting 10 $$ACTION^ORCSAVE  (DATES,DELETE,RELEASE,SIGSTS,STATUS)^ORCSAVE2  CANCEL^ORCSEND  CANCEL^ORCSEND2  EN^ORERR  MSG^ORMBLD  $$PKG^ORMPS1  PRINTS^ORWD1  
($$ACTV,$$CREATE)^ORX1  $$VALUE^ORX8  
Kernel 1 $$NOW^XLFDT  

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

Package Total Caller Graph
Lab Service 1 LR7OVB  
Order Entry Results Reporting 1 ORMBLDVB  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- entry point for VBEC messages from ORMHLREC
ACK(ORIFN) ; -- process DIRECT^HLMA acknowledgment [from ORMBLDVB]
ERR ; -- Log an error
STATUS(X) ; -- Returns Order Status for HL7 code X
OK ; -- Order accepted, VBECS order # assigned [reply]
SC ; -- Status changed
OC ; -- Cancelled
CR ; -- Cancelled [reply]
UA ; -- Unable to accept [reply]
UC ; -- Unable to cancel [reply]
DE ; -- Data Error [reply]
CANCEL ; -- cancel associated lab, parent orders
UPDATE(ORSTS,ORACT) ; -- continue processing
ZP ; -- Purged
ZR ; -- Purged as requested [reply]
ZU ; -- Unable to purge [reply]
LAB ; -- find and cancel ORIFN'S associated Lab order

External References

Name Field # of Occurrence
$$ACTION^ORCSAVE UPDATE+5
DATES^ORCSAVE2 SC+4, SC+6
DELETE^ORCSAVE2 ZR+1
RELEASE^ORCSAVE2 UPDATE+7
SIGSTS^ORCSAVE2 UPDATE+8
STATUS^ORCSAVE2 OK+2, SC+3, CR+1, UA+3, UPDATE+3, ZP+2
CANCEL^ORCSEND UPDATE+12
CANCEL^ORCSEND2 CANCEL+3
EN^ORERR ERR+2
MSG^ORMBLD LAB+17
$$PKG^ORMPS1 LAB+7
PRINTS^ORWD1 UPDATE+9
$$ACTV^ORX1 UPDATE+11
$$CREATE^ORX1 UPDATE+4
$$VALUE^ORX8 LAB+2, LAB+6, LAB+10
$$NOW^XLFDT EN+4, ACK+12, SC+6, ZU+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] EN+3, ACK+19, OK+1*, OC+3*, OC+5, OC+6*, UA+2*, DE+2*, DE+3*, CANCEL+2
, UPDATE+10*, UPDATE+11*, ZP+1, ZP+2*, ZU+1*, LAB+5, LAB+8, LAB+9, LAB+21, LAB+22*
^ORD(100.02 - [#100.02] OC+2, UA+1

Label References

Name Line Occurrences
$$STATUS SC+1
@( EN+5, ACK+21
CANCEL UA+3
ERR ACK+8, ACK+10, ACK+14
LAB OC+4
OC SC+2, SC+7
UA ACK+14, OC+1
UPDATE OC+4

Naked Globals

Name Field # of Occurrence
^(3 ZP+2
^(4 ZP+2
^(6 OC+6, LAB+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CODE ACK+18~*, ACK+19
DA ACK+18~, ACK+19*, ACK+20, DE+1~*, DE+2, DE+3, UPDATE+1~, UPDATE+5*, UPDATE+6, UPDATE+7
, UPDATE+8, UPDATE+9, UPDATE+10
DAD OC+5~*, OC+6
DUZ LAB+15, LAB+16*, LAB+18*
>> HLNEXT ACK+2
>> HLNODE ACK+3
>> HLNODE( ACK+5
>> HLQUIT ACK+2
I ACK+1~, ACK+2*, ACK+3, ACK+5
J ACK+1~, ACK+3*, ACK+5*
MSA ACK+1~, ACK+9*, ACK+11*, ACK+12, ACK+13, ACK+15
MSH ACK+1~, ACK+7*, ACK+8, ACK+9, ACK+11
ORACT UPDATE~, UPDATE+5, UPDATE+12
ORC ACK+1~, ACK+15*, ACK+16
ORCMMT UPDATE+1~, UPDATE+4*, UPDATE+5
ORDAD CANCEL+1~, CANCEL+2*, CANCEL+3, LAB+4~, LAB+5*, LAB+8
ORDCNTRL EN+5, ACK+1~, ACK+16*, ACK+17, ACK+18, ACK+21
>> ORDSTS SC+1
>> ORDUZ OC+3, UPDATE+5, UPDATE+7, LAB+16
OREASON ACK+1~, ACK+12*, ACK+14, OC+3, UA+2, DE+3, CANCEL+3, UPDATE+4
>> ORERR EN+3*, ACK+8*, ACK+10*, ACK+14*, ERR+1, UPDATE+6*
ORI LAB+4~, LAB+7*, LAB+8*, LAB+9, LAB+10, LAB+11
ORIFN EN+3, ACK~, ACK+17*, ACK+20*, OK+1, OK+2, SC+3, SC+4, SC+6, OC+3
OC+5, OC+6, CR+1, UA+2, UA+3, DE+1, DE+2, DE+3, CANCEL+2, UPDATE+3
, UPDATE+5, UPDATE+7, UPDATE+8, UPDATE+9, UPDATE+10, UPDATE+11, UPDATE+12, ZP+1, ZP+2, ZR+1
ZU+1, LAB+2, LAB+5, LAB+6, LAB+8, LAB+22
ORIT LAB+4~, LAB+6*, LAB+11
>> ORL UPDATE+9
ORLAB LAB+4~, LAB+7*, LAB+9
ORLOG EN+4*, ACK+1~, ACK+12*, SC+4, OC+3, UA+2, UPDATE+5, UPDATE+7
ORLRIFN LAB+1~, LAB+2*, LAB+3, LAB+7*, LAB+8, LAB+11*, LAB+12, LAB+17, LAB+21, LAB+22
ORMSG ACK+1~, ERR+2
ORMSG( ACK+3*, ACK+5*, ACK+7, ACK+9, ACK+11, ACK+13, ACK+15, ACK+16
ORNATR ACK+1~, ACK+12*, OC+2*, OC+3, UA+1*, UA+2, UPDATE+4, UPDATE+7, UPDATE+11
>> ORNP UPDATE+5
ORP UPDATE+1~, UPDATE+9
ORP(1 UPDATE+9*
ORSAVDUZ LAB+1~, LAB+15*, LAB+18
ORSTS SC+1~*, SC+2, SC+3, SC+4, SC+5, UPDATE~, UPDATE+3
ORTYPE ACK+1~, ACK+11*, OC+1
ORX UPDATE+1~, UPDATE+4*, LAB+4~, LAB+10*, LAB+11
PKGIFN ACK+1~, ACK+16*, OK+1
U ACK+11, ACK+12, ACK+14, ERR+1, OC+3, OC+5, OC+6, UA+2, DE+2, DE+3
CANCEL+2, CANCEL+3, UPDATE+4, UPDATE+10, UPDATE+11, ZP+2, ZU+1, LAB+5, LAB+9, LAB+21
X ACK+1~, ACK+16*, ACK+17, ERR+1~*, ERR+2, STATUS~, STATUS+1
Y STATUS+1~*, STATUS+2

Marked Items

Name Field # of Occurrence
$T(@ORDCNTRL EN+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All