An example to illustrate the extension for an encounter to support the method by which an individual was admitted into hospital

Table View

Encounter.id[0]UKCore-Extension-AdmissionMethod-Example
Encounter.text[0].status[0]additional
Encounter.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the extension for an encounter to support the method by which an individual was admitted into hospital </div>
Encounter.status[0]finished
Encounter.class[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ActCode
Encounter.class[0].code[0]IMP
Encounter.class[0].display[0]inpatient encounter
Encounter.hospitalization[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod
Encounter.hospitalization[0].extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland
Encounter.hospitalization[0].extension[0].value[0].coding[0].code[0]13
Encounter.hospitalization[0].extension[0].value[0].coding[0].display[0]Elective Admission: Planned

Tree View

Encounter

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-AdmissionMethod-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
    <hospitalization>
        <!--  **************extension start**************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland" />
                    <code value="13" />
                    <display value="Elective Admission: Planned" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <!--  **************extension end**************  -->
    </hospitalization>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Extension-AdmissionMethod-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    },
    "hospitalization": {
        "extension":  [
            {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod",
                "valueCodeableConcept": {
                    "coding":  [
                        {
                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland",
                            "code": "13",
                            "display": "Elective Admission: Planned"
                        }
                    ]
                }
            }
        ]
    }
}