The HL7 Net Sender handler sends input HL7 records out to a network server address, via standard complied MLLP. It performs HL7 ‘handshaking’ and waits for an acknowledgement (ACK) before sending the next record to the server.
The following three parameters can be configured through the handler’s config file.
|server-address||IP address, DNS name, or hostname of the designated server.|
|server-port||The network port number to be connected for sending data.|
|connection-timeout-sec||An integer (as in seconds) for the timeout before sender aborts its connection attempt|
In the HL7Sender handler’s config in this example, once started and has incoming HL7 data, it will connect to an HL7 network server that is ready for receiving HL7 data over the network. The server is on the same computer as the ‘localhost’, which would be listening on port ‘1234’. Timeout waiting for ACK is set to 5 seconds in this example.
<Handler>HL7NetSender</Handler> <Parameters> <Parameter> <Name>server-address</Name> <Value>localhost</Value> </Parameter> <Parameter> <Name>server-port</Name> <Value>1234</Value> </Parameter> <Parameter> <Name>connection-timeout-sec</Name> <Value>5</Value> </Parameter> </Parameters>
The HL7 Net Receiver handler implements an HL7 server which can communicate with multiple clients currently via MLLP.