{
    "id": "ERR.1",
    "type": "Field",
    "position": "ERR.1",
    "name": "Error Code and Location",
    "length": 493,
    "usage": "B",
    "rpt": "*",
    "dataType": "ELD",
    "dataTypeName": "Error Location and Description",
    "tableId": null,
    "tableName": null,
    "description": "This field identifies an erroneous segment in another message. Retained for backward compatibility only as of v 2.5; refer to ERR-2 and ERR-3 instead.",
    "sample": "",
    "fields": [
        {
            "id": "ERR.1.1",
            "type": "Component",
            "position": "ERR.1.1",
            "length": 3,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Segment Id",
            "description": "The segment containing the error in another message"
        },
        {
            "id": "ERR.1.2",
            "type": "Component",
            "position": "ERR.1.2",
            "length": 2,
            "dataType": "NM",
            "dataTypeName": "Numeric",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Segment Sequence",
            "description": "Specifies the specific occurrence if the segment specified in component 1 occurs more than once in the message."
        },
        {
            "id": "ERR.1.3",
            "type": "Component",
            "position": "ERR.1.3",
            "length": 2,
            "dataType": "NM",
            "dataTypeName": "Numeric",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Field Position",
            "description": "Ordinal position of the data field within the segment. For systems that do not use the HL7 Encoding Rules, the data item number may be used for the third component."
        },
        {
            "id": "ERR.1.4",
            "type": "Component",
            "position": "ERR.1.4",
            "length": 483,
            "dataType": "CE",
            "dataTypeName": "Coded Element",
            "usage": "O",
            "rpt": "1",
            "tableId": "0357",
            "tableName": "Message error condition codes",
            "name": "Code Identifying Error",
            "description": "A code that describes the nature of the error. Refer to HL7 Table 0357 - Message error condition codes for valid values."
        }
    ]
}