The MSA segment contains information sent while acknowledging another message.
SEQ |
LEN |
DT |
OPT |
RP/# |
TBL# |
ITEM # |
ELEMENT NAME |
1 |
2 |
ID |
R |
0008 |
00018 |
Acknowledgment Code |
|
2 |
20 |
ST |
R |
00010 |
Message Control ID |
||
3 |
80 |
ST |
O |
00020 |
Text Message |
||
4 |
15 |
NM |
O |
00021 |
Expected Sequence Number |
||
5 |
1 |
ID |
B |
0102 |
00022 |
Delayed Acknowledgment Type |
|
6 |
100 |
CE |
O |
00023 |
Error Condition |
2.24.2.0 MSA field definitions
Definition: This field contains an acknowledgment code, see message processing rules. Refer to HL7 table 0008 - Acknowledgment code for valid values.
Table 0008 - Acknowledgment code
Value |
Description |
AA |
Original mode: Application Accept
|
AE |
Original mode: Application Error
|
AR |
Original mode: Application Reject
|
CA |
Enhanced mode: Accept acknowledgment: Commit Accept |
CE |
Enhanced mode: Accept acknowledgment: Commit Error |
CR |
Enhanced mode: Accept acknowledgment: Commit Reject |
Definition: This field contains the message control ID of the message sent by the sending system. It allows the sending system to associate this response with the message for which it is intended.
Definition: This optional field further describes an error condition. This text may be printed in error logs or presented to an end user.
Definition: This optional numeric field is used in the sequence number protocol.
Definition: This field has been retained for backward compatibility. This field is used only as described above, in Section 2.12.2, "Application (level 7) processing rules, deferred processing xe "Processing rules: application" xe "Processing rules: deferred" two phase reply (original acknowledgment mode only)." Otherwise this field is not used.
Table 0102 - Delayed acknowledgment type
Value |
Description |
D |
Message received, stored for later processing |
F |
acknowledgment after processing |
Components: <identifier (ID)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ID)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>
Definition: This field allows the acknowledging system to use a user-defined error code to further specify AR or AE type acknowledgements. This field is a generalized replacement for MSA-3-text message.