beautypg.com

Inbound hl7 v2 collaboration - part 3, Outbound hl7 v2 collaboration overview – Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 114

background image

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 file 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
configuration files. The outbound Collaboration assumes that it is reading valid HL7 V2
messages, so the data flow 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

FIGURE 11

Inbound HL7 V2 Collaboration - Part 3

About TCP/IP HL7 V2 Collaborations

Sun Adapter for TCP/IP HL7 User's Guide • October 2009

114

This manual is related to the following products: