Sun Microsystems IP HL 7 Computer Hardware User Manual


 
receiveAndSend()
Gets the HL7 v3 message
from the external , validates
it and sends ACK/NAK
receiveHL7Message()
receives the HL7 v3
message from the external
validateHL7Message()
Validates V3 message and message does
not have valid sequence number if sequence
number is enabled and determines if it
should send ACK/NAK (Insert expected
sequence number in the ACK or NAK
if sequence number is enabled)
SendHL7NAK()
Sends HL7 v3(MCCI_IN000006UV01)
commit NAK message if accept
ack is required or send HL7
v3 Application NAK
(MCCI_IN000007UV01))
Calls other helper methods
(makeCommitNAK()
or makeAppNAK()) to make
V3 NAK message and send it
Calls other helper methods to
validate message and
sequence number
Exception
occurred?
Exception
due
to incomplete
data
Handle Max
Failed read
retry.Take
recourse
action
archiveError
Message()
Handle max
Nak sent
Condition/Take
recourse action
Handle No
reponse
error.Take
recourse
action
HL7 V3
Message passed
Validation?
YES
YESYES
NO
NO
Continued
Continue
FIGURE18 Deferred Modeof ACK Process —Part 2
AboutTCP/IPHL7V3Collaborations
SunAdapterforTCP/IPHL7User's Guide 131