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.
PKB will respond with an ACK message; there are three possible acknowledgement codes.
AA: Message received successfully
MSH|^~\&|HL7API|PKB|App|SendingInst|20190201102500+0000||ACK^R01|PKB-20190201102500+0000|P|2.4
MSA|AA|messageID
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
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