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 |  Entry Points |  External References |  Label References |  Local Variables  | All
Print Page as PDF
Routine: DGMSTHL7

Package: Registration

Routine: DGMSTHL7


Information

DGMSTHL7 ;ALB/SCK - Military Sexual Trauma HL7 Message builder ;8 Jan 99

Source Information

Source file <DGMSTHL7.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Registration 3 $$EN^VAFHLEVN  $$EN^VAFHLPID  $$EN^VAFHLZEL  
Health Level Seven 2 INIT^HLFNC2  GENERATE^HLMA  
Kernel 1 $$NOW^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
EVENT(DFN,DGEVNT,DGRSLT) ; Entry point to initiate HL7 ADT message for a MST status event
; Input
; DFN - IEN of patient in the PATIENT File, #2
; DGEVNT - Event type, currently only A08 supported, Optional
; Default is A08
; DGRSLT - Location of results from event trigger
BLDMSG(EVNTINFO,XMTARRY) ;
; Input
; EVNTINFO - Array of event information
; ("DATE") - Event date
; ("DFN") - IEN of patient in PATIENT File (#2)
; ("EVENT") - HL7 message event
; ("SERVER") - HL7 Server protocol
SENDMSG(EVNTINFO,XMTARRY) ; Send ADT HL7 message
; Input
; EVNTINFO
; XMTARRY

External References

Name Field # of Occurrence
INIT^HLFNC2 BLDMSG+21, SENDMSG+21
GENERATE^HLMA SENDMSG+34
$$EN^VAFHLEVN BLDMSG+27
$$EN^VAFHLPID BLDMSG+35
$$EN^VAFHLZEL BLDMSG+42
$$NOW^XLFDT EVENT+28

Label References

Name Line Occurrences
$$BLDMSG EVENT+31
$$SENDMSG EVENT+33

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRY4HL7 SENDMSG+8~, SENDMSG+14*, SENDMSG+26, SENDMSG+29, SENDMSG+30, SENDMSG+38
DFN EVENT~, EVENT+12*, EVENT+13, EVENT+26
DGEVNT EVENT~, EVENT+15*, EVENT+16*, EVENT+17
DGRSLT EVENT~, EVENT+13, EVENT+17, EVENT+19*, EVENT+20, EVENT+31, EVENT+32, EVENT+33
EVNTDT EVENT+10~
EVNTINFO EVENT+10~, EVENT+31, EVENT+33, BLDMSG~, SENDMSG~
EVNTINFO("DATE" EVENT+28*, BLDMSG+27
EVNTINFO("DFN" EVENT+26*, BLDMSG+35, BLDMSG+42
EVNTINFO("EVENT" EVENT+27*, BLDMSG+27, BLDMSG+28
EVNTINFO("SERVER" EVENT+29*, BLDMSG+19, BLDMSG+20, BLDMSG+21, SENDMSG+17, SENDMSG+20, SENDMSG+21, SENDMSG+34
GLOREF EVENT+22~, EVENT+23*, EVENT+24, EVENT+31, EVENT+33
HL BLDMSG+14~, BLDMSG+21, SENDMSG+8~, SENDMSG+13!, SENDMSG+21
HL("" BLDMSG+22, SENDMSG+22
HL("FS" BLDMSG+27, BLDMSG+28
HL("Q" BLDMSG+27
HLECH BLDMSG+14~
HLEID BLDMSG+14~
HLFS BLDMSG+14~
HLP BLDMSG+14~, SENDMSG+34
HLQ BLDMSG+14~
HLRESLT SENDMSG+8~, SENDMSG+34, SENDMSG+35*, SENDMSG+40
KILLARRY SENDMSG+8~, SENDMSG+25*, SENDMSG+31*, SENDMSG+38
LASTLINE BLDMSG+14~, BLDMSG+29*, BLDMSG+30, BLDMSG+36*, BLDMSG+37, BLDMSG+43*, BLDMSG+44, BLDMSG+46
LINESADD BLDMSG+14~, BLDMSG+36*, BLDMSG+46
U BLDMSG+46
VAFEVN BLDMSG+25~, BLDMSG+27*, BLDMSG+28*, BLDMSG+30
VAFPID BLDMSG+33~, BLDMSG+35*, BLDMSG+37
VAFPID("" BLDMSG+36
VAFSTR BLDMSG+14~, BLDMSG+25~, BLDMSG+26*, BLDMSG+27, BLDMSG+34*, BLDMSG+35, BLDMSG+41*, BLDMSG+42
VAFZEL BLDMSG+40~, BLDMSG+42*, BLDMSG+44
XMTARRY BLDMSG~, BLDMSG+16*, BLDMSG+17*, BLDMSG+30, BLDMSG+37, BLDMSG+44, SENDMSG~, SENDMSG+9*, SENDMSG+10*, SENDMSG+11
, SENDMSG+26, SENDMSG+28, SENDMSG+30
Info |  Source |  Call Graph |  Entry Points |  External References |  Label References |  Local Variables  | All