Sun Microsystems TCP Computer Hardware User Manual


 
Outbound HL7 V2 Collaboration - Part 3
If the ACK message passes validation, the HL7 V2 message and ACK message are sent to the
JMS 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, calling
updateSequenceNumberFile to persist the next sequence number.
HL7 V2 Outbound Test Collaboration
In addition to the inbound and outbound HL7 V2 Collaborations, an outbound test
Collaboration, jcdHL7OutboundTestDriver, is provided to test the HL7 V2 outbound and HL7
V2 outbound delayed ACK samples.
The jcdHL7OutboundTestDriver Collaboration simply picks up HL7 V2 messages from the
File Adapter and sends the message to the JMS queue. This is used by the sample Projects to test
the number of HL7 V2 messages processed per minute.
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
udpateSequenceNumber
File to persist the next
sequence number
FIGURE14 Outbound HL7 V2Collaboration - Part3
AboutTCP/IPHL7V2Collaborations
SunAdapterforTCP/IPHL7User's Guide 119