HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

MRG segment

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 as-

The shape of one line

segmentMRG|MRG-1Prior Patient Identifier…|MRG-2Prior Alternate Patient…|MRG-3Prior Patient Account…|MRG-4Prior Patient ID|MRG-5Prior Visit Number|MRG-6Prior Alternate Visit ID|MRG-7Prior Patient Name

required optional kept for older systems, still counted

Count the pipes to find a field, and count the empty ones too: an empty field still holds its place. Leave out the separator before MRG-6 and its value arrives as MRG-5, so the receiver stores Prior Alternate Visit ID as Prior Visit Number.

This page carries the MRG 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 MRG.

Every field

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
250CXRY00211Prior Patient Identifier List1..*

MRG-1 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250CXBY00212Prior Alternate Patient ID deprecated0..*

MRG-2 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250CXO00213Prior Patient Account Number0..1

MRG-3 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250CXB00214Prior Patient ID deprecated0..1

MRG-4 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250CXO01279Prior Visit Number0..1

MRG-5 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250CXO01280Prior Alternate Visit ID0..1

MRG-6 is a CX, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
CX.115STRID Number
CX.21STOCheck Digit
CX.33IDO0061Check Digit Scheme
CX.4227HDO0363Assigning Authority
CX.55IDO0203Identifier Type Code
CX.6227HDOAssigning Facility
CX.78DTOEffective Date
CX.88DTOExpiration Date
CX.9705CWEOAssigning Jurisdiction
CX.10705CWEOAssigning Agency or Department
250XPNOY01281Prior Patient Name0..*

MRG-7 is a XPN, which holds 14 components separated by carets.

SEQLENDTOPTTBL#Component name
XPN.1194FNOFamily Name
XPN.230STOGiven Name
XPN.330STOSecond and Further Given Names or Initials Thereof
XPN.420STOSuffix (e.g., JR or III)
XPN.520STOPrefix (e.g., DR)
XPN.66ISB0360Degree (e.g., MD)
XPN.71IDO0200Name Type Code
XPN.81IDO0465Name Representation Code
XPN.9483CEO0448Name Context
XPN.1053DRBName Validity Range
XPN.111IDO0444Name Assembly Order
XPN.1226TSOEffective Date
XPN.1326TSOExpiration Date
XPN.14199STOProfessional Suffix

Message types carrying MRG

MRG appears in 7 message structures, belonging to 1 message type.