Exception
Occurred
Exception
due to
incomplete
data
InsertSequenceNumber()
insert the next sequence number
in the hl7 v3 message
sendHL7Message()
send the hl7 v3 message to
external using HL7eWays OTD
receiveHL7AckNak()
Get the HL7 Ack message
form the external
isAckMessage()
Validates message and
determines if message is Ack or Nak
validateAckNak()
Unmarshalls message to ACK otd.
YES YESNO NO
Continued
Continue
Only if sequence numbering is
enabled and ACK process
is deferred Mode
If ack mode is immediate,
Unmarshalls message to
MCCI_IN000004UV01 Otd,
or if it a deferred mode,
Unmarshalls message to
MCCI_IN000006UV01 Otd
Handle
Max failed read
retry.Take
recourse
action
Handle no
response error.
Take recourse
action
FIGURE21 Immediateand Deferred Mode of ACKProcess — Part 2
AboutTCP/IPHL7 V3 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide 137