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

Package: VBECS

Routine: VBECHLOR


Information

VBECHLOR ;;HOIFO/BNT-VBECS HL7 Order Update Message ; JULY 19, 2017@14:43

Source Information

Source file <VBECHLOR.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 2 $$HL7TFM^XLFDT  MSG^XQOR  
Health Level Seven 1 GENACK^HLMA1  
Order Entry Results Reporting 1 EN^ORERR  

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
Kernel 1 ^ORD(101  
VBECS 1 VBECS OMG CLIENT  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- main entry point for HL7 v1.6 message processing.
ORC
NMSP(NAME) ; -- Returns pkg namespace
MSA ; -- Process MSA segment
PID ; -- Process PID segment
; Sets PID, ORVP, ORTS if valid patient
PV1 ; -- Process PV1 segment
; Sets ORCAT, & ORL if valid location
ORDITEM(USID) ; -- Returns pointer to Orderable Item file for USID
URGENCY(CODE) ; -- Return ptr to Order Urgency file #101.42
FMDATE(Y) ; -- Convert HL7 date/time to FM format
ERROR ; -- Log an error and return ACK if necessary
GENACK ; -- Send and acknowldegement to original message
TEST ; Testing utility

External References

Name Field # of Occurrence
GENACK^HLMA1 GENACK+6
EN^ORERR ERROR+2
$$HL7TFM^XLFDT FMDATE+1
MSG^XQOR EN+27

Used in HL7 Interface

HL7 Protocol Name Call Tags
VBECS OMG CLIENT EN

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PID+8
^OR(100 - [#100] ORC+4
^ORD(101.42 - [#101.42] URGENCY+2
^ORD(101.43 - [#101.43] ORDITEM+3
^SC - [#44] PV1+4

Label References

Name Line Occurrences
$$FMDATE ORC+7, ORC+8, ORC+10
$$NMSP EN+15
$$URGENCY ORC+9
@( EN+21, EN+24
EN TEST+5
ERROR EN+16, EN+24, ORC+1, ORC+4, MSA+5, PID+10
GENACK EN+25, ERROR+4

Naked Globals

Name Field # of Occurrence
^(0 ORC+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CODE URGENCY~, URGENCY+1*, URGENCY+2
DFN PID+2~, PID+6*, PID+7*, PID+8
>> HL("ECH" ORC+2, ORC+3, ORC+14, PID+5, PID+6, PID+7, TEST+3*
>> HL("EID" GENACK+5, GENACK+6
>> HL("EIDS" GENACK+5, GENACK+6
>> HL("FS" EN+20, ORCORC+2, ORC+3, ORC+5, ORC+6, ORC+10, ORC+11, ORC+12, ORC+13
MSA+2, MSA+3, PID+4, PID+7, PID+9, PV1+3, GENACK+4, TEST+3*
>> HL("MID" GENACK+4
>> HL("MTN" EN+8, EN+15, TEST+4*
>> HL("RAN" TEST+3*
>> HL("SAN" EN+15, TEST+3*
>> HLA("HLA" GENACK+4*
>> HLEID GENACK+5*
>> HLEIDS GENACK+5*
>> HLMTIENS GENACK+6
>> HLNEXT EN+10
>> HLNODE EN+11
>> HLNODE( EN+12
>> HLQUIT EN+10
I EN+1~, EN+10*, EN+11, EN+12, PID+2~, PID+6*, PV1+2~
ID ORDITEM+1~, ORDITEM+2*, ORDITEM+3
J EN+1~, EN+11*, EN+12*
MSA GENACK+7!
>> MSA1 GENACK+2*, GENACK+3*, GENACK+4
NAME NMSP~, NMSP+1, NMSP+2, NMSP+3, NMSP+4, NMSP+5, NMSP+6, NMSP+7, NMSP+8
OI ORDITEM+1~, ORDITEM+3*, ORDITEM+4
ORACK EN+1~, EN+8*, EN+25, MSA+1*, ERROR+4
ORCAT EN+1~, PV1+3*
ORDCNTRL EN+2~, EN+24, ORC*, ORC+1
ORDSTS EN+2~, EN+27, ORC+5*
ORDUZ EN+2~, ORC+12*
OREASON EN+3~, ORC+11*, ORC+14, MSA+4*
ORERR EN+1~, EN+16*, EN+19, EN+22, EN+24, ORC+1*, ORC+4*, MSA+3*, MSA+4, PID+10*
ERROR+2, GENACK+3, GENACK+4
ORI EN+3~, EN+19*, EN+20
ORIFN EN+2~, ORC+2*, ORC+4
ORL EN+1~, PV1+4*
ORLOG EN+2~, ORC+10*
ORMSG EN+1~, EN+27, ERROR+2
ORMSG( EN+11*, EN+12*, EN+19, EN+20
ORNATR EN+3~, ORC+14*
ORNMSP EN+1~, EN+15*, EN+16, EN+17
ORNP EN+2~, ORC+13*
ORQT EN+2~, ORC+6*, ORC+7, ORC+8, ORC+9
>> ORQUIT ERROR+1*
ORSEG EN+3~, EN+20*, ORCORC+2, ORC+3, ORC+5, ORC+6, ORC+10, ORC+11, ORC+12
ORC+13, MSA+2, MSA+3, PID+4, PID+7, PID+9, PV1+3
ORSEGID EN+3~, EN+20*, EN+21
ORSTOP EN+2~, ORC+8*
ORSTRT EN+2~, ORC+7*
ORTN EN+2~, EN+17*, EN+24
ORTS EN+1~, PID+8*
ORTYPE EN+1~, EN+15*
ORURG EN+3~, ORC+9*
ORV ERROR+1~, ERROR+2
ORV("XQY0" ERROR+1*
ORVP EN+1~, ORC+4, PID+8*, PID+9*, PID+10
>> PID PID+7*
PIDLST PID+2~, PID+4*, PID+5, PID+6, PID+7
PKGIFN EN+2~, ORC+3*
>> RESULT GENACK+6
SEG PID+2~
SG EN+1~
SNDACK EN+1~
U ORC+4, ORC+7, ORC+8, ORC+9, MSA+4, ORDITEM+2
USID ORDITEM~, ORDITEM+2
>> VBTEST GENACK+1, TEST+2*
X PID+2~, PID+6*, PV1+2~, PV1+3*, PV1+4
Y FMDATE~, FMDATE+1

Marked Items

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