Purpose
The HL7 Net Receiver handler accepts client connections and receives HL7 records from these incoming connections. As a network server, the HL7 Net Receiver handler listens to a predefined port and communicate with its client. Such communicate is standard complied MLLP. It performs HL7 ‘handshaking’ and waits for an acknowledgement (ACK) before sending the next record to the server.
Parameters
The following three parameters can be configured through the handler’s config file.
Name | Values | Remark |
server-port | Integer 1-65535 | The network port number to be connected for clients sending data. |
connection-timeout-sec | Integer (as in seconds) | for the timeout before this receiver actively disconnect inactive connections. |
Config Example
In the HL7NetReceiver handler’s config in this example, it listens to port 1236 for incoming client connection. Timeout for disconnecting inactive connections is set to 60 seconds in this example.
<Handler>HL7NetReceiver</Handler>
<Parameters>
<Parameter>
<Name>server-port</Name>
<Value>1236</Value>
</Parameter>
<Parameter>
<Name>connection-timeout-sec</Name>
<Value>60</Value>
</Parameter>
</Parameters>
See Also
The HL7 Net Sender handler.