{
    "id": "AIL.3",
    "type": "Field",
    "position": "AIL.3",
    "name": "Location Resource ID",
    "length": 80,
    "usage": "C",
    "rpt": "*",
    "dataType": "PL",
    "dataTypeName": "Person Location",
    "tableId": null,
    "tableName": null,
    "description": "This field contains a coded identification of the location being requested or scheduled for an appointment. This field is used to identify a specific location being requested, or a specific location that has been scheduled for an appointment. If the specific location is not known but the type of location is, AIL-4-Location type-AIL is used to identify the type of location required or scheduled. This field is conditionally required for this segment. In new schedule request messages, it is required if the request asks that a specific location be scheduled. For all other request messages, the specific location should be identified if the information is available (either because a specific location was initially requested, or because the filler application returned the coded identification of the specific location that has been scheduled).\r\n\r\nThis field is repeating in order to accommodate both local and enterprise-wide identifiers. \r\n\r\nThis field is required for all unsolicited transactions from the filler application.  It is optional for all query transactions.",
    "sample": "",
    "fields": [
        {
            "id": "AIL.3.1",
            "type": "Component",
            "position": "AIL.3.1",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0302",
            "tableName": "Point of care",
            "name": "Point Of Care",
            "description": "This component specifies the code for the point where patient care is administered. It is conditional on PL.6 Person Location Type (e.g., nursing unit or department or clinic). After floor, it is the most general patient location designation. Refer to User-defined Table 0302 - Point of care for suggested values."
        },
        {
            "id": "AIL.3.2",
            "type": "Component",
            "position": "AIL.3.2",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0303",
            "tableName": "Room",
            "name": "Room",
            "description": "This component specifies the code for the patient's room. After point of care, it is the most general person location designation. Refer to User-defined Table 0303 - Room for suggested values."
        },
        {
            "id": "AIL.3.3",
            "type": "Component",
            "position": "AIL.3.3",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0304",
            "tableName": "Bed",
            "name": "Bed",
            "description": "This component specifies the code for the patient's bed. After room, it is the most general person location designation. Refer to User-defined Table 0304 - Bed for suggested values."
        },
        {
            "id": "AIL.3.4",
            "type": "Component",
            "position": "AIL.3.4",
            "length": 227,
            "dataType": "HD",
            "dataTypeName": "Hierarchic Designator",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Facility",
            "description": "This component is subject to site interpretation but generally describes the highest level physical designation of an institution, medical center or enterprise. It is the most general person location designation."
        },
        {
            "id": "AIL.3.5",
            "type": "Component",
            "position": "AIL.3.5",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0306",
            "tableName": "Location status",
            "name": "Location Status",
            "description": "This component specifies the code for the status or availability of the location. For example, it may convey bed status. Refer to User-defined Table 0306 - Location status for suggested values."
        },
        {
            "id": "AIL.3.6",
            "type": "Component",
            "position": "AIL.3.6",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "C",
            "rpt": "1",
            "tableId": "0305",
            "tableName": "Person location type",
            "name": "Person Location Type",
            "description": "Person location type is the categorization of the persons location defined by facility, building, floor, point of care, room or bed. Although not a required field, when used, it may be the only populated field. It usually includes values such as nursing unit, department, clinic, SNF, physicians office. Refer to User-defined Table 0305 - Person location type for suggested values."
        },
        {
            "id": "AIL.3.7",
            "type": "Component",
            "position": "AIL.3.7",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0307",
            "tableName": "Building",
            "name": "Building",
            "description": "This component specifies the code for the building where the person is located. After facility, it is the most general person location designation. Refer to User-defined Table 0307 - Building for suggested values."
        },
        {
            "id": "AIL.3.8",
            "type": "Component",
            "position": "AIL.3.8",
            "length": 20,
            "dataType": "IS",
            "dataTypeName": "Coded value for user-defined tables",
            "usage": "O",
            "rpt": "1",
            "tableId": "0308",
            "tableName": "Floor",
            "name": "Floor",
            "description": "This component specifies the code for the floor where the person is located. After building, it is the most general person location designation. Refer to User-defined Table 0308 - Floor for suggested values."
        },
        {
            "id": "AIL.3.9",
            "type": "Component",
            "position": "AIL.3.9",
            "length": 199,
            "dataType": "ST",
            "dataTypeName": "String Data",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Location Description",
            "description": "This component describes the location in free text."
        },
        {
            "id": "AIL.3.10",
            "type": "Component",
            "position": "AIL.3.10",
            "length": 427,
            "dataType": "EI",
            "dataTypeName": "Entity Identifier",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Comprehensive Location Identifier",
            "description": "The unique identifier that represents the physical location as a whole without regard for the individual components. This accommodates sites that may have a different method of defining physical units or who may code at a less granular level. For example, point of care, room, and bed may be 1 indivisible code."
        },
        {
            "id": "AIL.3.11",
            "type": "Component",
            "position": "AIL.3.11",
            "length": 227,
            "dataType": "HD",
            "dataTypeName": "Hierarchic Designator",
            "usage": "O",
            "rpt": "1",
            "tableId": null,
            "tableName": null,
            "name": "Assigning Authority For Location",
            "description": "The entity that creates the data for the individual physical location components. If populated, it should be the authority for all components populated. Refer to User-defined Table 0363 - Assigning authority for suggested values for the first sub-component of the HD component, <namespace ID>."
        }
    ]
}