DFN |
Input |
DFN - Pointer to entry in PATIENT file (#2) for
building message.
|
EVNTHL7 |
Input |
EVNTHL7 - HL7 ADT event to build message for
(Defaults to A08)
Currently supported event types: A04, A08, A28.
|
EVNTDATE |
Input |
EVNTDATE - Date/time event occurred in FileMan format
- Defaults to current date/time (NOW)
|
EVNTINFO |
Input |
EVNTINFO - Array containing further event information
needed when
building HL7 segments/message. Use and subscripting of
array is determined by segment and/or message being built.
- Defaults to ^TMP("VAFCMSG",$J,"EVNTINFO")
Current subscripts include:
EVNTINFO("DFN") = Pointer to PATIENT file (#2)
EVNTINFO("EVENT") = Event type
EVNTINFO("DATE") = Event date/time
EVNTINFO("PIVOT") = Pointer to ADT/HL7 PIVOT file
(#391.71)
EVNTINFO("REASON",X) = Event reason codes
EVNTINFO("USER") = User associated with the event
|
XMITARRAY |
Both |
As Input: XMITARRY - Array to build message into
(full global reference)
- Defaults to ^TMP("HLS",$J)
As Output: XMITARRY(N) = Line N of message XMITARRY(N,M) = Continuation
number M of line N
|
INSRTPNT |
Input |
INSRTPNT - Line to begin inserting message text at
- Defaults to 1 (can not be zero or less)
|
$$BLDMSG |
Output |
LastLine^TotalLine = ADT-Axx message was build Where
LastLine = Last line number in message and TotalLine = Number of lines in
message (this total includes continuation lines) OR -1^ErrorText = Error
generating ADT-Axx message
|