Troubleshooting guide

TD 92735EN
15 May 2012 / Ver. G
Installation and Operation Manual
Unite Connectivity Manager
220
Appendix H: Extracting Information from HL7 v2 Messages
The appendix describes how to configure the Event Handler for extracting information from
HL7 version 2 messages into event elements for event assignment.
The HL7 version 3 is an XML based protocol. See Appendix I: XML Message Handling in Event
Handler for more information.
H.1 HL7 Classic Style Message Definition
The HL7 protocol transfers simple messages, in which all data is transferred as ASCII data. A
message is terminated with the characters as defined in the Minimum Lower Level Protocol
(MLLP).
Each segment begins with a three-character literal value that identifies it within a message.
A segment is always terminated with an ASCII Carriage Return character. Segments may be
defined as required or optional and may be permitted to repeat.
The first segment is a message header (MSH). It contains the delimiter characters to be used
in the message (|^~\&) and other information. Each segment consists of several Data fields.
Data fields are separated with a vertical bar character '|'. Individual data fields are found in
the message by their position within their associated segments. A data field can consist of
more than one component. A component may have sub components. Fields may be
repeated.
Figure 106. A HL7 message.
Delimiters ASCII
VT = 11 (0x0B)
FS = 28 (0x1C)
CR = 13 (0x0D)
Figure 98.
Figure 99.
Figure 97.
HL7 Define by Suggested value Comment
Message MLLP start: <VT>
stop: <FS><CR>
Defined in TCP connection
parameters for the HL7-
MLLP TCP connection in the
ASCII Input Module
Segment HL7 stop: <CR> Defined static in Event
Handler configuration
Field 1
st
char after “MSH”
segment ID
‘|’ bar Defined by HL7 message
received by Event Handler.
Repetition 3
rd
char after “MSH”
segment ID
‘~’ tilde Defined by HL7 message
received by Event Handler.
Component 2
nd
char after “MSH”
segment ID
‘^’ circumflex Defined by HL7 message
received by Event Handler.