{
    "id": "AIL.4",
    "type": "Field",
    "position": "AIL.4",
    "name": "Location Type-AIL",
    "length": 250,
    "usage": "C",
    "rpt": "1",
    "dataType": "CE",
    "dataTypeName": "Coded Element",
    "tableId": "0305",
    "tableName": "Person location type",
    "description": "This field identifies the type of the location requested/scheduled for this appointment. For all messages, this field is conditionally required if a specific location is not identified in AIL-3-Location resource ID. Refer to HL7 Table 0305 - Person location type for suggested values.",
    "sample": "",
    "fields": [
        {
            "id": "AIL.4.1",
            "type": "Component",
            "position": "AIL.4.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": "AIL.4.2",
            "type": "Component",
            "position": "AIL.4.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": "AIL.4.3",
            "type": "Component",
            "position": "AIL.4.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": "AIL.4.4",
            "type": "Component",
            "position": "AIL.4.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": "AIL.4.5",
            "type": "Component",
            "position": "AIL.4.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": "AIL.4.6",
            "type": "Component",
            "position": "AIL.4.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."
        }
    ]
}