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

18.8.82 MRG - Merge Patient Information Segment (3.4.10)

The MRG segment provides receiving applications with information necessary to initiate the merging of patient data as well as groups of records. It is intended that this segment be used throughout the Standard to allow the merging of registration, accounting, and clinical records within specific applications.

The assigning authority, the fourth component of the patient identifiers, is an HD data type that is uniquely associated with the assigning authority that originally assigned the number. A given institution, or group of intercommunicating institutions, should establish a list of assigning authorities that may be potential assignors of patient identification (and other important identification) numbers. The list will be one of the institution's master dictionary lists. Since third parties (other than the assignors of patient identification numbers) may send or receive HL7 messages containing patient identification numbers, the assigning authority in the patient identification numbers may not be the same as those of the sending and receiving systems identified in the MSH. The assigning authority must be unique across applications at a given site. This field is required in HL7 implementations that have more than a single Patient Administration application assigning such numbers.

HL7 Attribute Table - MRG - Merge Patient Information

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MRG
100211Prior Patient Identifier List SHOULD[1..*] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

200212Prior Alternate Patient ID
W

withdrawn Element

SHOULD NOT   
300213Prior Patient Account Number MAY[0..1] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

400214Prior Patient ID
W

withdrawn Element

SHOULD NOT   
501279Prior Visit Number MAY[0..1] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

601280Prior Alternate Visit ID MAY[0..*] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

701281Prior Patient Name MAY[0..*] univ: NameType (CD)
XPN

Extended Person Name

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
MRG
100211Prior Patient Identifier List SHALL[1..*] univ: CheckDigitScheme (CD) hl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
CX

Extended Composite ID with Check Digit

200212Prior Alternate Patient ID
W

withdrawn Element

SHOULD NOT   
300213Prior Patient Account Number MAY[0..1] univ: CheckDigitScheme (CD) hl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
CX

Extended Composite ID with Check Digit

400214Prior Patient ID
W

withdrawn Element

SHOULD NOT   
501279Prior Visit Number MAY[0..1] univ: CheckDigitScheme (CD) hl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
CX

Extended Composite ID with Check Digit

601280Prior Alternate Visit ID MAY[0..*] univ: CheckDigitScheme (CD) hl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
CX

Extended Composite ID with Check Digit

701281Prior Patient Name MAY[0..*] univ: NameType (CD) hl7VS-nameType (VS) nameType2 (CS)
XPN

Extended Person Name

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
MRG 
100211Prior Patient Identifier List SHOULD[1..*] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

SHALLhl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
200212Prior Alternate Patient ID
W

withdrawn Element

SHOULD NOT   SHOULD NOT
300213Prior Patient Account Number MAY[0..1] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

MAYhl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
400214Prior Patient ID
W

withdrawn Element

SHOULD NOT   SHOULD NOT
501279Prior Visit Number MAY[0..1] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

MAYhl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
601280Prior Alternate Visit ID MAY[0..*] univ: CheckDigitScheme (CD)
CX

Extended Composite ID with Check Digit

MAYhl7VS-checkDigitScheme (VS) checkDigitScheme (CS)
701281Prior Patient Name MAY[0..*] univ: NameType (CD)
XPN

Extended Person Name

MAYhl7VS-nameType (VS) nameType2 (CS)
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
MRG  
1 00211 Prior Patient Identifier List   O Y   (0061)
CX

Extended Composite ID with Check Digit

R  
2 00212 Prior Alternate Patient ID   W            
3 00213 Prior Patient Account Number   O      
CX

Extended Composite ID with Check Digit

  (0061)
4 00214 Prior Patient ID   W            
5 01279 Prior Visit Number   O      
CX

Extended Composite ID with Check Digit

  (0061)
6 01280 Prior Alternate Visit ID   O Y    
CX

Extended Composite ID with Check Digit

  (0061)
7 01281 Prior Patient Name   O Y    
XPN

Extended Person Name

  (0200)
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
MRG
1 00211 Prior Patient Identifier List R Y   (0061)
CX

Extended Composite ID with Check Digit

2 00212 Prior Alternate Patient ID W        
3 00213 Prior Patient Account Number O     (0061)
CX

Extended Composite ID with Check Digit

4 00214 Prior Patient ID W        
5 01279 Prior Visit Number O     (0061)
CX

Extended Composite ID with Check Digit

6 01280 Prior Alternate Visit ID O Y   (0061)
CX

Extended Composite ID with Check Digit

7 01281 Prior Patient Name O Y   (0200)
XPN

Extended Person Name

18.8.82.1 MRG field definitions (3.4.10.0)

18.8.82.2 MRG-1 Prior Patient Identifier List (CX) 00211 (3.4.10.1)

Definition: This field contains the prior patient identifier list. This field contains a list of potential "old" numbers to match. Only one old number can be merged with one new number in a transaction. Refer to HL7 Table 0061 - Check Digit Scheme for valid values. The assigning authority and identifier type code are strongly recommended for all CX data types.

18.8.82.3 MRG-2 Prior Alternate Patient ID 00212 (3.4.10.2)

Definition: The MRG-2 field was retained for backward compatibility only as of v 2.3.1 and withdrawn as of v 2.7. The reader is referred to section 3.3.10.1, MRG-1 Prior Patient Identifier List (CX) 00211, instead.

18.8.82.4 MRG-3 Prior Patient Account Number (CX) 00213 (3.4.10.3)

Definition: This field contains the prior patient account number. Refer to HL7 Table 0061 - Check Digit Scheme for valid values. The assigning authority and identifier type code are strongly recommended for all CX data types.

18.8.82.5 MRG-4 Prior Patient ID 00214 (3.4.10.4)

Definition: The MRG-4 field was retained for backward compatibility only as of v 2.3.1 and withdrawn as of v 2.7. The reader is referred to section 3.3.10.1, MRG-1 Prior Patient Identifier List (CX) 00211, instead.

18.8.82.6 MRG-5 Prior Visit Number (CX) 01279 (3.4.10.5)

Definition: This field contains the prior visit number. Refer to HL7 Table 0061 - Check Digit Scheme for valid values. The assigning authority and identifier type code are strongly recommended for all CX data types.

18.8.82.7 MRG-6 Prior Alternate Visit ID (CX) 01280 (3.4.10.6)

Definition: This field contains the prior alternate visit number. Multiple alternate identifiers may be sent. Refer to HL7 Table 0061 - Check Digit Scheme in Chapter 2C, Code Tables, for valid values. The assigning authority and identifier type code are strongly recommended for all CX data types.

18.8.82.8 MRG-7 Prior Patient Name (XPN) 01281 (3.4.10.7)

Definition: This field contains the prior name of the patient. This field is not used to change a patient name. Refer to HL7 Table 0200 - Name Type in Chapter 2C, Code Tables, for valid values.