{
    "id": "MRG.2",
    "type": "Field",
    "position": "MRG.2",
    "name": "Prior Alternate Patient ID",
    "length": 250,
    "usage": "B",
    "rpt": "*",
    "dataType": "CX",
    "dataTypeName": "Extended Composite ID with Check Digit",
    "tableId": null,
    "tableName": null,
    "description": "This field has been retained for backward compatibility only.  Use MRG-1 - Prior Patient Identifier List for all patient identifiers. This field contains the prior alternate patient identifier. 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.",
    "sample": "",
    "fields": [
        {
            "id": "MRG.2.1",
            "type": "Component",
            "position": "MRG.2.1",
            "length": 15,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "R",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Id Number",
            "description": "The value of the identifier itself."
        },
        {
            "id": "MRG.2.2",
            "type": "Component",
            "position": "MRG.2.2",
            "length": 1,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Check Digit",
            "description": "The check digit in this data type is not an add-on produced by the message processor. It is the check digit that is part of the identifying number used in the sending application. If the sending application does not include a self-generated check digit in the identifying number, this component should be valued null."
        },
        {
            "id": "MRG.2.3",
            "type": "Component",
            "position": "MRG.2.3",
            "length": 3,
            "dataType": "ID",
            "dataTypeName": "Coded values for HL7 tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0061",
            "tableName": "Check digit scheme",
            "name": "Check Digit Scheme",
            "description": "Contains the code identifying the check digit scheme employed."
        },
        {
            "id": "MRG.2.4",
            "type": "Component",
            "position": "MRG.2.4",
            "length": 227,
            "dataType": "HD",
            "dataTypeName": "Hierarchic Designator",
            "usage": "O",
            "rpt": "1",
            "tableId": "0363",
            "tableName": "Assigning authority",
            "name": "Assigning Authority",
            "description": "The assigning authority is a unique name of the system (or organization or agency or department) that creates the data. . Refer to User-defined Table 0363 - Assigning authority for suggested values."
        },
        {
            "id": "MRG.2.5",
            "type": "Component",
            "position": "MRG.2.5",
            "length": 5,
            "dataType": "ID",
            "dataTypeName": "Coded values for HL7 tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0203",
            "tableName": "Identifier type",
            "name": "Identifier Type Code",
            "description": "A code corresponding to the type of identifier. In some cases, this code may be used as a qualifier to the Assigning authority component. Refer to HL7 Table 0203 - Identifier type for suggested values."
        },
        {
            "id": "MRG.2.6",
            "type": "Component",
            "position": "MRG.2.6",
            "length": 227,
            "dataType": "HD",
            "dataTypeName": "Hierarchic Designator",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Assigning Facility",
            "description": "The place or location identifier where the identifier was first assigned to the patient. This component is not an inherent part of the identifier but rather part of the history of the identifier: as part of this data type, its existence is a convenience for certain intercommunicating systems."
        },
        {
            "id": "MRG.2.7",
            "type": "Component",
            "position": "MRG.2.7",
            "length": 8,
            "dataType": "DT",
            "dataTypeName": "Date",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Effective Date",
            "description": "The first date, if known, on which the identifier is valid and active."
        },
        {
            "id": "MRG.2.8",
            "type": "Component",
            "position": "MRG.2.8",
            "length": 8,
            "dataType": "DT",
            "dataTypeName": "Date",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Expiration Date",
            "description": "The last date, if known, on which the identifier is valid and active."
        },
        {
            "id": "MRG.2.9",
            "type": "Component",
            "position": "MRG.2.9",
            "length": 705,
            "dataType": "CWE",
            "dataTypeName": "Coded with Exceptions",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Assigning Jurisdiction",
            "description": "The geo-political body that assigned the identifier in component 1."
        },
        {
            "id": "MRG.2.10",
            "type": "Component",
            "position": "MRG.2.10",
            "length": 705,
            "dataType": "CWE",
            "dataTypeName": "Coded with Exceptions",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Assigning Agency Or Department",
            "description": "The agency or department that assigned the identifier in component 1."
        }
    ]
}