The Technical Steward for the MFA segment is Infrastructure and Messaging.
The MFA segment contains the following fields as defined in HL7 Attribute Table - MFA - Master File Acknowledgment
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
MFA | |||||||||
1 | Record-Level Event Code | ID | R | [1..1] | 00664 | [3..3] | |||
2 | MFN Control ID | ST | C | [0..1] | 00665 | 20 | # | ||
3 | Event Completion Date/Time | DTM | O | [0..1] | 00668 | ||||
4 | MFN Record Level Error Return | CWE | R | [1..1] | 00669 | ||||
5 | Primary Key Value - MFA | Varies | R | [1..*] | 01308 | ||||
6 | Primary Key Value Type - MFA | ID | R | [1..*] | 01320 | [2..3] |
Definition: This field defines record-level event for the master file record identified by the MFI segment and the primary key in this segment. Refer to HL7 Table 0180 - Record-level Event Code in Chapter 2C, Code Tables, for valid values.
Note: If the MFI-3 - File-level event code is "REP" (replace file), then each MFA segment must have an MFA-1 - Record-level event code of "MAD" (add record to master file).
Definition: This field contains a number or other identifier that uniquely identifies this change to this record from the point of view of the originating system. This field uniquely identifies the particular record (identified by the MFE segment) being acknowledged by this MFA segment. When returned to the originating system via the MFA segment, this field allows the target system to precisely identify which change to this record is being acknowledged. It is only required if MFI-6 - Response Level Code requires responses at the record level (any value other than NE).
Definition: This field may be required or optional depending on the site specifications for the given master file, master file event, and receiving facility.
Definition: This field contains the status of the requested update. Site-defined table, specific to each master file being updated via this transaction.
Refer to User-defined Table 0181 - MFN Record-level Error Return in Chapter 2C, Code Tables, for suggested values. All such tables will have at least the following two return code values: "S" for successful and "U" for unsuccessful.
Definition: This field uniquely identifies the record of the master file (identified in the MFI segment) for which the update status is being acknowledged (as defined by the field MFN-4 - Record Level Error Return). The data type of this field is defined by the value of MFA-6 - Value Type - MFA, and may take on the format of any of the HL7 data types defined in HL7 Table 0355 - Primary Key Value Type in Chapter 2C, Code Tables. The PL data type is used only on location master transactions. Refer to Table 0607 - Primary Key Value - MFA in Chapter 2C for valid values.
The repetition of the primary key permits the identification of an individual component of a complex record as the object of the record-level event code. This feature allows the Master Files protocol to be used for modifications of single components of complex records. If this field repeats, the field MFA-6 - Primary Key Value Type - MFA must also repeat (with the same number of repetitions), and the data type of each repetition of MFA-5 - Primary Key Value - MFA is specified by the corresponding repetition of MFA-6 - Value Type - MFA.
Definition: This field contains the HL7 data type of MFA-5 - Primary Key Value - MFA. The valid HL7 data types are listed in HL7 Table 0355 - Primary Key Value Type in Chapter 2C, Code Tables.