ACK Messages
Contents
When a message is sent and the data is consumed, the HL7 protocol requires that the receiver send back a valid HL7 ACKnowledgment message. Setting up ACKnowledgment messages can be an annoying detail of HL7. It is desirable to be able to alter the format of ACK messages on the fly without needing to alter your application’s source code (in the case of Chameleon). With Iguana, the format of ACK messages can be customized by editing the message definition file (VMD).
Messages
Every HL7 message is part of a two-way communication system between two applications. A message that is sent to a system must somehow be acknowledged by the recipient. Acknowledgments, known in the HL7 world as ACKs, let the sending system know that their original message was successfully received and processed. This two-way communication is demonstrated in the following diagram:
If the message was successfully sent, a positive ACK message is sent to the sending system and the communication is over for that particular message. A positive ACK is indicated by using an AA (Application Acknowledgment) value in the first field of the MSA segment. This code indicates that the message has been received and processed without any issues.