VersionCode, Processing Code, Processing Mode Code, and Interaction ID. If these elds do
notmatch the conguration, a NAK is returned.
TheCollaboration receives the HL7 V3 message from the external using
receiveHL7Message().If an exception occurs due to incomplete data, and the adapter fails to
readthe data within the congured number of retries, the associated recourse action is taken. If
theexception is due to no response, the associated recourse action is taken.
HL7V3 Standard Inbound Message Mode Data Flow (For ImmediateModeof ACK Process) — Part 2
Ifno exception occurs, validateHL7Message() is called, which validates the message to
determinewhether to ACK or NAK the message. Other helper methods are also called to
validatethe HL7 V3 message.
Ifthe HL7 V3 message does not pass validation, the Collaboration calls makeNak() and
sendHL7Nak()to create and send the NAK to the external. The HL7 V3 message, with the NAK,
isarchived to the error queue. If the number of consecutive NAKs sent surpasses the maximum
numberof retries, the associated recourse action is taken.
Ifthe HL7 V3 message passes validation, the Collaboration calls makeAck() and sendHL7Ack()
tocreate and send the ACK to the external.
Afterthe ACK is sent, the HL7 V3 message and the ACK are journaled to the JMS queue journal
destination.If the message fails to journal the associated recourse action is taken.
AboutTCP/IPHL7 V3 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide 125