2. The Receiver sends the message to the Forwarder.
3. The Forwarder sends the message to the receiving External System.
4. The receiving External System sends an ACK to the Forwarder.
5. The Forwarder receives the ACK from the External and forwards it on to the Receiver.
6. The Receiver then forwards the ACK, with an MSH - 5, value “F” indicating that it is the
receiving External System’s ACK, to the Sender.
In the Receiver role, the HL7 RA is congured for inbound, and the inbound Collaboration is
used with the parameter Sends App Ack set to true. In the Forwarder role, the RA is set to
outbound, the parameter Forward External Acks to eGate, is set to true, and the outbound
Collaboration is selected.
This conguration table presents the necessary parameters used to congure the Adapter to
assume the Delayed ACK roles
TABLE1 AdapterDelayed ACKConguration
Role Direction SendsAppAckProperty ForwardExternalAcks
Sender Out True N/A
Receiver In True N/A
Forwarder Out N/A True
An example of the receiver role is provided in the prjHL7Inbound sample Project. The
prjHL7Outbound Project provides a sample implementation of the Forwarder role.
Inbound Functionality
The inbound TCP/IP HL7 Adapter Project, prjHL7Inbound, provides a sample
implementation of an inbound ow using the Adapter. It can be congured for standard
inbound mode or for forward message mode.
Inbound Adapter Data Flow
The inbound TCP/IP HL7 Adapter Project receives HL7 messages from an external system,
sends an acknowledgement of the message to the external, provides sequence numbering,
writes the HL7 message to a JMS data queue, and also writes the HL7 message and ACK to a
JMS journal queue. Any error messages and NAKs are sent to a JMS error queue.
The HL7 data is processed so all the elds in the MSH segment of the message are stored in an
internal structure to generate an HL7 response. Non-HL7 data, including HL7
acknowledgments, automatically generate warnings in the Adapter’s log le and send an HL7
NAK to the external system.
SunAdapterforTCP/IPHL7Overview
SunAdapterforTCP/IPHL7User's Guide • October200914