ACK

Acknowledgement

Overview

This message is used to indicate whether PKB received your message successfully or not. There is 1 success code (AA) and 2 error codes (AR or AE) that can be returned in MSA-1.1.

AR is used to indicate an error condition that we have checked for, e.g. a mandatory field was not included.

AE is used to indicate an unexpected error occurred.

Definition

ACK

Examples

PKB will respond with an ACK message; there are three possible acknowledgement codes.

  1. AA: Message received successfully

MSH|^~\&|HL7API|PKB|App|SendingInst|20190201102500+0000||ACK^R01|PKB-20190201102500+0000|P|2.4

MSA|AA|messageID

  1. AR: Message rejected due to validation errors (detail included)

MSH|^~\&;|HL7API|PKB|App|SendingInst|20190201112500+0000||ACK^R01|PKB-20190201112500+0000|P|2.4

MSA|AR|messageID|Parsing or validation error: OBR[1].OBX[2]: No observation timestamp in OBX or OBR

  1. AE: Unexpected error during processing (usually due to a severely malformed message)

MSH|^~\&;|HL7API|PKB|App|SendingInst|20190201122500+0000||ACK^R01|PKB-20190201122500+0000|P|2.4

MSA|AE|messageId|Unexpected error while processing: null