HL7 Module 10.5 | Understanding and Using HL7 Module | Installing and Using HL7 Module | Configuring webMethods HL7 Module | Sending an Accept Acknowledgment | Original and Enhanced Acknowledgement Mode
 
Original and Enhanced Acknowledgement Mode
HL7 Module supports both the Original and Enhanced acknowledgment modes based on the MSH.15 and MSH.16 fields, following the HL7 standard. According to the HL7 standard, when both the MSH-15 (Accept acknowledgment type) and the MSH-16 (Application acknowledgment type) fields are null or not present, HL7 Module sends the acknowledgment using the Original acknowledgment mode. When at least one of the MSH-15 or MSH-16 fields is not null, the module sends the acknowledgment in the Enhanced acknowledgment mode.
The HL7 version 2.x message can be either accepted (CA), or rejected (CR) by the Receiver. The incoming HL7 version 2.x message is accepted when:
*The version of the received HL7 Message is supported by HL7 Module.
*The message type is valid for the given HL7 Message version.
*The Processing ID (MSH-11) for the received HL7 message is not null.
If the HL7 message does not meet the above criteria, the message is rejected.
When using the Original acknowledgment mode, HL7 Module includes in the MSA segment of the HL7 message the acknowledgment codes for the Original mode as defined by the HL7 standard. The following table describes the acknowledgment codes for the Original mode:
MSA Segment Value
Description
AA
Application Accept
The message was accepted by the receiver.
AR
Application Reject
The message has an application error and was not accepted by the receiver.
To identify the trading partner from the received HL7 Acknowledgment, HL7 Module processes the MSH Header of the acknowledgment, and interprets the MSH-3/MSH-4 and MSH-5/MSH-6 field pairs. For more information on partner identification, see Extracting the Sender and the Receiver from the HL7 Message Header.