Sun Microsystems TCP Computer Hardware User Manual


 
Inbound HL7 V2 Collaboration - Part 3
After the 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.
If sequence numbering is enabled, the processAckNakSequenceNumbering method calculates
the next sequence number and stores the number in the sequence number le by calling the
updateSequenceNumberFile method to persist the next sequence number.
Outbound HL7 V2 Collaboration Overview
The outbound HL7 V2 Collaboration, jcdHL7Outbound, contains Message Libraries for the
HL7 Resource Adapter, JMS Data, HL7 ACK, JMS Journal, and JMS Error, as well as the
Generic HL7 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 Inbound HL7V2 Collaboration - Part 3
AboutTCP/IPHL7V2Collaborations
SunAdapterforTCP/IPHL7User's Guide • October2009114