Healthcare Interoperability Blog

interfaceware.com
  • Iguana Integration Engine
  • Resource Center
  • Blog
Home HL7 Standard: The ACKnowledgment Protocol

HL7 Standard: The ACKnowledgment Protocol

HL7 acknowledgement protocol

An important part of the HL7 standard is the ACKnowledgment protocol.

Every time an application accepts a message and consumes the message data, it is expected to send an ACKnowledgment message back to the sending application.

The sending application is expected to keep on sending a message until it has received an ACK message.

If you do not follow this rule, data may be lost in transmission.

An acknowledgment message consists of two segments:

  • An MSH segment, which contains information about the sending and receiving applications and contains the Message Control ID of the message;
  • An MSA segment, which indicates whether the message was accepted or rejected.

The diagram below shows a typical ACK message with the important fields labelled:

ACK Message

An acknowledgment message is not sent until the data in the HL7 message has been read and consumed.

The Message Control ID, which is specified in field 10 of the MSH segment, is a unique identifier that is associated with a particular HL7 message.

When a message is processed and acknowledged, field 10 of the MSH segment of the acknowledgment message contains the same identifier as the message that it is acknowledging.

This is how applications can keep track of what messages have been successfully acknowledged.

The MSA segment indicates whether the message that is being acknowledged was processed successfully.

The first field of the MSA segment contains the acknowledge status, which is one of the following:

Acknowledge Status Meaning
AA Positive acknowledgment: the message was successfully processed.
AE Application error: there is a problem processing the message. The sending application must correct the problem before attempting to resend the message.
AR Application reject: there is a problem with field 9, field 11 or field 12 of the MSH segment of the incoming message, or there is a problem with the receiving application that is not related to the message or its structure.

Over 120 different HL7 segments are available for use in HL7 messages to communicate health data. For further details on the HL7 message structure, including in depth information on segments, composites and delimiters, visit iNTERFACEWARE’s comprehensive guide to HL7.

Looking for professional advice? Iguana is the leading HL7 integration engine on the market, trusted globally for 20+ years. To learn more about HL7 data exchange, contact one of our integration engine experts today.

Additional Resources:


blog-cta-5-ways

Sep 21, 2021iNTERFACEWARE
  • Email
  • LinkedIn
  • More
  • Facebook
  • Twitter

Related

Is High Availability For Your Integration Platform Worth It?Understanding HL7 Messages: HL7 Composites
September 21, 2021 HL7 Informationacknowledgement protocol, HL7, hl7 standard, integration engine
Enjoying this blog?

Sign up to receive healthcare integration news, just like this, from iNTERFACEWARE Inc.

iNTERFACEWARE needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Privacy Policy.

Resources

Integration Resources & Guides

HL7 Resources

Iguana Case Studies

Iguana Integration Engine

Overview: Integration Engine

Features: Building HL7 Interfaces

Benefits: Why Choose Iguana

Company

About Us

Integration Services

Contact Us

Connect

LinkedIn

Twitter

YouTube

© - iNTERFACEWARE Inc.