Sun Microsystems TCP Computer Hardware User Manual


 
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
FIGURE13 Outbound HL7 V2Collaboration - Part2
AboutTCP/IPHL7V2Collaborations
SunAdapterforTCP/IPHL7User's Guide • October2009118