Outbound hl7 v2 collaboration - part 3, Hl7 v2 outbound test collaboration – Sun Microsystems Sun Adapter IP HL 7 User Manual
Page 119
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 file, 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
FIGURE 14
Outbound HL7 V2 Collaboration - Part 3
About TCP/IP HL7 V2 Collaborations
Sun Adapter for TCP/IP HL7 User's Guide
119