{
    "id": "GP2.7",
    "type": "Field",
    "position": "GP2.7",
    "name": "Ambulatory Payment Classification Code",
    "length": 250,
    "usage": "O",
    "rpt": "1",
    "dataType": "CE",
    "dataTypeName": "Coded Element",
    "tableId": "0466",
    "tableName": "Ambulatory Payment Classification Code",
    "description": "This field contains the derived APC code. This is the APC code used for payment, which is the same as the assigned APC, for all situations except partial hospitalization. If partial hospitalization is billed in this visit, the assigned APC will differ from the APC used for payment. Partial hospitalization is the only time an assigned APC differs from the APC used for payment. The payment APC is used for billing and should be displayed in this field. The first component contains the APC identifier. The second component reports the text description for the APC group. Refer to User-defined table 0466 - Ambulatory Payment Classification Code for suggested values. This field is defined by CMS or other regulatory agencies",
    "sample": "",
    "fields": [
        {
            "id": "GP2.7.1",
            "type": "Component",
            "position": "GP2.7.1",
            "length": 20,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Identifier",
            "description": "Sequence of characters (the code) that uniquely identifies the item being referenced. Different coding schemes will have different elements here."
        },
        {
            "id": "GP2.7.2",
            "type": "Component",
            "position": "GP2.7.2",
            "length": 199,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Text",
            "description": "The descriptive or textual name of the identifier, e.g., myocardial infarction or X-ray impression."
        },
        {
            "id": "GP2.7.3",
            "type": "Component",
            "position": "GP2.7.3",
            "length": 20,
            "dataType": "ID",
            "dataTypeName": "Coded values for HL7 tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0396",
            "tableName": "Coding system",
            "name": "Name Of Coding System",
            "description": "Identifies the coding scheme being used in the identifier component. The combination of the identifier and name of coding system components will be a unique code for a data item. Each system has a unique identifier."
        },
        {
            "id": "GP2.7.4",
            "type": "Component",
            "position": "GP2.7.4",
            "length": 20,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Alternate Identifier",
            "description": "An alternate sequence of characters (the code) that uniquely identifies the item being referenced. See usage note in section introduction."
        },
        {
            "id": "GP2.7.5",
            "type": "Component",
            "position": "GP2.7.5",
            "length": 199,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Alternate Text",
            "description": "The descriptive or textual name of the alternate identifier. See usage note in section introduction."
        },
        {
            "id": "GP2.7.6",
            "type": "Component",
            "position": "GP2.7.6",
            "length": 20,
            "dataType": "ID",
            "dataTypeName": "Coded values for HL7 tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0396",
            "tableName": "Coding system",
            "name": "Name Of Alternate Coding System",
            "description": "Identifies the coding scheme being used in the alternate identifier component."
        }
    ]
}