Sun Microsystems Sun Adapter IP HL 7 User Manual
Page 126
validateHL7Message()
Validates V3 message and
determines if it should send
ACK/NAK
HL7 V3
Message
passed
Validation?
sendHL7ACK() Sends HL7
V3(MCCI_IN000004U
V01) immediate
ACK Message
SendHL7NAK()
Sends HL7 v3
(MCCI_IN000004UV01)
immediate
NAK message
Calls other helper
methods(makeNAK())
to make V3 NAK
message and send it
Calls other helper methoss
to validate HL7 v3
message
JournalMessage().
Sends HL7 v3
And V3 ACK
messsages to
JMS Journal Destination
JMS Message
consumed
and committed
archive
ErrorMessage()
Handle max
Nak sent
Condition/Ta
ke recourse
action
journalHL7
Message()
Exit
Recourse
action if failed
to journal
Journal
HL7 v3
Message?
YES
YES
NO
Continued
NO
Calls other helper methods
(makeACK())to make V3
ACK message and send it
FIGURE 16
Immediate Mode of ACK Process — Part 2
About TCP/IP HL7 V3 Collaborations
Sun Adapter for TCP/IP HL7 User's Guide • October 2009
126