InboundHL7 V2 Collaboration - Part 3

Afterthe ACK is sent, the HL7 V2 message and the ACK are journaled to the JMS queue Journal
destination.If the message fails to journal, the associated recourse action is taken.
Ifsequence numbering is enabled, the processAckNakSequenceNumbering method calculates
thenext sequence number and stores the number in the sequence number le by calling the
updateSequenceNumberFilemethod to persist the next sequence number.
Outbound HL7V2 Collaboration Overview
Theoutbound HL7 V2 Collaboration, jcdHL7Outbound, contains Message Libraries for the
HL7Resource Adapter, JMS Data, HL7 ACK, JMS Journal, and JMS Error, as well as the
GenericHL7 Event. The Collaboration works with its own internal code and the properties
congurationles. The outbound Collaboration assumes that it is reading valid HL7 V2
messages,so the data ow that feeds this Collaboration must ensure this.
Exit
Recourse
Action if
failed to
journal
journalMessage()
Sends HL7 and ACK
message to JMS Journal
Destination
processAckNakSequenceNumbering()
Calculates the next sequence number
and stores the number in the sequence
number file.
YES
NO
Continued
Journal HL7
message?
JMS Message
consumed
and committed
Only if Sequence
Numbering is enabled
Calls udpateSequence
Number File to persist
the next sequence
number
FIGURE11 InboundHL7 V2 Collaboration - Part 3
AboutTCP/IPHL7 V2 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide • Oc tober 2009114