■Noresponse is received after a message is sent the maximum number of times.
Outbound FunctionalityTheoutbound TCP/IP HL7 Adapter Project, prjHL7Outbound, can be implemented in
standardoutbound mode or in two forward message modes: outbound delayed ACK or
outboundforwarder.
OutboundAdapter Data Flow
Inoutbound mode, the Adapter receives HL7 messages from a JMS queue. Each message is
veriedto ensure it contains HL7 data only. Legitimate HL7 data is enveloped into its
conguredformat and sent to the external system.
Amessage in the JMS queue triggers the outbound Collaboration. The outbound Collaboration
isprovided with an HL7 message to send to the external system
TheAdapter waits for a congurable number of milliseconds for an incoming HL7 ACK or
NAKfrom the external system. After receiving an HL7 response from the external system, the
Adapterstrips the message from its envelope and veries its integrity.
Anynon-HL7 acknowledgment received from the external system causes the Adapter to resend
thesame message. If the incoming response is an HL7 ACK or NAK, the Adapter might do
eitherof the following, as dictated by its conguration:
■Recourseaction on NAK received.
■Recourseaction on Max NAK received.
Ifjournaling is set, these messages and their ACKs are placed in the journal le.
OutboundStandard Messaging Mode
Thefollowing steps describe the process for the Outbound Standard Message Mode:
1. AnHL7 message triggers the Collaboration. The outbound Collaboration is designed to
acceptthe HL7 messages.
2. TheCollaboration maps the received message into the Generic Event Message Library and
validatesthe MSH segment. If validation is enabled, the Collaboration checks the MSH
segmentof the outbound messages against MSH values congured in the Adapter
propertiesle. If the validation fails or the message cannot be parsed, the message and its
errorare written to the error queue. Note that the HL7 message is always checked for
structuralcorrectness.
3. TheCollaboration sends the message to the RA.
4. TheRA envelopes the message and sends it to the External System and waits for an ACK.
SunAdapterfor TCP/IP HL7 Overview
SunAdapterfor TCP/IP HL7 User's Guide 17