MSA segment
The MSA segment contains information sent while acknowledging another message. 2.15.8.0 MSA field definitions 2.15.8.1 MSA-1 Acknowledgment Code (ID) 00018 Definition: This field contains an acknowledgment code, see message processing rules. Refer to HL7 Table 0008 - Acknowledgment code for valid values. HL7 Table 0008 - Acknowledgment code
The shape of one line
segmentMSA|MSA-1Acknowledgment Code|MSA-2Message Control ID|MSA-3Text Message|MSA-4Expected Sequence Number|MSA-5Delayed Acknowledgment…|MSA-6Error Condition
required optional kept for older systems, still counted
MSA-2 and its value arrives as MSA-1, so the receiver stores Message Control ID as Acknowledgment Code.This page carries the MSA field table as published and nothing beyond it. The field notes, vendor behaviour, FHIR mapping and parsing guidance that thePID page has are still to be written for MSA.
Every field
| SEQ | LEN | DT | OPT | RP/# | TBL# | ITEM# | Element name | Cardinality |
|---|---|---|---|---|---|---|---|---|
| MSA-1 | 2 | ID | R | 0008 | 00018 | Acknowledgment Code | 1..1 | |
| MSA-2 | 20 | ST | R | 00010 | Message Control ID | 1..1 | ||
| MSA-3 | 80 | ST | B | 00020 | Text Message deprecated | 0..1 | ||
| MSA-4 | 15 | NM | O | 00021 | Expected Sequence Number | 0..1 | ||
| MSA-5 | W | 00022 | Delayed Acknowledgment Type deprecated | 0..1 | ||||
| 250 | CE | B | 0357 | 00023 | Error Condition deprecated | 0..1 | ||
| ||||||||
Related
Message types carrying MSA
MSA appears in 63 message structures, belonging to 45 message types.