Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 148

Advertising
background image

HL7 V2 Standard Inbound Message Mode Data Flow over MLLPV2 —
Part 2

The Collaboration receives the HL7 V2 message from the external using
receiveHL7message()

. If an exception occurs due to incomplete data, and the adapter fails to

read the data within the configured number of retries, the associated recourse action is taken. If
the exception is due to no response, the associated recourse action is taken.

Exception

occurred?

Exception due

to incomplete

data

receiveAndSend()

Gets the HL7 message from

the external , validates it

and sends ACK/NAK

validateHL7Message()

Validates HL7 message and

determines if it should send

HL7 ACK / NAK

Calls other helper
methods to validate
message and
sequence
number

receiveHL7Message()

receives the HL7 message

from the external

NO

NO

YES

YES

Continue

Continued

Handle Max Failed

read retry.Take
recourse action

Handle No

reponse

error.Take

recourse action

Here the eWay receives the HL7 message,
persists the received message in a database,
sends MLLPV2 commit ack if the persistence is
successful or nak if not successful. If the
received message is a duplicate message,
the corresponding ack/nak is retrieved from
the database and sent to external. The
received message is returned as null so that
the collab can skip processing the message

FIGURE 25

HL7 V2 Standard Inbound Message Mode Data Flow over MLLPV2 — Part 2

MLLP V2 and the Sample Projects

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

148

Advertising
This manual is related to the following products: