TCP/IP MLP
HL7 Minimum Layer Protocol (MLP), also called Minimum Lower Layer Protocol (MLLP), is a basic encapsulation method for the transmission of HL7 messages.
The encapsulation is defined as a start block, the message, and an end block.
- The start block consists of a single byte with a value of 0x0B. This isthe ASCII VT character code.
- The end block consists of two characters with the values 0x1C followed by 0x0D. This is the ASCII characters codes for FS and CR.
Encapsulated data type on TCP/IP Protocol Properties dialog box
To use MLP, select Encapsulated Options dialog box.
, then select . This opens theThis table shows the parameters on the Encapsulated Options dialog box:
Parameter | Description |
---|---|
MLLP |
This is the default. The Start Block, End Block, Commit ACK, and Negative ACK options are disabled, so that the standard MLLP Start Block and End Block are used. The default Timeout is 30 seconds and the corresponding Timeout Handling is RESET. Both are selected automatically if no user-specified settings are loaded. |
MLLP2 | When this is selected, the Start Block, End Block, Commit ACK, and Negative ACK options are disabled, which means the related MLLP2 standard values are used. |
USER | When this is selected, the Start Block is enabled and is
empty by default. End
Block is also enabled and is populated with "\n,"
which means a new line separator is set by default. Start Block can be empty. End Block must have at least one byte. That is, one ASCII character. A user-specified Start Block and End Block can have up to 31 bytes. Lengths over this causes an error. |
USER2 | When this is selected, all components are enabled and editable. Start Block can be empty. End Block must have at least one byte. That is, one ASCII character. A user-specified Start Block, End Block, Commit ACK, and Negative ACK can have up to 31 bytes. Lengths over this causes an error. |
Timeout and Timeout Handling
The default time-out is 30 seconds and the corresponding default time-out handling is RESET. Only integers equal to or greater than -1 are accepted.
A time-out of -1 implies "none."
is disabled in this case.CLOSE. This specifies that the remote connection is to be closed.
can also be- For the server mode, it is up to the remote connection to reconnect to continue normal operations of message transfer.
- For the client mode, the connection is closed and an error status is returned to the engine.
The Timeout and options apply to all modes. If there are no time-out settings in NetConfig, then it works the same as the default settings.