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

18.8.81 MFI - Master File Identification Segment (8.5.1)

The Technical Steward for the MFI segment is Infrastructure and Messaging.

The fields in the MFI segment are defined in HL7 Attribute Table - MFI.

HL7 Attribute Table - MFI - Master File Identification

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MFI
100658Master File Identifier SHOULD[1..1] univ: MasterFileIdentifierCode (CD)
CWE

Coded with Exceptions

200659Master File Application Identifier MAY[0..*] Application (CD)
HD

Hierarchic Designator

300660File-Level Event Code SHALL[1..1][3..3]univ: FileLevelEventCode (CD) hl7VS-file-levelEventCode (VS) file-levelEvent (CS)
ID

Coded Value for HL7 Defined Tables

400661Entered Date/Time MAY[0..1] 
DTM

Date/Time

500662Effective Date/Time MAY[0..1] 
DTM

Date/Time

600663Response Level Code SHALL[1..1][2..2]univ: V2ResponseLevel (CD) hl7VS-responseLevel (VS) responseLevel (CS)
ID

Coded Value for HL7 Defined Tables

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MFI
100658Master File Identifier SHALL[1..1] univ: MasterFileIdentifierCode (CD) hl7VS-masterFileIdentifierCode (VS) masterFileIdentifierCodes (CS)
CWE

Coded with Exceptions

200659Master File Application Identifier MAY[0..*] Application (CD)
HD

Hierarchic Designator

300660File-Level Event Code SHALL[1..1][3..3]univ: FileLevelEventCode (CD) hl7VS-file-levelEventCode (VS) file-levelEvent (CS)
ID

Coded Value for HL7 Defined Tables

400661Entered Date/Time MAY[0..1] 
DTM

Date/Time

500662Effective Date/Time MAY[0..1] 
DTM

Date/Time

600663Response Level Code SHALL[1..1][2..2]univ: V2ResponseLevel (CD) hl7VS-responseLevel (VS) responseLevel (CS)
ID

Coded Value for HL7 Defined Tables

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
MFI 
100658Master File Identifier SHOULD[1..1] univ: MasterFileIdentifierCode (CD)
CWE

Coded with Exceptions

SHALLhl7VS-masterFileIdentifierCode (VS) masterFileIdentifierCodes (CS)
200659Master File Application Identifier MAY[0..*] Application (CD)
HD

Hierarchic Designator

MAY
300660File-Level Event Code SHALL[1..1][3..3]univ: FileLevelEventCode (CD) hl7VS-file-levelEventCode (VS) file-levelEvent (CS)
ID

Coded Value for HL7 Defined Tables

SHALL 
400661Entered Date/Time MAY[0..1] 
DTM

Date/Time

MAY
500662Effective Date/Time MAY[0..1] 
DTM

Date/Time

MAY
600663Response Level Code SHALL[1..1][2..2]univ: V2ResponseLevel (CD) hl7VS-responseLevel (VS) responseLevel (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
MFI  
1 00658 Master File Identifier   O     (0175)
CWE

Coded with Exceptions

R  
2 00659 Master File Application Identifier   O y    
HD

Hierarchic Designator

  (0361)
3 00660 File-Level Event Code   O   [3..3] (0178)
ID

Coded Value for HL7 Defined Tables

R  
4 00661 Entered Date/Time   O      
DTM

Date/Time

   
5 00662 Effective Date/Time   O      
DTM

Date/Time

   
6 00663 Response Level Code   O   [2..2] (0179)
ID

Coded Value for HL7 Defined Tables

R  
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
MFI
1 00658 Master File Identifier R     (0175)
CWE

Coded with Exceptions

2 00659 Master File Application Identifier O y   (0361)
HD

Hierarchic Designator

3 00660 File-Level Event Code R   [3..3] (0178)
ID

Coded Value for HL7 Defined Tables

4 00661 Entered Date/Time O      
DTM

Date/Time

5 00662 Effective Date/Time O      
DTM

Date/Time

6 00663 Response Level Code R   [2..2] (0179)
ID

Coded Value for HL7 Defined Tables

18.8.81.1 MFI Field Definitions (8.5.1.0)

18.8.81.2 MFI-1 Master File Identifier (CWE) 00658 (8.5.1.1)

Definition: This field is a CWE data type that identifies a standard HL7 master file. This table may be extended by local agreement during implementation to cover site-specific master files (z-master files). HL7 recommends use of the HL7 assigned table number as the master file identifier code if one is not specified in Table 0175. For example, a master file of Marital Status codes would be identified by HL70002 as the MFI-1 - Master file identifier. Refer to HL7 Table 0175 - Master File Identifier Code in Chapter 2C, Code Tables, for valid values.

18.8.81.3 MFI-2 Master File Application Identifier (HD) 00659 (8.5.1.2)

Definition: This field contains an optional code of up to 180 characters which (if applicable) uniquely identifies the application responsible for maintaining this file at a particular site. A group of intercommunicating applications may use more than a single instance of a master file of certain type (e.g., charge master or physician master). The particular instance of the file is identified by this field. Refer to User-defined table 0361 - Applications.

18.8.81.4 MFI-3 File-Level Event Code (ID) 00660 (8.5.1.3)

Definition: This field defines the file-level event code. Refer to HL7 Table 0178 - File Level Event Code in Chapter 2C, Code Tables, for valid values.

Note: The replace option allows the sending system to replace a file without sending delete record-level events for each record in that file. UPD means that the events are defined according to the record-level event code contained in each MFE segment in that message.
If the MFI-3 - File-Level Event Code is "REP" (replace file), then each MFE segment must have an MFE-1 - Record-Level Event Code of "MAD" (add record to master file).

18.8.81.5 MFI-4 Entered Date/Time (DTM) 00661 (8.5.1.4)

Definition: This field contains the date/time for the file-level event on originating system.

18.8.81.6 MFI-5 Effective Date/Time (DTM) 00662 (8.5.1.5)

Definition: This optional field contains the effective date/time, which can be included for file-level action specified. It is the date/time the originating system expects that the event is to have been completed on the receiving system. If this field is not present, the action date/time should default to the current date/time (when the message is received).

18.8.81.7 MFI-6 Response Level Code (ID) 00663 (8.5.1.6)

Definition: These codes specify the application response level defined for a given Master File Message at the MFE segment level as defined in HL7 Table 0179 - Response Level in Chapter 2C, Code Tables. Required for MFN-Master File Notification message. Specifies additional detail (beyond MSH-15 - Accept Acknowledgment Type and MSH-16 - Application Acknowledgment Type) for application-level acknowledgment paradigms for Master Files transactions. MSH-15 - Accept Acknowledgment Type and MSH-16 - Application Acknowledgment Type operate as defined in Chapter 2.