Sun Microsystems Sun Adapter IP HL 7 User Manual
Page 118
Can result in
archiving the
HL7 message/with
NAK in
ERROR Queue
Calls other helper
methods such as
checkSendingReceiving
Application and
checkSendingReceiving
Facility to validate
the ACK message
Exception
occurred?
Exception
due to incomplete
data?
receiveHL7AckNak() Get the
HL7 ACK message from External
isAckMessage() Validates
message and determines if
message is ACK or NAK
validateAckNak() Unmarshalls
message to ACK OTD and do
MSH/MSA data validations
ACK message
passed
validation?
NAK message?
NO
NO
NO
NO
YES
YES
YES
YES
Continue
Continued
Handle
Max Failed
Read
Retry/Take
Recourse
Action
Handle No
Response
Error/Take
Recourse
Action
Handle NAK
contition/Take
Recourse
Action
FIGURE 13
Outbound HL7 V2 Collaboration - Part 2
About TCP/IP HL7 V2 Collaborations
Sun Adapter for TCP/IP HL7 User's Guide • October 2009
118