Sun Microsystems TCP Computer Hardware User Manual


 
HL7 Adapter Sender Role
The outbound Collaboration is the implementation of the Sender and the RA is congured for
an outbound data ow. A Java CAPS Service forwards the data to the Adapter, which in turn
forwards the data to the accepting HL7 external system. The External System responds with an
ACK or NAK response.
HL7 Adapter Receiver Role
The inbound Collaboration is the implementation of the Receiver role in conjunction with the
RA being congured for inbound direction. The Adapter accepts a message from the sending
HL7 external system, forwards the data to a Java CAPS Service, and responds to the sending
system with an ACK or a NAK response.
Delayed ACK Mode
Delayed ACK mode is an extension to the basic HL7 message exchange mode, where there is
some middleware component between the Sender and the Receiver. The sending system
expects to receive the ACK from the receiving system in addition to the middleware
component. In this mode, the ESB can assume two roles in the protocol: as the Sender and as the
Receiver.
ESB Sender Role
In this role, the ESB acts as the Sender in the exchange. The HL7 RA is congured for the
outbound direction, and the HL7 outbound Collaboration is congured so the Sends App Ack
property is set to True. This parameter is used even though the ESB technically does not send an
application ACK. Rather, it receives the application ACK and provides the compliment
behavior to the ACK sent by the inbound congured Adapter. The two are related in the
protocol.
The purpose of this role is for the ESB to act as if it is a system that requires the Delayed ACKs so
that it can communicate with a system that operates in the Delayed ACK Receiver role. An
example implementation of this role is available in the HL7Outbound sample Project.
ESB Receiver and Forwarder Role
To perform this role, the ESB is congured with two instances of the HL7 Adapter , each
performing its own role as Receiver or Forwarder.
Note For Delayed ACK, the Receiver and Forwarder must be on the same integration server.
The following steps convey the steps taken in this scenario.
1. The Receiver accepts the HL7 message. It then returns the rst ACK, with an MSH - 5, value
“D” (for the Delayed ACK), to the Sender.
SunAdapterforTCP/IPHL7Overview
SunAdapterforTCP/IPHL7User's Guide 13