visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.8.79 MFA - Master File Acknowledgment Segment (8.5.3)

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

HL7 Attribute Table - MFA - Master File Acknowledgment

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MFA
100664Record-Level Event Code SHALL[1..1][3..3]univ: Masterfile Action Code (CD) hl7VS-masterfileActionCode (VS) masterfileActionCode (CS)
ID

Coded Value for HL7 Defined Tables


200665MFN Control ID
C

Condition defined for this element

=

Truncation not allowed!

MAY[0..1] 20
ST

String Data

300668Event Completion Date/Time MAY[0..1] 
DTM

Date/Time

400669MFN Record Level Error Return SHOULD[1..1] repr: MfnRecord-levelErrorReturn (CD)
CWE

Coded with Exceptions

501308Primary Key Value - MFA SHOULD[1..*] PrimaryKeyValue-MFA (CD)
Varies

variable data type

601320Primary Key Value Type - MFA SHALL[1..*][2..3]univ: PrimaryKeyValueType (CD) hl7VS-primaryKeyValueType (VS) primaryKeyValueType (CS)
ID

Coded Value for HL7 Defined Tables

Conditions/Invariants

The root for the expression is on the segment.

Seq. Referenced Elements Introduction Invariant Comment
1 ?

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MFA
100664Record-Level Event Code SHALL[1..1][3..3]univ: Masterfile Action Code (CD) hl7VS-masterfileActionCode (VS) masterfileActionCode (CS)
ID

Coded Value for HL7 Defined Tables


200665MFN Control ID
C

Condition defined for this element

=

Truncation not allowed!

MAY[0..1] 20
ST

String Data

300668Event Completion Date/Time MAY[0..1] 
DTM

Date/Time

400669MFN Record Level Error Return SHALL[1..1] repr: MfnRecord-levelErrorReturn (CD) hl7VS-mfnRecode-levelErrorReturn (VS) mfnRecord-levelErrorReturn (CS)
CWE

Coded with Exceptions

501308Primary Key Value - MFA SHALL[1..*] PrimaryKeyValue-MFA (CD)
Varies

variable data type

601320Primary Key Value Type - MFA SHALL[1..*][2..3]univ: PrimaryKeyValueType (CD) hl7VS-primaryKeyValueType (VS) primaryKeyValueType (CS)
ID

Coded Value for HL7 Defined Tables

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
MFA 
100664Record-Level Event Code SHALL[1..1][3..3]univ: Masterfile Action Code (CD) hl7VS-masterfileActionCode (VS) masterfileActionCode (CS)
ID

Coded Value for HL7 Defined Tables

SHALL 

200665MFN Control ID
C

Condition defined for this element

=

Truncation not allowed!

MAY[0..1] 20
ST

String Data

MAY
300668Event Completion Date/Time MAY[0..1] 
DTM

Date/Time

MAY
400669MFN Record Level Error Return SHOULD[1..1] repr: MfnRecord-levelErrorReturn (CD)
CWE

Coded with Exceptions

SHALLhl7VS-mfnRecode-levelErrorReturn (VS) mfnRecord-levelErrorReturn (CS)
501308Primary Key Value - MFA SHOULD[1..*] PrimaryKeyValue-MFA (CD)
Varies

variable data type

SHALL
601320Primary Key Value Type - MFA SHALL[1..*][2..3]univ: PrimaryKeyValueType (CD) hl7VS-primaryKeyValueType (VS) primaryKeyValueType (CS)
ID

Coded Value for HL7 Defined Tables

SHALL 
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
MFA  
1 00664 Record-Level Event Code   O   [3..3] (0180)
ID

Coded Value for HL7 Defined Tables

R  

2 00665 MFN Control ID
C

Condition defined for this element

O     20=  
ST

String Data

   
3 00668 Event Completion Date/Time   O      
DTM

Date/Time

   
4 00669 MFN Record Level Error Return   O     (0181)
CWE

Coded with Exceptions

R  
5 01308 Primary Key Value - MFA   O Y   (0607)
Varies

variable data type

R  
6 01320 Primary Key Value Type - MFA   O Y [2..3] (0355)
ID

Coded Value for HL7 Defined Tables

R  
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
MFA
1 00664 Record-Level Event Code R   [3..3] (0180)
ID

Coded Value for HL7 Defined Tables

2 00665 MFN Control ID C     20=  
ST

String Data

3 00668 Event Completion Date/Time O      
DTM

Date/Time

4 00669 MFN Record Level Error Return R     (0181)
CWE

Coded with Exceptions

5 01308 Primary Key Value - MFA R Y   (0607)
Varies

variable data type

6 01320 Primary Key Value Type - MFA R Y [2..3] (0355)
ID

Coded Value for HL7 Defined Tables

18.8.79.1 MFA Field Definitions (8.5.3.0)

18.8.79.2 MFA-1 Record-Level Event Code (ID) 00664 (8.5.3.1)

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).

18.8.79.3 MFA-2 MFN Control ID (ST) 00665 (8.5.3.2)

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).

18.8.79.4 MFA-3 Event Completion Date/Time (DTM) 00668 (8.5.3.3)

Definition: This field may be required or optional depending on the site specifications for the given master file, master file event, and receiving facility.

18.8.79.5 MFA-4 MFN Record Level Error Return (CWE) 00669 (8.5.3.4)

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.

18.8.79.6 MFA-5 Primary Key Value - MFA (Varies) 01308 (8.5.3.5)

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.

18.8.79.7 MFA-6 Primary Key Value Type - MFA (ID) 01320 (8.5.3.6)

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.