TCP/IP protocols mean that the data just starts coming in a stream, so how do you know where one HL7 message ends and the next one starts?
There is no set size. Some messages are quite concise, with a couple segments. Other HL7 standard messages are extremely long with repeating observation segments that contain an entire doctor’s report. Minimal Lower-Layer Protocol (MLP) is how you wrap an HL7 message with a header and footer to insure you know where a message starts, where a message stops, and where the next message starts.
These headers and trailers are usually non-printable characters that would not typically be in the content of HL7 messages.
The header is a vertical tab character <VT> its hex value is 0x0b.
The trailer is a field separator character <FS> (hex 0x1c) immediately followed by a carriage return <CR> (hex 0x0d)
It will look like this:
<VT>(hex 0x0b) |
HL7 Message goes here | <FS>(hex 0x1c) |
<CR>(hex 0x0d) |
You may find that some clinical applications do not adhere to this standard. In these cases, it is extremely helpful to have flexible interface tools to adjust to the custom wrapping or no wrapping such that HL7 messages are properly recognized by your system.


(4.45 out of 5).gif)



Alex,
Release 2 of MLLP enhances the well-known MLLP protocol by an ack/nak message, effectively turning MLLP into a reliable messaging protocol. See http://www.hl7.org/v3ballot/html/infrastructure/transport/transport-mllp.htm (a v3 spec, but it also covers HL7 v2).
TTYL,
-Rene
[...] A method for moving data [...]
[...] Details – Most HL7 interfaces transmit data over TCP/IP. That being the case, it is important to get the IP address and port information where these [...]
[...] support special communications needs that are not handled by the standard TCP/IP connection, such as custom acknowledgements or encryption, as well as non-HL7 formats that may have been [...]
[...] MLLP (Minimal Lower Layer Protocol) [...]
[...] Details – Most HL7 interfaces transmit data over TCP/IP. That being the case, it is important to get the IP address and port information where these [...]
[...] a self-professed “HL7 neophyte”, while minutes later I may be on a call to review customized TCP/MLPmessage framing test results with a beleaguered multi-tasker. Thus, while some are very conversant [...]