Example Encounter - Emergency Admission

Encounter
Encounter.id[0]Example-DataStandardsWales-Encounter-EmergencyAdmission
Encounter.meta[0].profile[0]https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Encounter
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod
Encounter.extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodWales
Encounter.extension[0].value[0].coding[0].code[0]27
Encounter.extension[0].value[0].coding[0].display[0]Emergency Admission: Via NHS Direct Services
Encounter.extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod
Encounter.extension[1].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodWales
Encounter.extension[1].value[0].coding[0].code[0]1
Encounter.extension[1].value[0].coding[0].display[0]Patient discharged on clinical advice or with clinical consent
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.type[0].coding[0].system[0]http://snomed.info/sct
Encounter.type[0].coding[0].code[0]185212007
Encounter.type[0].coding[0].display[0]Seen in hospital ward
Encounter.subject[0].reference[0]Patient/Example-DataStandardsWales-Patient-PeterPiper
Encounter.subject[0].display[0]PIPER, Peter (NHS: 1192335566)
Encounter.participant[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ParticipationType
Encounter.participant[0].type[0].coding[0].code[0]ATND
Encounter.participant[0].type[0].coding[0].display[0]attender
Encounter.participant[0].individual[0].reference[0]Practitioner/Example-DataStandardsWales-Practitioner-Doctor
Encounter.participant[0].individual[0].display[0]Dr Sally Foster (GMC: 9830222)
Encounter.period[0].start[0]2022-07-22T13:09:37+00:00
Encounter.period[0].end[0]2022-07-24T11:14:14+00:00
Encounter.hospitalization[0].admitSource[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales
Encounter.hospitalization[0].admitSource[0].coding[0].code[0]19
Encounter.hospitalization[0].admitSource[0].coding[0].display[0]Own Home
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestinationWales
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].code[0]19
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].display[0]Own Home
Encounter.location[0].location[0].reference[0]Location/Example-DataStandardsWales-Location-WardE
Encounter.location[0].location[0].display[0]Ward E (Neath Port Talbot Hospital)
Encounter.serviceProvider[0].reference[0]Organization/Example-DataStandardsWales-Organization-SBUHB
Encounter.serviceProvider[0].display[0]Example-DataStandardsWales-Organization-SBUHB
<Encounter xmlns="http://hl7.org/fhir">
    <id value="Example-DataStandardsWales-Encounter-EmergencyAdmission" />
    <meta>
        <profile value="https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Encounter" />
    </meta>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodWales" />
                <code value="27" />
                <display value="Emergency Admission: Via NHS Direct Services" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodWales" />
                <code value="1" />
                <display value="Patient discharged on clinical advice or with clinical consent" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="185212007" />
            <display value="Seen in hospital ward" />
        </coding>
    </type>
    <subject>
        <reference value="Patient/Example-DataStandardsWales-Patient-PeterPiper" />
        <display value="PIPER, Peter (NHS: 1192335566)" />
    </subject>
    <participant>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                <code value="ATND" />
                <display value="attender" />
            </coding>
        </type>
        <individual>
            <reference value="Practitioner/Example-DataStandardsWales-Practitioner-Doctor" />
            <display value="Dr Sally Foster (GMC: 9830222)" />
        </individual>
    </participant>
    <period>
        <start value="2022-07-22T13:09:37+00:00" />
        <end value="2022-07-24T11:14:14+00:00" />
    </period>
    <hospitalization>
        <admitSource>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
                <code value="19" />
                <display value="Own Home" />
            </coding>
        </admitSource>
        <dischargeDisposition>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestinationWales" />
                <code value="19" />
                <display value="Own Home" />
            </coding>
        </dischargeDisposition>
    </hospitalization>
    <location>
        <location>
            <reference value="Location/Example-DataStandardsWales-Location-WardE" />
            <display value="Ward E (Neath Port Talbot Hospital)" />
        </location>
    </location>
    <serviceProvider>
        <reference value="Organization/Example-DataStandardsWales-Organization-SBUHB" />
        <display value="Example-DataStandardsWales-Organization-SBUHB" />
    </serviceProvider>
</Encounter>
{
    "resourceType": "Encounter",
    "id": "Example-DataStandardsWales-Encounter-EmergencyAdmission",
    "meta": {
        "profile":  [
            "https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Encounter"
        ]
    },
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodWales",
                        "code": "27",
                        "display": "Emergency Admission: Via NHS Direct Services"
                    }
                ]
            }
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodWales",
                        "code": "1",
                        "display": "Patient discharged on clinical advice or with clinical consent"
                    }
                ]
            }
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    },
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "185212007",
                    "display": "Seen in hospital ward"
                }
            ]
        }
    ],
    "subject": {
        "reference": "Patient/Example-DataStandardsWales-Patient-PeterPiper",
        "display": "PIPER, Peter (NHS: 1192335566)"
    },
    "participant":  [
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ATND",
                            "display": "attender"
                        }
                    ]
                }
            ],
            "individual": {
                "reference": "Practitioner/Example-DataStandardsWales-Practitioner-Doctor",
                "display": "Dr Sally Foster (GMC: 9830222)"
            }
        }
    ],
    "period": {
        "start": "2022-07-22T13:09:37+00:00",
        "end": "2022-07-24T11:14:14+00:00"
    },
    "hospitalization": {
        "admitSource": {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales",
                    "code": "19",
                    "display": "Own Home"
                }
            ]
        },
        "dischargeDisposition": {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestinationWales",
                    "code": "19",
                    "display": "Own Home"
                }
            ]
        }
    },
    "location":  [
        {
            "location": {
                "reference": "Location/Example-DataStandardsWales-Location-WardE",
                "display": "Ward E (Neath Port Talbot Hospital)"
            }
        }
    ],
    "serviceProvider": {
        "reference": "Organization/Example-DataStandardsWales-Organization-SBUHB",
        "display": "Example-DataStandardsWales-Organization-SBUHB"
    }
}