The HL7 Listener can be configured to send one of the following acknowledgment codes in the event it fails to import a document from an HL7 message:
-
AR (Rejected)
-
AE (Error)
-
AA (Success)
By default, the HL7 Listener sends an acknowledgment code of AA (Success) regardless of whether an import is successful. If an import fails, an error notification is generated for the Report errors to user, but the application that sent the message is not notified of the failure.
As described in the HL7 standard, an acknowledgment code of AR (Rejected) or AE (Error) would be more appropriate for notifying a sending application that a message was not processed successfully.
To configure the acknowledgment code for import failures: