NHS Digital FHIR Implementation Guide (Retired - 2.1.50)

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

Inpatient Encounter

{
    "resourceType": "Encounter",
    "id": "9d222207-7b26-42a0-9abe-f9883a330662",
    "identifier":  [
        {
            "system": "https://fhir.leedsth.nhs.uk/Id/encounter",
            "value": "6f40cebe-7b55-461d-9d7f-eadb4c065762"
        }
    ],
    "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"
                }
            ]
        }
    ],
    "serviceType": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function",
                "code": "320",
                "display": "CARDIOLOGY"
            }
        ]
    },
    "subject": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9871234567"
        },
        "display": "Richard Smith"
    },
    "episodeOfCare":  [
        {
            "identifier": {
                "system": "https://fhir.leedsth.nhs.uk/Id/stay-number",
                "value": "CARDIO-12345"
            }
        }
    ],
    "participant":  [
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ADM",
                            "display": "admitter"
                        }
                    ]
                }
            ],
            "individual": {
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/gmc-number",
                        "value": "C12345678"
                    }
                ],
                "display": "Dr Sandra Goose"
            }
        }
    ],
    "period": {
        "start": "2019-12-10T13:00:00+00:00",
        "end": "2019-12-11T13:00:00+00:00"
    },
    "reasonCode":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "7922000",
                    "display": "General treatment"
                }
            ]
        }
    ],
    "hospitalization": {
        "dischargeDisposition": {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestination",
                    "code": "19",
                    "display": "Usual place of residence unless listed below, for example, a private dwelling whether owner occupied or owned by Local Authority, housing association or other landlord. This includes wardened accommodation but not residential accommodation where health care is provided. It also includes Patients with no fixed abode."
                }
            ]
        }
    },
    "location":  [
        {
            "location": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "RR801"
                },
                "display": "St James Hospital"
            }
        },
        {
            "location": {
                "identifier": {
                    "system": "https://fhir.leedsth.nhs.uk/Id/ward-number",
                    "value": "WARD-B20"
                },
                "display": "Ward B20"
            }
        }
    ],
    "serviceProvider": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RR8"
        },
        "display": "Leeds Teaching Trust"
    }
}
<Encounter xmlns="http://hl7.org/fhir">
    <id value="9d222207-7b26-42a0-9abe-f9883a330662" />
    <identifier>
        <system value="https://fhir.leedsth.nhs.uk/Id/encounter" />
        <value value="6f40cebe-7b55-461d-9d7f-eadb4c065762" />
    </identifier>
    <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>
    <serviceType>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function" />
            <code value="320" />
            <display value="CARDIOLOGY" />
        </coding>
    </serviceType>
    <subject>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9871234567" />
        </identifier>
        <display value="Richard Smith" />
    </subject>
    <episodeOfCare>
        <identifier>
            <system value="https://fhir.leedsth.nhs.uk/Id/stay-number" />
            <value value="CARDIO-12345" />
        </identifier>
    </episodeOfCare>
    <participant>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                <code value="ADM" />
                <display value="admitter" />
            </coding>
        </type>
        <individual>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/gmc-number" />
                <value value="C12345678" />
            </identifier>
            <display value="Dr Sandra Goose" />
        </individual>
    </participant>
    <period>
        <start value="2019-12-10T13:00:00+00:00" />
        <end value="2019-12-11T13:00:00+00:00" />
    </period>
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="7922000" />
            <display value="General treatment" />
        </coding>
    </reasonCode>
    <hospitalization>
        <dischargeDisposition>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestination" />
                <code value="19" />
                <display value="Usual place of residence unless listed below, for example, a private dwelling whether owner occupied or owned by Local Authority, housing association or other landlord. This includes wardened accommodation but not residential accommodation where health care is provided. It also includes Patients with no fixed abode." />
            </coding>
        </dischargeDisposition>
    </hospitalization>
    <location>
        <location>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="RR801" />
            </identifier>
            <display value="St James Hospital" />
        </location>
    </location>
    <location>
        <location>
            <identifier>
                <system value="https://fhir.leedsth.nhs.uk/Id/ward-number" />
                <value value="WARD-B20" />
            </identifier>
            <display value="Ward B20" />
        </location>
    </location>
    <serviceProvider>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RR8" />
        </identifier>
        <display value="Leeds Teaching Trust" />
    </serviceProvider>
</Encounter>
Encounter
back to top