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 ;2/11/08 11:05

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+5
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+11
$$PKG^ORMPS1 LAB+6
PRINTS^ORWD1 UPDATE+9
$$ACTV^ORX1 UPDATE+11
$$CREATE^ORX1 UPDATE+4
$$VALUE^ORX8 LAB+1, LAB+5, LAB+9
$$NOW^XLFDT EN+4, ACK+12, SC+5, 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+4, LAB+7, LAB+8
^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
UA ACK+14, OC+1
UPDATE OC+4

Naked Globals

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

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
>> 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+3~, LAB+4*, LAB+7
ORDCNTRL EN+5, ACK+1~, ACK+16*, ACK+17, ACK+18, ACK+21
>> ORDSTS SC+1
>> ORDUZ OC+3, UPDATE+5, UPDATE+7
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+3~, LAB+6*, LAB+7*, LAB+8, LAB+9, LAB+10
ORIFN EN+3, ACK~, ACK+17*, ACK+20*, OK+1, OK+2, SC+3, SC+4, SC+5, 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+1, LAB+4, LAB+5, LAB+7
ORIT LAB+3~, LAB+5*, LAB+10
>> ORL UPDATE+9
ORLAB LAB+3~, LAB+6*, LAB+8
ORLOG EN+4*, ACK+1~, ACK+12*, SC+4, OC+3, UA+2, UPDATE+5, UPDATE+7
ORLRIFN LAB+1~*, LAB+2, LAB+6*, LAB+7, LAB+10*, LAB+11
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*
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+3~, LAB+9*, LAB+10
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+4, LAB+8
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