UK Core Implementation Guide STU3 Sequence - Sprint 6 Review

Examples


An example to illustrate an allergy to Amoxicillin

Table View

AllergyIntolerance.id[0]UKCore-AllergyIntolerance-Amoxicillin-Example
AllergyIntolerance.clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
AllergyIntolerance.clinicalStatus[0].coding[0].code[0]active
AllergyIntolerance.clinicalStatus[0].coding[0].display[0]Active
AllergyIntolerance.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
AllergyIntolerance.verificationStatus[0].coding[0].code[0]confirmed
AllergyIntolerance.verificationStatus[0].coding[0].display[0]Confirmed
AllergyIntolerance.code[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].code[0]372687004
AllergyIntolerance.code[0].coding[0].display[0]Amoxicillin
AllergyIntolerance.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AllergyIntolerance.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
AllergyIntolerance.recordedDate[0]2019-12-10T13:00:00+00:00
AllergyIntolerance.recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.asserter[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.reaction[0].manifestation[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].manifestation[0].coding[0].code[0]247472004
AllergyIntolerance.reaction[0].manifestation[0].coding[0].display[0]Urticarial rash
AllergyIntolerance.reaction[0].severity[0]mild

Tree View

AllergyIntolerance

XML View

<AllergyIntolerance xmlns="http://hl7.org/fhir">
    <id value="UKCore-AllergyIntolerance-Amoxicillin-Example" />
    <clinicalStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
            <code value="active" />
            <display value="Active" />
        </coding>
    </clinicalStatus>
    <verificationStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
            <code value="confirmed" />
            <display value="Confirmed" />
        </coding>
    </verificationStatus>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="372687004" />
            <display value="Amoxicillin" />
        </coding>
    </code>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <recordedDate value="2019-12-10T13:00:00+00:00" />
    <recorder>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </recorder>
    <asserter>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </asserter>
    <reaction>
        <manifestation>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="247472004" />
                <display value="Urticarial rash" />
            </coding>
        </manifestation>
        <severity value="mild" />
    </reaction>
</AllergyIntolerance>

JSON View

{
    "resourceType": "AllergyIntolerance",
    "id": "UKCore-AllergyIntolerance-Amoxicillin-Example",
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "verificationStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ]
    },
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "372687004",
                "display": "Amoxicillin"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "recordedDate": "2019-12-10T13:00:00+00:00",
    "recorder": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "asserter": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "reaction":  [
        {
            "manifestation":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "247472004",
                            "display": "Urticarial rash"
                        }
                    ]
                }
            ],
            "severity": "mild"
        }
    ]
}

An example to illustrate an allergy that was entered in error

Table View

AllergyIntolerance.id[0]UKCore-AllergyIntolerance-EnteredInError-Example
AllergyIntolerance.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
AllergyIntolerance.verificationStatus[0].coding[0].code[0]entered-in-error
AllergyIntolerance.verificationStatus[0].coding[0].display[0]Entered in Error
AllergyIntolerance.code[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].code[0]372687004
AllergyIntolerance.code[0].coding[0].display[0]Amoxicillin
AllergyIntolerance.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AllergyIntolerance.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
AllergyIntolerance.recordedDate[0]2019-12-10T13:00:00+00:00
AllergyIntolerance.recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.asserter[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example

Tree View

AllergyIntolerance

XML View

<AllergyIntolerance xmlns="http://hl7.org/fhir">
    <id value="UKCore-AllergyIntolerance-EnteredInError-Example" />
    <verificationStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
            <code value="entered-in-error" />
            <display value="Entered in Error" />
        </coding>
    </verificationStatus>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="372687004" />
            <display value="Amoxicillin" />
        </coding>
    </code>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <recordedDate value="2019-12-10T13:00:00+00:00" />
    <recorder>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </recorder>
    <asserter>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </asserter>
</AllergyIntolerance>

JSON View

{
    "resourceType": "AllergyIntolerance",
    "id": "UKCore-AllergyIntolerance-EnteredInError-Example",
    "verificationStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                "code": "entered-in-error",
                "display": "Entered in Error"
            }
        ]
    },
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "372687004",
                "display": "Amoxicillin"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "recordedDate": "2019-12-10T13:00:00+00:00",
    "recorder": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "asserter": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    }
}

An example to illustrate the date when the allergy or intolerance was no longer valid, and/or, the reason why the allergy or intolerance is no longer valid

Table View

AllergyIntolerance.id[0]UKCore-AllergyIntolerance-Extension-AllergyIntolEnd-Example
AllergyIntolerance.clinicalStatus[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd
AllergyIntolerance.clinicalStatus[0].extension[0].extension[0].url[0]endDate
AllergyIntolerance.clinicalStatus[0].extension[0].extension[0].valueDateTime[0]2021-07-20T17:10:00+00:00
AllergyIntolerance.clinicalStatus[0].extension[0].extension[1].url[0]reasonEnded
AllergyIntolerance.clinicalStatus[0].extension[0].extension[1].valueString[0]Administrative error corrected on patient record - confirmed that allergy not experienced with the patient.
AllergyIntolerance.clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
AllergyIntolerance.clinicalStatus[0].coding[0].code[0]inactive
AllergyIntolerance.clinicalStatus[0].coding[0].display[0]Inactive
AllergyIntolerance.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
AllergyIntolerance.verificationStatus[0].coding[0].code[0]confirmed
AllergyIntolerance.verificationStatus[0].coding[0].display[0]Confirmed
AllergyIntolerance.code[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].code[0]372687004
AllergyIntolerance.code[0].coding[0].display[0]Amoxicillin
AllergyIntolerance.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AllergyIntolerance.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
AllergyIntolerance.recordedDate[0]2019-12-10T13:00:00+00:00
AllergyIntolerance.recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.asserter[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example

Tree View

AllergyIntolerance

XML View

<AllergyIntolerance xmlns="http://hl7.org/fhir">
    <id value="UKCore-AllergyIntolerance-Extension-AllergyIntolEnd-Example" />
    <clinicalStatus>
        <!--  **************extension start**************  -->
        <!-- This supports the date when the allergy or intolerance was no longer valid, and/or, the reason why the allergy or intolerance is no longer valid.. -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd">
            <extension url="endDate">
                <valueDateTime value="2021-07-20T17:10:00+00:00" />
            </extension>
            <extension url="reasonEnded">
                <valueString value="Administrative error corrected on patient record - confirmed that allergy not experienced with the patient." />
            </extension>
        </extension>
        <!--  **************extension end**************  -->
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
            <code value="inactive" />
            <display value="Inactive" />
        </coding>
    </clinicalStatus>
    <verificationStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
            <code value="confirmed" />
            <display value="Confirmed" />
        </coding>
    </verificationStatus>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="372687004" />
            <display value="Amoxicillin" />
        </coding>
    </code>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <recordedDate value="2019-12-10T13:00:00+00:00" />
    <recorder>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </recorder>
    <asserter>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </asserter>
</AllergyIntolerance>

JSON View

{
    "resourceType": "AllergyIntolerance",
    "id": "UKCore-AllergyIntolerance-Extension-AllergyIntolEnd-Example",
    "clinicalStatus": {
        "extension":  [
            {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd",
                "extension":  [
                    {
                        "url": "endDate",
                        "valueDateTime": "2021-07-20T17:10:00+00:00"
                    },
                    {
                        "url": "reasonEnded",
                        "valueString": "Administrative error corrected on patient record - confirmed that allergy not experienced with the patient."
                    }
                ]
            }
        ],
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                "code": "inactive",
                "display": "Inactive"
            }
        ]
    },
    "verificationStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ]
    },
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "372687004",
                "display": "Amoxicillin"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "recordedDate": "2019-12-10T13:00:00+00:00",
    "recorder": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "asserter": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    }
}

An example to illustrate a reference to results of investigations that confirmed the certainty of the diagnosis for an allergy or intolerance

Table View

AllergyIntolerance.id[0]UKCore-AllergyIntolerance-Extension-Evidence-Example
AllergyIntolerance.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence
AllergyIntolerance.extension[0].valueReference[0].reference[0]DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example
AllergyIntolerance.extension[0].valueReference[0].type[0]DiagnosticReport
AllergyIntolerance.clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
AllergyIntolerance.clinicalStatus[0].coding[0].code[0]active
AllergyIntolerance.clinicalStatus[0].coding[0].display[0]Active
AllergyIntolerance.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
AllergyIntolerance.verificationStatus[0].coding[0].code[0]confirmed
AllergyIntolerance.verificationStatus[0].coding[0].display[0]Confirmed
AllergyIntolerance.code[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].code[0]372687004
AllergyIntolerance.code[0].coding[0].display[0]Amoxicillin
AllergyIntolerance.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AllergyIntolerance.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
AllergyIntolerance.recordedDate[0]2019-12-10T13:00:00+00:00
AllergyIntolerance.recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.asserter[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
AllergyIntolerance.reaction[0].manifestation[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].manifestation[0].coding[0].code[0]247472004
AllergyIntolerance.reaction[0].manifestation[0].coding[0].display[0]Urticarial rash
AllergyIntolerance.reaction[0].severity[0]mild

Tree View

AllergyIntolerance

XML View

<AllergyIntolerance xmlns="http://hl7.org/fhir">
    <id value="UKCore-AllergyIntolerance-Extension-Evidence-Example" />
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence">
        <valueReference>
            <reference value="DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example" />
            <type value="DiagnosticReport" />
        </valueReference>
    </extension>
    <clinicalStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
            <code value="active" />
            <display value="Active" />
        </coding>
    </clinicalStatus>
    <verificationStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
            <code value="confirmed" />
            <display value="Confirmed" />
        </coding>
    </verificationStatus>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="372687004" />
            <display value="Amoxicillin" />
        </coding>
    </code>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <recordedDate value="2019-12-10T13:00:00+00:00" />
    <recorder>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </recorder>
    <asserter>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </asserter>
    <reaction>
        <manifestation>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="247472004" />
                <display value="Urticarial rash" />
            </coding>
        </manifestation>
        <severity value="mild" />
    </reaction>
</AllergyIntolerance>

JSON View

{
    "resourceType": "AllergyIntolerance",
    "id": "UKCore-AllergyIntolerance-Extension-Evidence-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence",
            "valueReference": {
                "reference": "DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example",
                "type": "DiagnosticReport"
            }
        }
    ],
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "verificationStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ]
    },
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "372687004",
                "display": "Amoxicillin"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "recordedDate": "2019-12-10T13:00:00+00:00",
    "recorder": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "asserter": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "reaction":  [
        {
            "manifestation":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "247472004",
                            "display": "Urticarial rash"
                        }
                    ]
                }
            ],
            "severity": "mild"
        }
    ]
}

An example to illustrate the booking organization extension associated with an appointment

Table View

Appointment.id[0]UKCore-Appointment-Extension-BookingOrganization-Example
Appointment.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization
Appointment.extension[0].valueReference[0].reference[0]Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example
Appointment.extension[0].valueReference[0].type[0]Organization
Appointment.extension[0].valueReference[0].identifier[0].use[0]official
Appointment.extension[0].valueReference[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Appointment.extension[0].valueReference[0].identifier[0].type[0].coding[0].code[0]PRN
Appointment.extension[0].valueReference[0].identifier[0].type[0].coding[0].display[0]Provider number
Appointment.extension[0].valueReference[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-site-code
Appointment.extension[0].valueReference[0].identifier[0].value[0]GP8D7
Appointment.extension[0].valueReference[0].identifier[0].period[0].start[0]2022-03-11T10:46:00+00:00
Appointment.extension[0].valueReference[0].identifier[0].period[0].end[0]2022-03-11T13:20:00+00:00
Appointment.status[0]booked
Appointment.start[0]2022-03-11T10:46:00+00:00
Appointment.end[0]2022-03-11T13:20:00+00:00
Appointment.participant[0].actor[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Appointment.participant[0].actor[0].display[0]Richard Smith
Appointment.participant[0].required[0]required
Appointment.participant[0].status[0]accepted
Appointment.participant[1].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ParticipationType
Appointment.participant[1].type[0].coding[0].code[0]ATND
Appointment.participant[1].actor[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Appointment.participant[1].actor[0].display[0]Dr Sandra Gose
Appointment.participant[1].required[0]required
Appointment.participant[1].status[0]accepted
Appointment.participant[2].actor[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
Appointment.participant[2].actor[0].display[0]Orthopaedic Trauma Department, St James' University Hospital, Leeds
Appointment.participant[2].required[0]required
Appointment.participant[2].status[0]accepted

Tree View

Appointment

XML View

<Appointment xmlns="http://hl7.org/fhir">
    <id value="UKCore-Appointment-Extension-BookingOrganization-Example" />
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization">
        <valueReference>
            <reference value="Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example" />
            <type value="Organization" />
            <identifier>
                <use value="official" />
                <type>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
                        <code value="PRN" />
                        <display value="Provider number" />
                    </coding>
                </type>
                <system value="https://fhir.nhs.uk/Id/ods-site-code" />
                <value value="GP8D7" />
                <period>
                    <start value="2022-03-11T10:46:00+00:00" />
                    <end value="2022-03-11T13:20:00+00:00" />
                </period>
            </identifier>
        </valueReference>
    </extension>
    <!--  **************extension end ******************  -->
    <status value="booked" />
    <start value="2022-03-11T10:46:00+00:00" />
    <end value="2022-03-11T13:20:00+00:00" />
    <participant>
        <actor>
            <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
            <display value="Richard Smith" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                <code value="ATND" />
            </coding>
        </type>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
            <display value="Dr Sandra Gose" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <actor>
            <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
            <display value="Orthopaedic Trauma Department, St James&#39; University Hospital, Leeds" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
</Appointment>

JSON View

{
    "resourceType": "Appointment",
    "id": "UKCore-Appointment-Extension-BookingOrganization-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization",
            "valueReference": {
                "reference": "Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example",
                "type": "Organization",
                "identifier": {
                    "use": "official",
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                "code": "PRN",
                                "display": "Provider number"
                            }
                        ]
                    },
                    "system": "https://fhir.nhs.uk/Id/ods-site-code",
                    "value": "GP8D7",
                    "period": {
                        "start": "2022-03-11T10:46:00+00:00",
                        "end": "2022-03-11T13:20:00+00:00"
                    }
                }
            }
        }
    ],
    "status": "booked",
    "start": "2022-03-11T10:46:00+00:00",
    "end": "2022-03-11T13:20:00+00:00",
    "participant":  [
        {
            "actor": {
                "reference": "Patient/UKCore-Patient-RichardSmith-Example",
                "display": "Richard Smith"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ATND"
                        }
                    ]
                }
            ],
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example",
                "display": "Dr Sandra Gose"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "actor": {
                "reference": "Location/UKCore-Location-HospitalSJUH-Example",
                "display": "Orthopaedic Trauma Department, St James' University Hospital, Leeds"
            },
            "required": "required",
            "status": "accepted"
        }
    ]
}

An example to illustrate the delivery channel associated with an appointment

Table View

Appointment.id[0]UKCore-Appointment-Extension-DeliveryChannel-Example
Appointment.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel
Appointment.extension[0].valueCode[0]In-person
Appointment.status[0]booked
Appointment.start[0]2022-03-11T10:46:00+00:00
Appointment.end[0]2022-03-11T13:20:00+00:00
Appointment.participant[0].actor[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Appointment.participant[0].actor[0].display[0]Richard Smith
Appointment.participant[0].required[0]required
Appointment.participant[0].status[0]accepted
Appointment.participant[1].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ParticipationType
Appointment.participant[1].type[0].coding[0].code[0]ATND
Appointment.participant[1].actor[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Appointment.participant[1].actor[0].display[0]Dr Sandra Gose
Appointment.participant[1].required[0]required
Appointment.participant[1].status[0]accepted
Appointment.participant[2].actor[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
Appointment.participant[2].actor[0].display[0]Orthopaedic Trauma Department, St James' University Hospital, Leeds
Appointment.participant[2].required[0]required
Appointment.participant[2].status[0]accepted

Tree View

Appointment

XML View

<Appointment xmlns="http://hl7.org/fhir">
    <id value="UKCore-Appointment-Extension-DeliveryChannel-Example" />
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel">
        <valueCode value="In-person" />
    </extension>
    <!--  **************extension end ******************  -->
    <status value="booked" />
    <start value="2022-03-11T10:46:00+00:00" />
    <end value="2022-03-11T13:20:00+00:00" />
    <participant>
        <actor>
            <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
            <display value="Richard Smith" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                <code value="ATND" />
            </coding>
        </type>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
            <display value="Dr Sandra Gose" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <actor>
            <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
            <display value="Orthopaedic Trauma Department, St James&#39; University Hospital, Leeds" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
</Appointment>

JSON View

{
    "resourceType": "Appointment",
    "id": "UKCore-Appointment-Extension-DeliveryChannel-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel",
            "valueCode": "In-person"
        }
    ],
    "status": "booked",
    "start": "2022-03-11T10:46:00+00:00",
    "end": "2022-03-11T13:20:00+00:00",
    "participant":  [
        {
            "actor": {
                "reference": "Patient/UKCore-Patient-RichardSmith-Example",
                "display": "Richard Smith"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ATND"
                        }
                    ]
                }
            ],
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example",
                "display": "Dr Sandra Gose"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "actor": {
                "reference": "Location/UKCore-Location-HospitalSJUH-Example",
                "display": "Orthopaedic Trauma Department, St James' University Hospital, Leeds"
            },
            "required": "required",
            "status": "accepted"
        }
    ]
}

An example to illustrate an orthopaedic surgery appointment

Table View

Appointment.id[0]UKCore-Appointment-OrthopaedicSurgery-Example
Appointment.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization
Appointment.extension[0].valueReference[0].reference[0]Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example
Appointment.extension[0].valueReference[0].type[0]Organization
Appointment.extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel
Appointment.extension[1].valueCode[0]In-person
Appointment.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Appointment.identifier[0].value[0]e7c54d06-c5b5-4ecb-91c3-5c1e68d3b923
Appointment.status[0]booked
Appointment.serviceCategory[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/service-category
Appointment.serviceCategory[0].coding[0].code[0]31
Appointment.serviceCategory[0].coding[0].display[0]Specialist Surgical
Appointment.serviceType[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/service-type
Appointment.serviceType[0].coding[0].code[0]218
Appointment.serviceType[0].coding[0].display[0]Orthopaedic Surgery
Appointment.specialty[0].coding[0].system[0]http://snomed.info/sct
Appointment.specialty[0].coding[0].code[0]394801008
Appointment.specialty[0].coding[0].display[0]Trauma & orthopaedics
Appointment.appointmentType[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0276
Appointment.appointmentType[0].coding[0].code[0]FOLLOWUP
Appointment.appointmentType[0].coding[0].display[0]A follow up visit from a previous appointment
Appointment.reasonReference[0].reference[0]Condition/UKCore-Condition-HipReplacement-Example
Appointment.reasonReference[0].display[0]Pain in both hips
Appointment.priority[0]1
Appointment.description[0]Appointment to investigate the pain in both hips
Appointment.start[0]2022-03-11T10:46:00+00:00
Appointment.end[0]2022-03-11T13:20:00+00:00
Appointment.created[0]2022-02-14
Appointment.comment[0]Further expand on the results of the X-ray and determine the next actions that may be appropriate.
Appointment.patientInstruction[0]Please do not eat anything for 1 hour prior to the appointment.
Appointment.basedOn[0].reference[0]ServiceRequest/UKCore-ServiceRequest-HipReplacement-Example
Appointment.participant[0].actor[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Appointment.participant[0].actor[0].display[0]Richard Smith
Appointment.participant[0].required[0]required
Appointment.participant[0].status[0]accepted
Appointment.participant[1].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ParticipationType
Appointment.participant[1].type[0].coding[0].code[0]ATND
Appointment.participant[1].actor[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Appointment.participant[1].actor[0].display[0]Dr Sandra Gose
Appointment.participant[1].required[0]required
Appointment.participant[1].status[0]accepted
Appointment.participant[2].actor[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
Appointment.participant[2].actor[0].display[0]Orthopaedic Trauma Department, St James' University Hospital, Leeds
Appointment.participant[2].required[0]required
Appointment.participant[2].status[0]accepted

Tree View

Appointment

XML View

<Appointment xmlns="http://hl7.org/fhir">
    <id value="UKCore-Appointment-OrthopaedicSurgery-Example" />
    <!-- This supports the recording of the organisation booking the appointment. -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization">
        <valueReference>
            <reference value="Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example" />
            <type value="Organization" />
        </valueReference>
    </extension>
    <!-- This describes the delivery channel of a scheduled appointment. -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel">
        <valueCode value="In-person" />
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="e7c54d06-c5b5-4ecb-91c3-5c1e68d3b923" />
    </identifier>
    <status value="booked" />
    <serviceCategory>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/service-category" />
            <code value="31" />
            <display value="Specialist Surgical" />
        </coding>
    </serviceCategory>
    <serviceType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/service-type" />
            <code value="218" />
            <display value="Orthopaedic Surgery" />
        </coding>
    </serviceType>
    <specialty>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="394801008" />
            <display value="Trauma &amp; orthopaedics" />
        </coding>
    </specialty>
    <appointmentType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
            <code value="FOLLOWUP" />
            <display value="A follow up visit from a previous appointment" />
        </coding>
    </appointmentType>
    <reasonReference>
        <reference value="Condition/UKCore-Condition-HipReplacement-Example" />
        <display value="Pain in both hips" />
    </reasonReference>
    <priority value="1" />
    <description value="Appointment to investigate the pain in both hips" />
    <start value="2022-03-11T10:46:00+00:00" />
    <end value="2022-03-11T13:20:00+00:00" />
    <created value="2022-02-14" />
    <comment value="Further expand on the results of the X-ray and determine the next actions that may be appropriate." />
    <patientInstruction value="Please do not eat anything for 1 hour prior to the appointment." />
    <basedOn>
        <reference value="ServiceRequest/UKCore-ServiceRequest-HipReplacement-Example" />
    </basedOn>
    <participant>
        <actor>
            <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
            <display value="Richard Smith" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
                <code value="ATND" />
            </coding>
        </type>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
            <display value="Dr Sandra Gose" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
    <participant>
        <actor>
            <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
            <display value="Orthopaedic Trauma Department, St James&#39; University Hospital, Leeds" />
        </actor>
        <required value="required" />
        <status value="accepted" />
    </participant>
</Appointment>

JSON View

{
    "resourceType": "Appointment",
    "id": "UKCore-Appointment-OrthopaedicSurgery-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BookingOrganization",
            "valueReference": {
                "reference": "Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example",
                "type": "Organization"
            }
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel",
            "valueCode": "In-person"
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "e7c54d06-c5b5-4ecb-91c3-5c1e68d3b923"
        }
    ],
    "status": "booked",
    "serviceCategory":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/service-category",
                    "code": "31",
                    "display": "Specialist Surgical"
                }
            ]
        }
    ],
    "serviceType":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/service-type",
                    "code": "218",
                    "display": "Orthopaedic Surgery"
                }
            ]
        }
    ],
    "specialty":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "394801008",
                    "display": "Trauma & orthopaedics"
                }
            ]
        }
    ],
    "appointmentType": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0276",
                "code": "FOLLOWUP",
                "display": "A follow up visit from a previous appointment"
            }
        ]
    },
    "reasonReference":  [
        {
            "reference": "Condition/UKCore-Condition-HipReplacement-Example",
            "display": "Pain in both hips"
        }
    ],
    "priority": 1,
    "description": "Appointment to investigate the pain in both hips",
    "start": "2022-03-11T10:46:00+00:00",
    "end": "2022-03-11T13:20:00+00:00",
    "created": "2022-02-14",
    "comment": "Further expand on the results of the X-ray and determine the next actions that may be appropriate.",
    "patientInstruction": "Please do not eat anything for 1 hour prior to the appointment.",
    "basedOn":  [
        {
            "reference": "ServiceRequest/UKCore-ServiceRequest-HipReplacement-Example"
        }
    ],
    "participant":  [
        {
            "actor": {
                "reference": "Patient/UKCore-Patient-RichardSmith-Example",
                "display": "Richard Smith"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ATND"
                        }
                    ]
                }
            ],
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example",
                "display": "Dr Sandra Gose"
            },
            "required": "required",
            "status": "accepted"
        },
        {
            "actor": {
                "reference": "Location/UKCore-Location-HospitalSJUH-Example",
                "display": "Orthopaedic Trauma Department, St James' University Hospital, Leeds"
            },
            "required": "required",
            "status": "accepted"
        }
    ]
}

An example to illustrate a bundled allergy list

Table View

Bundle.id[0]UKCore-Bundle-BundledAllergyList-Example
Bundle.type[0]collection
Bundle.entry[0].fullUrl[0]urn:uuid:d043d2b6-5782-4536-88b6-e537973a09fb
Bundle.entry[0].resource[0].id[0]UKCore-Allergy-List-Example
Bundle.entry[0].resource[0].status[0]current
Bundle.entry[0].resource[0].mode[0]snapshot
Bundle.entry[0].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[0].resource[0].code[0].coding[0].code[0]886921000000105
Bundle.entry[0].resource[0].code[0].coding[0].display[0]Allergies and adverse reactions
Bundle.entry[0].resource[0].subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Bundle.entry[0].resource[0].date[0]2019-12-10T13:00:00+00:00
Bundle.entry[0].resource[0].entry[0].item[0].reference[0]urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4
Bundle.entry[1].fullUrl[0]urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4
Bundle.entry[1].resource[0].id[0]efae5859-28df-4e7d-be91-6df56d8215e4
Bundle.entry[1].resource[0].clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
Bundle.entry[1].resource[0].clinicalStatus[0].coding[0].code[0]active
Bundle.entry[1].resource[0].clinicalStatus[0].coding[0].display[0]Active
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].code[0]confirmed
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].display[0]Confirmed
Bundle.entry[1].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].code[0].coding[0].code[0]372687004
Bundle.entry[1].resource[0].code[0].coding[0].display[0]Amoxicillin
Bundle.entry[1].resource[0].patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Bundle.entry[1].resource[0].encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
Bundle.entry[1].resource[0].recordedDate[0]2019-12-10T13:00:00+00:00
Bundle.entry[1].resource[0].recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Bundle.entry[1].resource[0].asserter[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].code[0]247472004
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].display[0]Urticarial rash
Bundle.entry[1].resource[0].reaction[0].severity[0]mild

Tree View

Bundle

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="UKCore-Bundle-BundledAllergyList-Example" />
    <type value="collection" />
    <entry>
        <fullUrl value="urn:uuid:d043d2b6-5782-4536-88b6-e537973a09fb" />
        <resource>
            <List>
                <id value="UKCore-Allergy-List-Example" />
                <status value="current" />
                <mode value="snapshot" />
                <code>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="886921000000105" />
                        <display value="Allergies and adverse reactions" />
                    </coding>
                </code>
                <subject>
                    <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
                </subject>
                <date value="2019-12-10T13:00:00+00:00" />
                <entry>
                    <item>
                        <reference value="urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4" />
                    </item>
                </entry>
            </List>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4" />
        <resource>
            <AllergyIntolerance>
                <id value="efae5859-28df-4e7d-be91-6df56d8215e4" />
                <clinicalStatus>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
                        <code value="active" />
                        <display value="Active" />
                    </coding>
                </clinicalStatus>
                <verificationStatus>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
                        <code value="confirmed" />
                        <display value="Confirmed" />
                    </coding>
                </verificationStatus>
                <code>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="372687004" />
                        <display value="Amoxicillin" />
                    </coding>
                </code>
                <patient>
                    <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
                </patient>
                <encounter>
                    <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
                </encounter>
                <recordedDate value="2019-12-10T13:00:00+00:00" />
                <recorder>
                    <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
                </recorder>
                <asserter>
                    <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
                </asserter>
                <reaction>
                    <manifestation>
                        <coding>
                            <system value="http://snomed.info/sct" />
                            <code value="247472004" />
                            <display value="Urticarial rash" />
                        </coding>
                    </manifestation>
                    <severity value="mild" />
                </reaction>
            </AllergyIntolerance>
        </resource>
    </entry>
</Bundle>

JSON View

{
    "resourceType": "Bundle",
    "id": "UKCore-Bundle-BundledAllergyList-Example",
    "type": "collection",
    "entry":  [
        {
            "fullUrl": "urn:uuid:d043d2b6-5782-4536-88b6-e537973a09fb",
            "resource": {
                "resourceType": "List",
                "id": "UKCore-Allergy-List-Example",
                "status": "current",
                "mode": "snapshot",
                "code": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "886921000000105",
                            "display": "Allergies and adverse reactions"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/UKCore-Patient-RichardSmith-Example"
                },
                "date": "2019-12-10T13:00:00+00:00",
                "entry":  [
                    {
                        "item": {
                            "reference": "urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:efae5859-28df-4e7d-be91-6df56d8215e4",
            "resource": {
                "resourceType": "AllergyIntolerance",
                "id": "efae5859-28df-4e7d-be91-6df56d8215e4",
                "clinicalStatus": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                            "code": "active",
                            "display": "Active"
                        }
                    ]
                },
                "verificationStatus": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                            "code": "confirmed",
                            "display": "Confirmed"
                        }
                    ]
                },
                "code": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "372687004",
                            "display": "Amoxicillin"
                        }
                    ]
                },
                "patient": {
                    "reference": "Patient/UKCore-Patient-RichardSmith-Example"
                },
                "encounter": {
                    "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
                },
                "recordedDate": "2019-12-10T13:00:00+00:00",
                "recorder": {
                    "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
                },
                "asserter": {
                    "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
                },
                "reaction":  [
                    {
                        "manifestation":  [
                            {
                                "coding":  [
                                    {
                                        "system": "http://snomed.info/sct",
                                        "code": "247472004",
                                        "display": "Urticarial rash"
                                    }
                                ]
                            }
                        ],
                        "severity": "mild"
                    }
                ]
            }
        }
    ]
}

An example to illustrate a composition containing a discharge summary

Table View

Composition.id[0]UKCore-Composition-Discharge-Example
Composition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType
Composition.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Composition.extension[0].valueCodeableConcept[0].coding[0].code[0]310000008
Composition.extension[0].valueCodeableConcept[0].coding[0].display[0]Accident and Emergency service
Composition.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Composition.identifier[0].value[0]2d361270-039f-4a48-827b-ef255ff8b6c4
Composition.status[0]final
Composition.type[0].coding[0].system[0]http://snomed.info/sct
Composition.type[0].coding[0].code[0]373942005
Composition.type[0].coding[0].display[0]Discharge summary
Composition.subject[0].reference[0]urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5
Composition.encounter[0].reference[0]urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9
Composition.date[0]2021-02-12T19:00:00+00:00
Composition.author[0].reference[0]urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb
Composition.title[0]Accident & Emergency Discharge summary
Composition.custodian[0].reference[0]urn:uuid:120633ae-1a20-4e0e-b807-b78fb59679cc
Composition.section[0].title[0]Allergies and adverse reaction
Composition.section[0].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[0].code[0].coding[0].code[0]allergies-and-adverse-reaction
Composition.section[0].code[0].coding[0].display[0]Allergies and adverse reaction
Composition.section[0].text[0].status[0]additional
Composition.section[0].text[0].div[0]
Causative agentPenicillin -class of antibiotic
Description of reactionEruption due to drug
SeverityMild
CertaintyCertain
CommentNo swelling
Composition.section[0].entry[0].reference[0]urn:uuid:b37c89af-c5da-425f-8e6d-58c043ccf94b
Composition.section[1].title[0]Attendance details
Composition.section[1].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[1].code[0].coding[0].code[0]attendance-details
Composition.section[1].code[0].coding[0].display[0]Attendance details
Composition.section[1].text[0].status[0]additional
Composition.section[1].text[0].div[0]
Date and time of contact12-Feb-2015 07:00
Composition.section[2].title[0]Clinical narrative
Composition.section[2].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[2].code[0].coding[0].code[0]clinical-narrative
Composition.section[2].code[0].coding[0].display[0]Clinical narrative
Composition.section[2].text[0].status[0]additional
Composition.section[2].text[0].div[0]
Clinical narrative

60 year old man complaining of chest pain lasting around 2 hours.

Examination unremarkable.

Inferior ischaemic changes on ECG.

Full Blood Count 

TestValueUnitsReference Range
White Cell Count11.1x10*9/L3.5 - 10.0
Red Cell Count5.0x10*12/L4.25 - 5.75 
Haemoglobin150g/L13.0 - 17.0
Haematocrit0.230L/L0.400 - 0.500
Mean Cell Volume90fL84 - 98
Mean Cell Hb33.0pg27.5 - 32.0
Mean Cell Hb Con34.0pg31.0 - 35.0
RDW12.0%< 14.5
Platelet Count300x10*9/L150 - 400

Machine Differential 

TestValueUnitsReference Range
Neutrophils7.0x10*9/L1.7 - 7.5
Lymphocytes3.5x10*9/L1.0 - 3.5
Monocytes0.3x10*9/L< 0.6
Eosinophils0.4x10*9/L< 0.4
Basophils0.1x10*9/L< 0.1
LUCs0.2x10*9/L< 0.4
                                
Composition.section[3].title[0]Contact for further information
Composition.section[3].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[3].code[0].coding[0].code[0]contact-for-further-information
Composition.section[3].code[0].coding[0].display[0]Contact for further information
Composition.section[3].text[0].status[0]additional
Composition.section[3].text[0].div[0]
Contact for further informationDr Paul Rastall Tel: 0113 6323200
Composition.section[4].title[0]Diagnoses
Composition.section[4].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[4].code[0].coding[0].code[0]diagnoses
Composition.section[4].code[0].coding[0].display[0]Diagnoses
Composition.section[4].text[0].status[0]generated
Composition.section[4].text[0].div[0]
Diagnosis nameAcute ST segment elevation myocardial infarction
Composition.section[4].entry[0].reference[0]urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f
Composition.section[5].title[0]Discharge details
Composition.section[5].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[5].code[0].coding[0].code[0]discharge-details
Composition.section[5].code[0].coding[0].display[0]Discharge details
Composition.section[5].text[0].status[0]extensions
Composition.section[5].text[0].div[0]
Discharge statusStreamed from emergency department to urgent care service following initial assessment
Date/time of discharge12-Feb-2015 08:00
Discharge destinationNHS other Hospital Provider - Ward for general Patients or the younger physically disabled
Composition.section[5].entry[0].reference[0]urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9
Composition.section[6].title[0]GP practice
Composition.section[6].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[6].code[0].coding[0].code[0]general-practitioner-practice
Composition.section[6].code[0].coding[0].display[0]General practitioner practice
Composition.section[6].text[0].status[0]additional
Composition.section[6].text[0].div[0]
GP name

Prefix: Dr

Given Name: John

Family Name: Lorenzo

GP practice details

Name: MGP Medical Centre

Address:

Address Line: 1 MGP House, Overtown

City: Leeds

Post Code: LS21 7PA

Composition.section[6].entry[0].reference[0]urn:uuid:e4058bb2-bf1a-47a4-ab10-1471161380a1
Composition.section[7].title[0]Information and advice given
Composition.section[7].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[7].code[0].coding[0].code[0]information-and-advice-given
Composition.section[7].code[0].coding[0].display[0]Information and advice given
Composition.section[7].text[0].status[0]additional
Composition.section[7].text[0].div[0]
Information and advice givenPatient advised to be admitted to ward for further tests after ECG results showed inferior ischaemic changes.
Composition.section[8].title[0]Medications and medical devices
Composition.section[8].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[8].code[0].coding[0].code[0]medications-and-medical-devices
Composition.section[8].code[0].coding[0].display[0]Medications and medical devices
Composition.section[8].text[0].status[0]additional
Composition.section[8].text[0].div[0]
Medication nameRamipril 2.5mg tablets (A A H Pharmaceuticals Ltd)
FormTablet
RouteOral
Dose directions descriptionOne 2.5mg tablet once a day.
StatusContinued
Medication nameAspirin 75mg tablets (Sigma Pharmaceuticals Plc)
FormTablet
RouteOral
Dose directions descriptionTake one 75mg tablet once a day.
StatusContinued
Medication nameSimvastatin 40mg tablets (Brown & Burk UK Ltd)
FormTablet
RouteOral
Dose directions descriptionTake one 40mg tablet once a day.
StatusContinued
Medication nameBisoprolol 5mg tablets (A A H Pharmaceuticals Ltd)
FormTablet
RouteOral
Dose directions descriptionTake one 5mg tablet daily.
Comment/recommendationRecommend Uptitrate according to BP and HR
StatusContinued
Composition.section[8].entry[0].reference[0]urn:uuid:e3c8b45f-22d4-4ce6-970c-10a959831dca
Composition.section[9].title[0]Patient demographics
Composition.section[9].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[9].code[0].coding[0].code[0]patient-demographics
Composition.section[9].code[0].coding[0].display[0]Patient demographics
Composition.section[9].text[0].status[0]generated
Composition.section[9].text[0].div[0]
Patient name

Prefix: Mr

Given Name: Richard

Family Name: Smith

Date of birth1 January 1957
GenderMale
NHS number1352465790
Patient address

Address Line: 21, Grove Street, Overtown

City: Leeds

Post Code: LS21 1PF

Composition.section[9].entry[0].reference[0]urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5
Composition.section[10].title[0]Person completing record
Composition.section[10].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[10].code[0].coding[0].code[0]person-completing-record
Composition.section[10].code[0].coding[0].display[0]Person completing record
Composition.section[10].text[0].status[0]generated
Composition.section[10].text[0].div[0]
Name

Prefix: Dr

Given Name: Paul

Family Name: Rastall

Composition.section[10].entry[0].reference[0]urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb
Composition.section[11].title[0]Plan and requested actions
Composition.section[11].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[11].code[0].coding[0].code[0]plan-and-requested-actions
Composition.section[11].code[0].coding[0].display[0]Plan and requested actions
Composition.section[11].text[0].status[0]additional
Composition.section[11].text[0].div[0]
Action

Patient has agreed to be admitted to Cramer ward for further tests to investigate causes of his chest pain on 12 February 2015.

Person responsible: Dr. Paul Rastall (Accident and Emergency Consultant, St. James's University Hospital Accident and Emergency Department)

Status: Completed

Outcome: Patient expects to find out the more information about the reasons for his chest pain when tests are carried out after admission.

Composition.section[12].title[0]Presenting complaints or issues
Composition.section[12].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[12].code[0].coding[0].code[0]presenting-complaints-or-issues
Composition.section[12].code[0].coding[0].display[0]Presenting complaints or issues
Composition.section[12].text[0].status[0]generated
Composition.section[12].text[0].div[0]
Presenting complaints or issueChest pain
Composition.section[12].entry[0].reference[0]urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f
Composition.section[13].title[0]Procedures
Composition.section[13].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[13].code[0].coding[0].code[0]procedures
Composition.section[13].code[0].coding[0].display[0]Procedures
Composition.section[13].text[0].status[0]additional
Composition.section[13].text[0].div[0]
Procedure nameElectrocardiographic monitoring
CommentECGs showed inferior ischaemic changes.
Composition.section[13].entry[0].reference[0]urn:uuid:1e04ce96-6e52-4f82-bc26-93c89c5836a1
Composition.section[14].title[0]Referrer details
Composition.section[14].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[14].code[0].coding[0].code[0]referrer-details
Composition.section[14].code[0].coding[0].display[0]Referrer details
Composition.section[14].text[0].status[0]additional
Composition.section[14].text[0].div[0]
Referrer detailsSelf-referral to accident and emergency department
Composition.section[15].title[0]Senior reviewing clinician
Composition.section[15].code[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Composition.section[15].code[0].coding[0].code[0]senior-reviewing-clinician
Composition.section[15].code[0].coding[0].display[0]Senior reviewing clinician
Composition.section[15].text[0].status[0]generated
Composition.section[15].text[0].div[0]
Name

Prefix: Mr

Family Name: Abacus

Composition.section[15].entry[0].reference[0]urn:uuid:d25fd1c6-2658-4db7-9af0-86c5f95e8ec9

Tree View

Composition

XML View

<Composition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Composition-Discharge-Example" />
    <!--  Extension to carry details of the Correspondence Care Setting Type.  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="310000008" />
                <display value="Accident and Emergency service" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="2d361270-039f-4a48-827b-ef255ff8b6c4" />
    </identifier>
    <!-- The workflow/clinical status of this composition. 
The status is a marker for the clinical standing of the document. -->
    <status value="final" />
    <type>
        <!-- Discharge Summary document type -->
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="373942005" />
            <display value="Discharge summary" />
        </coding>
    </type>
    <!-- Reference to the patient subject of the Composition -->
    <subject>
        <reference value="urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5" />
    </subject>
    <!-- Reference to the clinical encounter or type of care this documentation is associated with. -->
    <encounter>
        <reference value="urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9" />
    </encounter>
    <!-- The composition editing time, when the composition was last logically changed by the author. -->
    <date value="2021-02-12T19:00:00+00:00" />
    <!-- Identifies who is responsible for the information in the composition, 
not necessarily who typed it in -->
    <author>
        <reference value="urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb" />
    </author>
    <title value="Accident &amp; Emergency Discharge summary" />
    <!-- Identifies the organisation responsible for ongoing maintenance of and 
access to the composition/document information. -->
    <custodian>
        <reference value="urn:uuid:120633ae-1a20-4e0e-b807-b78fb59679cc" />
    </custodian>
    <!-- Allergies and adverse reactions -->
    <section>
        <title value="Allergies and adverse reaction" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="allergies-and-adverse-reaction" />
                <display value="Allergies and adverse reaction" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Causative agent</th><td>Penicillin -class of antibiotic</td></tr><tr><th>Description of reaction</th><td>Eruption due to drug</td></tr><tr><th>Severity</th><td>Mild</td></tr><tr><th>Certainty</th><td>Certain</td></tr><tr><th>Comment</th><td>No swelling</td></tr></tbody></table></div>
        </text>
        <!-- Reference to Allergies List as the source of information for this section -->
        <entry>
            <reference value="urn:uuid:b37c89af-c5da-425f-8e6d-58c043ccf94b" />
        </entry>
    </section>
    <!-- Attendance details -->
    <section>
        <title value="Attendance details" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="attendance-details" />
                <display value="Attendance details" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Date and time of contact</th><td>12-Feb-2015 07:00</td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Clinical narrative -->
    <section>
        <title value="Clinical narrative" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="clinical-narrative" />
                <display value="Clinical narrative" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Clinical narrative</th></tr><tr><td><p>60 year old man complaining of chest pain lasting around 2 hours.</p><p>Examination unremarkable.</p><p>Inferior ischaemic changes on ECG.</p></td></tr></tbody></table><table><tbody><tr><td><pre>
Full Blood Count 

TestValueUnitsReference Range
White Cell Count11.1x10*9/L3.5 - 10.0
Red Cell Count5.0x10*12/L4.25 - 5.75 
Haemoglobin150g/L13.0 - 17.0
Haematocrit0.230L/L0.400 - 0.500
Mean Cell Volume90fL84 - 98
Mean Cell Hb33.0pg27.5 - 32.0
Mean Cell Hb Con34.0pg31.0 - 35.0
RDW12.0%&lt; 14.5
Platelet Count300x10*9/L150 - 400

Machine Differential 

TestValueUnitsReference Range
Neutrophils7.0x10*9/L1.7 - 7.5
Lymphocytes3.5x10*9/L1.0 - 3.5
Monocytes0.3x10*9/L&lt; 0.6
Eosinophils0.4x10*9/L&lt; 0.4
Basophils0.1x10*9/L&lt; 0.1
LUCs0.2x10*9/L&lt; 0.4
                                </pre></td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Contact for further information -->
    <section>
        <title value="Contact for further information" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="contact-for-further-information" />
                <display value="Contact for further information" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Contact for further information</th><td>Dr Paul Rastall Tel: 0113 6323200</td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Diagnoses -->
    <section>
        <title value="Diagnoses" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="diagnoses" />
                <display value="Diagnoses" />
            </coding>
        </code>
        <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Diagnosis name</th><td>Acute ST segment elevation myocardial infarction</td></tr></tbody></table></div>
        </text>
        <!-- Reference to information in the Condition list resource -->
        <entry>
            <reference value="urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f" />
        </entry>
    </section>
    <!-- Discharge details -->
    <section>
        <title value="Discharge details" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="discharge-details" />
                <display value="Discharge details" />
            </coding>
        </code>
        <text>
            <status value="extensions" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Discharge status</th><td>Streamed from emergency department to urgent care service following initial assessment</td></tr><tr><th>Date/time of discharge</th><td>12-Feb-2015 08:00</td></tr><tr><th>Discharge destination</th><td>NHS other Hospital Provider - Ward for general Patients or the younger physically disabled</td></tr></tbody></table></div>
        </text>
        <!-- Reference to the Encounter entry as the source of information for this section -->
        <entry>
            <reference value="urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9" />
        </entry>
    </section>
    <!--  GP Practice -->
    <section>
        <title value="GP practice" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="general-practitioner-practice" />
                <display value="General practitioner practice" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>GP name</th><td><p>Prefix: Dr</p><p>Given Name: John</p><p>Family Name: Lorenzo</p></td></tr><tr><th>GP practice details</th><td><p>Name: MGP Medical Centre</p><p>Address:</p><p>Address Line: 1 MGP House, Overtown</p><p>City: Leeds</p><p>Post Code: LS21 7PA</p></td></tr></tbody></table></div>
        </text>
        <!-- Reference to the Organisation entry as the source of information for this section -->
        <entry>
            <reference value="urn:uuid:e4058bb2-bf1a-47a4-ab10-1471161380a1" />
        </entry>
    </section>
    <!--  Information and advice given -->
    <section>
        <title value="Information and advice given" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="information-and-advice-given" />
                <display value="Information and advice given" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Information and advice given</th><td>Patient advised to be admitted to ward for further tests after ECG results 
showed inferior ischaemic changes.</td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Medications and medical devices -->
    <section>
        <title value="Medications and medical devices" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="medications-and-medical-devices" />
                <display value="Medications and medical devices" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Medication name</th><td>Ramipril 2.5mg tablets (A A H Pharmaceuticals Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>One 2.5mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width="100%"><tbody><tr><th>Medication name</th><td>Aspirin 75mg tablets (Sigma Pharmaceuticals Plc)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 75mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width="100%"><tbody><tr><th>Medication name</th><td>Simvastatin 40mg tablets (Brown &amp; Burk UK Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 40mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width="100%"><tbody><tr><th>Medication name</th><td>Bisoprolol 5mg tablets (A A H Pharmaceuticals Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 5mg tablet daily.</td></tr><tr><th>Comment/recommendation</th><td>Recommend Uptitrate according to BP and HR</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table></div>
        </text>
        <!-- Reference to medication list -->
        <entry>
            <reference value="urn:uuid:e3c8b45f-22d4-4ce6-970c-10a959831dca" />
        </entry>
    </section>
    <!--  Patient demographics -->
    <section>
        <title value="Patient demographics" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="patient-demographics" />
                <display value="Patient demographics" />
            </coding>
        </code>
        <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Patient name</th><td><p>Prefix: Mr</p><p>Given Name: Richard</p><p>Family Name: Smith</p></td></tr><tr><th>Date of birth</th><td>1 January 1957</td></tr><tr><th>Gender</th><td>Male</td></tr><tr><th>NHS number</th><td>1352465790</td></tr><tr><th>Patient address</th><td><p>Address Line: 21, Grove Street, Overtown</p><p>City: Leeds</p><p>Post Code: LS21 1PF</p></td></tr></tbody></table></div>
        </text>
        <!-- reference to further information carried in the patient resource -->
        <entry>
            <reference value="urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5" />
        </entry>
    </section>
    <!-- Person completing record -->
    <section>
        <title value="Person completing record" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="person-completing-record" />
                <display value="Person completing record" />
            </coding>
        </code>
        <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Name</th><td><p>Prefix: Dr</p><p>Given Name: Paul</p><p>Family Name: Rastall</p></td></tr></tbody></table></div>
        </text>
        <!-- Reference to the practitioner entry as the source of information for this section -->
        <entry>
            <reference value="urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb" />
        </entry>
    </section>
    <!-- Plan and requested actions -->
    <section>
        <title value="Plan and requested actions" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="plan-and-requested-actions" />
                <display value="Plan and requested actions" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Action</th><td><p>Patient has agreed to be admitted to Cramer ward for further tests to investigate causes of 
his chest pain on 12 February 2015.</p><p>Person responsible: Dr. Paul Rastall (Accident and Emergency Consultant, St. James's 
University Hospital Accident and Emergency Department)</p><p>Status: Completed</p><p>Outcome: Patient expects to find out the more information about the reasons for his 
chest pain when tests are carried out after admission.</p></td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Presenting complaints or issues -->
    <section>
        <title value="Presenting complaints or issues" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="presenting-complaints-or-issues" />
                <display value="Presenting complaints or issues" />
            </coding>
        </code>
        <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Presenting complaints or issue</th><td>Chest pain</td></tr></tbody></table></div>
        </text>
        <!-- Reference to information in the Condition list resource -->
        <entry>
            <reference value="urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f" />
        </entry>
    </section>
    <!-- Procedures -->
    <section>
        <title value="Procedures" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="procedures" />
                <display value="Procedures" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table><tbody><tr><th>Procedure name</th><td>Electrocardiographic monitoring</td></tr><tr><th>Comment</th><td>ECGs showed inferior ischaemic changes.</td></tr></tbody></table></div>
        </text>
        <!-- reference to further information carried in the procedure list resource -->
        <entry>
            <reference value="urn:uuid:1e04ce96-6e52-4f82-bc26-93c89c5836a1" />
        </entry>
    </section>
    <!-- Referrer details -->
    <section>
        <title value="Referrer details" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="referrer-details" />
                <display value="Referrer details" />
            </coding>
        </code>
        <text>
            <status value="additional" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Referrer details</th><td>Self-referral to accident and emergency department</td></tr></tbody></table></div>
        </text>
    </section>
    <!-- Senior reviewing clinician -->
    <section>
        <title value="Senior reviewing clinician" />
        <code>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
                <code value="senior-reviewing-clinician" />
                <display value="Senior reviewing clinician" />
            </coding>
        </code>
        <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml"><table width="100%"><tbody><tr><th>Name</th><td><p>Prefix: Mr</p><p>Family Name: Abacus</p></td></tr></tbody></table></div>
        </text>
        <!-- reference to further information carried in the practitioner resource -->
        <entry>
            <reference value="urn:uuid:d25fd1c6-2658-4db7-9af0-86c5f95e8ec9" />
        </entry>
    </section>
</Composition>

JSON View

{
    "resourceType": "Composition",
    "id": "UKCore-Composition-Discharge-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "310000008",
                        "display": "Accident and Emergency service"
                    }
                ]
            }
        }
    ],
    "identifier": {
        "system": "https://tools.ietf.org/html/rfc4122",
        "value": "2d361270-039f-4a48-827b-ef255ff8b6c4"
    },
    "status": "final",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "373942005",
                "display": "Discharge summary"
            }
        ]
    },
    "subject": {
        "reference": "urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5"
    },
    "encounter": {
        "reference": "urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9"
    },
    "date": "2021-02-12T19:00:00+00:00",
    "author":  [
        {
            "reference": "urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb"
        }
    ],
    "title": "Accident & Emergency Discharge summary",
    "custodian": {
        "reference": "urn:uuid:120633ae-1a20-4e0e-b807-b78fb59679cc"
    },
    "section":  [
        {
            "title": "Allergies and adverse reaction",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "allergies-and-adverse-reaction",
                        "display": "Allergies and adverse reaction"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Causative agent</th><td>Penicillin -class of antibiotic</td></tr><tr><th>Description of reaction</th><td>Eruption due to drug</td></tr><tr><th>Severity</th><td>Mild</td></tr><tr><th>Certainty</th><td>Certain</td></tr><tr><th>Comment</th><td>No swelling</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:b37c89af-c5da-425f-8e6d-58c043ccf94b"
                }
            ]
        },
        {
            "title": "Attendance details",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "attendance-details",
                        "display": "Attendance details"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Date and time of contact</th><td>12-Feb-2015 07:00</td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Clinical narrative",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "clinical-narrative",
                        "display": "Clinical narrative"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Clinical narrative</th></tr><tr><td><p>60 year old man complaining of chest pain lasting around 2 hours.</p><p>Examination unremarkable.</p><p>Inferior ischaemic changes on ECG.</p></td></tr></tbody></table><table><tbody><tr><td><pre>\nFull Blood Count \n\nTestValueUnitsReference Range\nWhite Cell Count11.1x10*9/L3.5 - 10.0\nRed Cell Count5.0x10*12/L4.25 - 5.75 \nHaemoglobin150g/L13.0 - 17.0\nHaematocrit0.230L/L0.400 - 0.500\nMean Cell Volume90fL84 - 98\nMean Cell Hb33.0pg27.5 - 32.0\nMean Cell Hb Con34.0pg31.0 - 35.0\nRDW12.0%&lt; 14.5\nPlatelet Count300x10*9/L150 - 400\n\nMachine Differential \n\nTestValueUnitsReference Range\nNeutrophils7.0x10*9/L1.7 - 7.5\nLymphocytes3.5x10*9/L1.0 - 3.5\nMonocytes0.3x10*9/L&lt; 0.6\nEosinophils0.4x10*9/L&lt; 0.4\nBasophils0.1x10*9/L&lt; 0.1\nLUCs0.2x10*9/L&lt; 0.4\n                                </pre></td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Contact for further information",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "contact-for-further-information",
                        "display": "Contact for further information"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Contact for further information</th><td>Dr Paul Rastall Tel: 0113 6323200</td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Diagnoses",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "diagnoses",
                        "display": "Diagnoses"
                    }
                ]
            },
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Diagnosis name</th><td>Acute ST segment elevation myocardial infarction</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f"
                }
            ]
        },
        {
            "title": "Discharge details",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "discharge-details",
                        "display": "Discharge details"
                    }
                ]
            },
            "text": {
                "status": "extensions",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Discharge status</th><td>Streamed from emergency department to urgent care service following initial assessment</td></tr><tr><th>Date/time of discharge</th><td>12-Feb-2015 08:00</td></tr><tr><th>Discharge destination</th><td>NHS other Hospital Provider - Ward for general Patients or the younger physically disabled</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:9a20cb92-354a-4015-82ec-ab0252efc5b9"
                }
            ]
        },
        {
            "title": "GP practice",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "general-practitioner-practice",
                        "display": "General practitioner practice"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>GP name</th><td><p>Prefix: Dr</p><p>Given Name: John</p><p>Family Name: Lorenzo</p></td></tr><tr><th>GP practice details</th><td><p>Name: MGP Medical Centre</p><p>Address:</p><p>Address Line: 1 MGP House, Overtown</p><p>City: Leeds</p><p>Post Code: LS21 7PA</p></td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:e4058bb2-bf1a-47a4-ab10-1471161380a1"
                }
            ]
        },
        {
            "title": "Information and advice given",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "information-and-advice-given",
                        "display": "Information and advice given"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Information and advice given</th><td>Patient advised to be admitted to ward for further tests after ECG results \nshowed inferior ischaemic changes.</td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Medications and medical devices",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "medications-and-medical-devices",
                        "display": "Medications and medical devices"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Medication name</th><td>Ramipril 2.5mg tablets (A A H Pharmaceuticals Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>One 2.5mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width=\"100%\"><tbody><tr><th>Medication name</th><td>Aspirin 75mg tablets (Sigma Pharmaceuticals Plc)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 75mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width=\"100%\"><tbody><tr><th>Medication name</th><td>Simvastatin 40mg tablets (Brown &amp; Burk UK Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 40mg tablet once a day.</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table><table width=\"100%\"><tbody><tr><th>Medication name</th><td>Bisoprolol 5mg tablets (A A H Pharmaceuticals Ltd)</td></tr><tr><th>Form</th><td>Tablet</td></tr><tr><th>Route</th><td>Oral</td></tr><tr><th>Dose directions description</th><td>Take one 5mg tablet daily.</td></tr><tr><th>Comment/recommendation</th><td>Recommend Uptitrate according to BP and HR</td></tr><tr><th>Status</th><td>Continued</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:e3c8b45f-22d4-4ce6-970c-10a959831dca"
                }
            ]
        },
        {
            "title": "Patient demographics",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "patient-demographics",
                        "display": "Patient demographics"
                    }
                ]
            },
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Patient name</th><td><p>Prefix: Mr</p><p>Given Name: Richard</p><p>Family Name: Smith</p></td></tr><tr><th>Date of birth</th><td>1 January 1957</td></tr><tr><th>Gender</th><td>Male</td></tr><tr><th>NHS number</th><td>1352465790</td></tr><tr><th>Patient address</th><td><p>Address Line: 21, Grove Street, Overtown</p><p>City: Leeds</p><p>Post Code: LS21 1PF</p></td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:c8225cc8-8026-466f-80f8-fc2832a4b9d5"
                }
            ]
        },
        {
            "title": "Person completing record",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "person-completing-record",
                        "display": "Person completing record"
                    }
                ]
            },
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Name</th><td><p>Prefix: Dr</p><p>Given Name: Paul</p><p>Family Name: Rastall</p></td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:369d88a8-9f6b-407f-8560-6ee9d7ccc8bb"
                }
            ]
        },
        {
            "title": "Plan and requested actions",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "plan-and-requested-actions",
                        "display": "Plan and requested actions"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Action</th><td><p>Patient has agreed to be admitted to Cramer ward for further tests to investigate causes of \nhis chest pain on 12 February 2015.</p><p>Person responsible: Dr. Paul Rastall (Accident and Emergency Consultant, St. James's \nUniversity Hospital Accident and Emergency Department)</p><p>Status: Completed</p><p>Outcome: Patient expects to find out the more information about the reasons for his \nchest pain when tests are carried out after admission.</p></td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Presenting complaints or issues",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "presenting-complaints-or-issues",
                        "display": "Presenting complaints or issues"
                    }
                ]
            },
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Presenting complaints or issue</th><td>Chest pain</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:0a46351b-bfe1-4085-956e-15d3b172e36f"
                }
            ]
        },
        {
            "title": "Procedures",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "procedures",
                        "display": "Procedures"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><tbody><tr><th>Procedure name</th><td>Electrocardiographic monitoring</td></tr><tr><th>Comment</th><td>ECGs showed inferior ischaemic changes.</td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:1e04ce96-6e52-4f82-bc26-93c89c5836a1"
                }
            ]
        },
        {
            "title": "Referrer details",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "referrer-details",
                        "display": "Referrer details"
                    }
                ]
            },
            "text": {
                "status": "additional",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Referrer details</th><td>Self-referral to accident and emergency department</td></tr></tbody></table></div>"
            }
        },
        {
            "title": "Senior reviewing clinician",
            "code": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                        "code": "senior-reviewing-clinician",
                        "display": "Senior reviewing clinician"
                    }
                ]
            },
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\"><tbody><tr><th>Name</th><td><p>Prefix: Mr</p><p>Family Name: Abacus</p></td></tr></tbody></table></div>"
            },
            "entry":  [
                {
                    "reference": "urn:uuid:d25fd1c6-2658-4db7-9af0-86c5f95e8ec9"
                }
            ]
        }
    ]
}

An example to illustrate the care setting of a FHIR document

Table View

Composition.id[0]UKCore-Composition-Extension-CareSettingType-Example
Composition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType
Composition.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Composition.extension[0].valueCodeableConcept[0].coding[0].code[0]789718008
Composition.extension[0].valueCodeableConcept[0].coding[0].display[0]Cardiology service
Composition.status[0]final
Composition.type[0].coding[0].system[0]http://snomed.info/sct
Composition.type[0].coding[0].code[0]373942005
Composition.type[0].coding[0].display[0]Discharge summary
Composition.date[0]2020-11-11T21:30:00+00:00
Composition.author[0].reference[0]urn:uuid:6555b7a7-380d-46ff-a1c5-7abc4e68f8bc
Composition.title[0]Discharge summary

Tree View

Composition

XML View

<Composition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Composition-Extension-CareSettingType-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="789718008" />
                <display value="Cardiology service" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  *************extension end ***************** -->
    <status value="final" />
    <type>
        <!-- Discharge Summary document type -->
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="373942005" />
            <display value="Discharge summary" />
        </coding>
    </type>
    <date value="2020-11-11T21:30:00+00:00" />
    <author>
        <reference value="urn:uuid:6555b7a7-380d-46ff-a1c5-7abc4e68f8bc" />
    </author>
    <title value="Discharge summary" />
</Composition>

JSON View

{
    "resourceType": "Composition",
    "id": "UKCore-Composition-Extension-CareSettingType-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "789718008",
                        "display": "Cardiology service"
                    }
                ]
            }
        }
    ],
    "status": "final",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "373942005",
                "display": "Discharge summary"
            }
        ]
    },
    "date": "2020-11-11T21:30:00+00:00",
    "author":  [
        {
            "reference": "urn:uuid:6555b7a7-380d-46ff-a1c5-7abc4e68f8bc"
        }
    ],
    "title": "Discharge summary"
}

An example to illustrate the extension which adds a SNOMED CT description ID to CodeableConcept

Table View

Condition.id[0]UKCore-Condition-Extension-CodingSCTDescId-Example
Condition.code[0].coding[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay
Condition.code[0].coding[0].extension[0].valueString[0]Bronchial asthma
Condition.code[0].coding[0].extension[1].url[0]http://hl7.org/fhir/StructureDefinition/coding-sctdescid
Condition.code[0].coding[0].extension[1].valueId[0]301480018
Condition.code[0].coding[0].system[0]http://snomed.info/sct
Condition.code[0].coding[0].code[0]195967001
Condition.code[0].coding[0].display[0]Asthma
Condition.code[0].coding[0].userSelected[0]True
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-CodingSCTDescId-Example" />
    <code>
        <coding>
            <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay">
                <valueString value="Bronchial asthma" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/coding-sctdescid">
                <valueId value="301480018" />
            </extension>
            <system value="http://snomed.info/sct" />
            <code value="195967001" />
            <display value="Asthma" />
            <userSelected value="true" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-CodingSCTDescId-Example",
    "code": {
        "coding":  [
            {
                "extension":  [
                    {
                        "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay",
                        "valueString": "Bronchial asthma"
                    },
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/coding-sctdescid",
                        "valueId": "301480018"
                    }
                ],
                "system": "http://snomed.info/sct",
                "code": "195967001",
                "display": "Asthma",
                "userSelected": true
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate a patient bleeding from ear

Table View

Condition.id[0]UKCore-Condition-BleedingFromEar-Example
Condition.clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/condition-clinical
Condition.clinicalStatus[0].coding[0].code[0]active
Condition.clinicalStatus[0].coding[0].display[0]Active
Condition.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/condition-ver-status
Condition.verificationStatus[0].coding[0].code[0]confirmed
Condition.verificationStatus[0].coding[0].display[0]Confirmed
Condition.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/condition-category
Condition.category[0].coding[0].code[0]encounter-diagnosis
Condition.category[0].coding[0].display[0]Encounter Diagnosis
Condition.code[0].coding[0].system[0]http://snomed.info/sct
Condition.code[0].coding[0].code[0]26322001
Condition.code[0].coding[0].display[0]Bleeding from ear
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-BleedingFromEar-Example" />
    <clinicalStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
            <code value="active" />
            <display value="Active" />
        </coding>
    </clinicalStatus>
    <verificationStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" />
            <code value="confirmed" />
            <display value="Confirmed" />
        </coding>
    </verificationStatus>
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-category" />
            <code value="encounter-diagnosis" />
            <display value="Encounter Diagnosis" />
        </coding>
    </category>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="26322001" />
            <display value="Bleeding from ear" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-BleedingFromEar-Example",
    "clinicalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                "code": "active",
                "display": "Active"
            }
        ]
    },
    "verificationStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/condition-category",
                    "code": "encounter-diagnosis",
                    "display": "Encounter Diagnosis"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "26322001",
                "display": "Bleeding from ear"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate the extension which is used to indicate the actual problem associated with a condition

Table View

Condition.id[0]UKCore-Condition-Extension-ActualProblem-Example
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ActualProblem
Condition.extension[0].valueReference[0].reference[0]Condition/UKCore-Condition-BleedingFromEar-Example
Condition.extension[0].valueReference[0].type[0]Condition
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-ActualProblem-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ActualProblem">
        <valueReference>
            <reference value="Condition/UKCore-Condition-BleedingFromEar-Example" />
            <type value="Condition" />
        </valueReference>
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-ActualProblem-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ActualProblem",
            "valueReference": {
                "reference": "Condition/UKCore-Condition-BleedingFromEar-Example",
                "type": "Condition"
            }
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate the extension which is used to indicate the episodicity status of a condition

Table View

Condition.id[0]UKCore-Condition-Extension-ConditionEpisode-Example.xml
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ConditionEpisode
Condition.extension[0].valueCode[0]new
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-ConditionEpisode-Example.xml" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ConditionEpisode">
        <valueCode value="new" />
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-ConditionEpisode-Example.xml",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ConditionEpisode",
            "valueCode": "new"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate the extension which is used to indicate the significance of a problem associated with a condition

Table View

Condition.id[0]UKCore-Condition-Extension-ProblemSignificance-Example
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ProblemSignificance
Condition.extension[0].valueCode[0]minor
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-ProblemSignificance-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ProblemSignificance">
        <valueCode value="minor" />
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-ProblemSignificance-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ProblemSignificance",
            "valueCode": "minor"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

Table View

Condition.id[0]UKCore-Condition-Extension-RelatedClinicalContent-Example
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedClinicalContent
Condition.extension[0].valueReference[0].reference[0]Observation/UKCore-Observation-AwarenessOfDiagnosis-Example
Condition.extension[0].valueReference[0].type[0]Observation
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-RelatedClinicalContent-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedClinicalContent">
        <valueReference>
            <reference value="Observation/UKCore-Observation-AwarenessOfDiagnosis-Example" />
            <type value="Observation" />
        </valueReference>
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-RelatedClinicalContent-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedClinicalContent",
            "valueReference": {
                "reference": "Observation/UKCore-Observation-AwarenessOfDiagnosis-Example",
                "type": "Observation"
            }
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

Table View

Condition.id[0]UKCore-Condition-Extension-RelatedProblemHeader-Example
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedProblemHeader
Condition.extension[0].extension[0].url[0]type
Condition.extension[0].extension[0].valueCode[0]child
Condition.extension[0].extension[1].url[0]target
Condition.extension[0].extension[1].valueReference[0].reference[0]Condition/UKCore-Condition-BleedingFromEar-Example
Condition.extension[0].extension[1].valueReference[0].type[0]Condition
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Condition-Extension-RelatedProblemHeader-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedProblemHeader">
        <extension url="type">
            <valueCode value="child" />
        </extension>
        <extension url="target">
            <valueReference>
                <reference value="Condition/UKCore-Condition-BleedingFromEar-Example" />
                <type value="Condition" />
            </valueReference>
        </extension>
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Condition-Extension-RelatedProblemHeader-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedProblemHeader",
            "extension":  [
                {
                    "url": "type",
                    "valueCode": "child"
                },
                {
                    "url": "target",
                    "valueReference": {
                        "reference": "Condition/UKCore-Condition-BleedingFromEar-Example",
                        "type": "Condition"
                    }
                }
            ]
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate a diagnostic studies report

Table View

DiagnosticReport.id[0]UKCore-DiagnosticReport-DiagnosticStudiesReport-Example
DiagnosticReport.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
DiagnosticReport.identifier[0].value[0]727071dc-eb01-4224-8ee8-cc0a029787ac
DiagnosticReport.status[0]final
DiagnosticReport.code[0].coding[0].system[0]http://snomed.info/sct
DiagnosticReport.code[0].coding[0].code[0]721981007
DiagnosticReport.code[0].coding[0].display[0]Diagnostic studies report
DiagnosticReport.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
DiagnosticReport.performer[0].reference[0]Oranization/UKCore-Organization-LeedsTeachingHospital-Example
DiagnosticReport.performer[0].display[0]LEEDS TEACHING HOSPITALS NHS TRUST
DiagnosticReport.specimen[0].reference[0]Specimen/UKCore-Specimen-BloodSpecimen-Example
DiagnosticReport.result[0].reference[0]Observation/UKCore-Observation-WhiteCellCount-Example

XML View

<DiagnosticReport xmlns="http://hl7.org/fhir">
    <id value="UKCore-DiagnosticReport-DiagnosticStudiesReport-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="727071dc-eb01-4224-8ee8-cc0a029787ac" />
    </identifier>
    <status value="final" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="721981007" />
            <display value="Diagnostic studies report" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performer>
        <reference value="Oranization/UKCore-Organization-LeedsTeachingHospital-Example" />
        <display value="LEEDS TEACHING HOSPITALS NHS TRUST" />
    </performer>
    <specimen>
        <reference value="Specimen/UKCore-Specimen-BloodSpecimen-Example" />
    </specimen>
    <result>
        <reference value="Observation/UKCore-Observation-WhiteCellCount-Example" />
    </result>
</DiagnosticReport>

JSON View

{
    "resourceType": "DiagnosticReport",
    "id": "UKCore-DiagnosticReport-DiagnosticStudiesReport-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "727071dc-eb01-4224-8ee8-cc0a029787ac"
        }
    ],
    "status": "final",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "721981007",
                "display": "Diagnostic studies report"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "reference": "Oranization/UKCore-Organization-LeedsTeachingHospital-Example",
            "display": "LEEDS TEACHING HOSPITALS NHS TRUST"
        }
    ],
    "specimen":  [
        {
            "reference": "Specimen/UKCore-Specimen-BloodSpecimen-Example"
        }
    ],
    "result":  [
        {
            "reference": "Observation/UKCore-Observation-WhiteCellCount-Example"
        }
    ]
}

An example to illustrate an inpatient encounter

Table View

Encounter.id[0]UKCore-Encounter-InpatientEncounter-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod
Encounter.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland
Encounter.extension[0].valueCodeableConcept[0].coding[0].code[0]13
Encounter.extension[0].valueCodeableConcept[0].coding[0].display[0]Elective Admission: Planned
Encounter.extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod
Encounter.extension[1].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland
Encounter.extension[1].valueCodeableConcept[0].coding[0].code[0]1
Encounter.extension[1].valueCodeableConcept[0].coding[0].display[0]Patient discharged on clinical advice or with clinical consent
Encounter.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Encounter.identifier[0].value[0]6f40cebe-7b55-461d-9d7f-eadb4c065762
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/UKCore-Patient-RichardSmith-Example
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/UKCore-Practitioner-ConsultantSandraGose-Example
Encounter.period[0].start[0]2019-12-10T13:00:00+00:00
Encounter.period[0].end[0]2019-12-11T13:00:00+00:00
Encounter.reasonCode[0].coding[0].system[0]http://snomed.info/sct
Encounter.reasonCode[0].coding[0].code[0]7922000
Encounter.reasonCode[0].coding[0].display[0]General treatment
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/NHSDataModelAndDictionary-DischargeDestination
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].code[0]19
Encounter.hospitalization[0].dischargeDisposition[0].coding[0].display[0]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.
Encounter.location[0].location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example
Encounter.serviceProvider[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-InpatientEncounter-Example" />
    <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 url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland" />
                <code value="1" />
                <display value="Patient discharged on clinical advice or with clinical consent" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <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>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </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/UKCore-Practitioner-ConsultantSandraGose-Example" />
        </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/NHSDataModelAndDictionary-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>
            <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
        </location>
    </location>
    <serviceProvider>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </serviceProvider>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-InpatientEncounter-Example",
    "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"
                    }
                ]
            }
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland",
                        "code": "1",
                        "display": "Patient discharged on clinical advice or with clinical consent"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "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"
                }
            ]
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "participant":  [
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                            "code": "ATND",
                            "display": "attender"
                        }
                    ]
                }
            ],
            "individual": {
                "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
            }
        }
    ],
    "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/NHSDataModelAndDictionary-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": {
                "reference": "Location/UKCore-Location-CardiologySJUH-Example"
            }
        }
    ],
    "serviceProvider": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    }
}

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-Encounter-Extension-AdmissionMethod-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod
Encounter.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland
Encounter.extension[0].valueCodeableConcept[0].coding[0].code[0]13
Encounter.extension[0].valueCodeableConcept[0].coding[0].display[0]Elective Admission: Planned
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

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-Extension-AdmissionMethod-Example" />
    <!--  **************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**************  -->
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-Extension-AdmissionMethod-Example",
    "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"
                    }
                ]
            }
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    }
}

An example to illustrate the extension for an encounter to support the method of discharge from a hospital.

Table View

Encounter.id[0]UKCore-Encounter-Extension-DischargeMethod-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod
Encounter.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland
Encounter.extension[0].valueCodeableConcept[0].coding[0].code[0]1
Encounter.extension[0].valueCodeableConcept[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

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-Extension-DischargeMethod-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland" />
                <code value="1" />
                <display value="Patient discharged on clinical advice or with clinical consent" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-Extension-DischargeMethod-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland",
                        "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"
    }
}

An example to illustrate the extension which is used to indicate the status of an individual on discharge from an Emergency Care Department

Table View

Encounter.id[0]UKCore-Encounter-Extension-EmergencyCareDischargeStatus-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EmergencyCareDischargeStatus
Encounter.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Encounter.extension[0].valueCodeableConcept[0].coding[0].code[0]182992009
Encounter.extension[0].valueCodeableConcept[0].coding[0].display[0]Treatment completed
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

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-Extension-EmergencyCareDischargeStatus-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EmergencyCareDischargeStatus">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="182992009" />
                <display value="Treatment completed" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--   **************extension end**************   -->
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-Extension-EmergencyCareDischargeStatus-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EmergencyCareDischargeStatus",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "182992009",
                        "display": "Treatment completed"
                    }
                ]
            }
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    }
}

Table View

Encounter.id[0]UKCore-Encounter-Extension-LegalStatus-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus
Encounter.extension[0].extension[0].url[0]legalStatusContext
Encounter.extension[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusContext
Encounter.extension[0].extension[0].valueCodeableConcept[0].coding[0].code[0]admission
Encounter.extension[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Admission
Encounter.extension[0].extension[1].url[0]legalStatusClassification
Encounter.extension[0].extension[1].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusClassificationWales
Encounter.extension[0].extension[1].valueCodeableConcept[0].coding[0].code[0]02
Encounter.extension[0].extension[1].valueCodeableConcept[0].coding[0].display[0]Formally detained under Mental Health Act Section 2 (Admission for assessment)
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

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-Extension-LegalStatus-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus">
        <extension url="legalStatusContext">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusContext" />
                    <code value="admission" />
                    <display value="Admission" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="legalStatusClassification">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusClassificationWales" />
                    <code value="02" />
                    <display value="Formally detained under Mental Health Act Section 2 (Admission for assessment)" />
                </coding>
            </valueCodeableConcept>
        </extension>
    </extension>
    <!--  **************extension end**************  -->
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-Extension-LegalStatus-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus",
            "extension":  [
                {
                    "url": "legalStatusContext",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusContext",
                                "code": "admission",
                                "display": "Admission"
                            }
                        ]
                    }
                },
                {
                    "url": "legalStatusClassification",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusClassificationWales",
                                "code": "02",
                                "display": "Formally detained under Mental Health Act Section 2 (Admission for assessment)"
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    }
}

An example to illustrate the extension which is used to indicate the outcome of an outpatient attendance

Table View

Encounter.id[0]UKCore-Encounter-Extension-OutcomeofAttendance-Example
Encounter.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeofAttendance
Encounter.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland
Encounter.extension[0].valueCodeableConcept[0].coding[0].code[0]1
Encounter.extension[0].valueCodeableConcept[0].coding[0].display[0]Discharged from consultant's care (last attendance)
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

XML View

<Encounter xmlns="http://hl7.org/fhir">
    <id value="UKCore-Encounter-Extension-OutcomeofAttendance-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeofAttendance">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland" />
                <code value="1" />
                <display value="Discharged from consultant&#39;s care (last attendance)" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--   **************extension end**************   -->
    <status value="finished" />
    <class>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
        <code value="IMP" />
        <display value="inpatient encounter" />
    </class>
</Encounter>

JSON View

{
    "resourceType": "Encounter",
    "id": "UKCore-Encounter-Extension-OutcomeofAttendance-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeofAttendance",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland",
                        "code": "1",
                        "display": "Discharged from consultant's care (last attendance)"
                    }
                ]
            }
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "IMP",
        "display": "inpatient encounter"
    }
}

An example to illustrate an episode of care for smoking cessation therapy

Table View

EpisodeOfCare.id[0]UKCore-EpisodeOfCare-SmokingCessationTherapy-Example
EpisodeOfCare.status[0]finished
EpisodeOfCare.type[0].coding[0].system[0]http://snomed.info/sct
EpisodeOfCare.type[0].coding[0].code[0]710081004
EpisodeOfCare.type[0].coding[0].display[0]Smoking cessation therapy
EpisodeOfCare.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
EpisodeOfCare.managingOrganization[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example

XML View

<EpisodeOfCare xmlns="http://hl7.org/fhir">
    <id value="UKCore-EpisodeOfCare-SmokingCessationTherapy-Example" />
    <status value="finished" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="710081004" />
            <display value="Smoking cessation therapy" />
        </coding>
    </type>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <managingOrganization>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </managingOrganization>
</EpisodeOfCare>

JSON View

{
    "resourceType": "EpisodeOfCare",
    "id": "UKCore-EpisodeOfCare-SmokingCessationTherapy-Example",
    "status": "finished",
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "710081004",
                    "display": "Smoking cessation therapy"
                }
            ]
        }
    ],
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "managingOrganization": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    }
}

An example to illustrate a flag regarding a food allergy

Table View

Flag.id[0]UKCore-Flag-FoodAllergy-Example
Flag.text[0].status[0]generated
Flag.text[0].div[0]
Food Allergy Warning
Flag.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Flag.identifier[0].value[0]f4f703a9-ef92-4515-a7b0-99271428c84e
Flag.status[0]active
Flag.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/flag-category
Flag.category[0].coding[0].code[0]diet
Flag.category[0].coding[0].display[0]Diet
Flag.category[0].text[0]Diet
Flag.code[0].coding[0].system[0]http://snomed.info/sct
Flag.code[0].coding[0].code[0]226201008
Flag.code[0].coding[0].display[0]Peanut-free diet
Flag.code[0].text[0]Patient has a severe peanut allergy.
Flag.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Flag.subject[0].display[0]Richard Smith
Flag.period[0].start[0]2019-12-10T13:00:00+00:00
Flag.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
Flag.encounter[0].display[0]Leeds Teaching Hospital Inpatient Encounter
Flag.author[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
Flag.author[0].display[0]Dr Paul Rastall

XML View

<Flag xmlns="http://hl7.org/fhir">
    <id value="UKCore-Flag-FoodAllergy-Example" />
    <text>
        <status value="generated" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="f4f703a9-ef92-4515-a7b0-99271428c84e" />
    </identifier>
    <status value="active" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/flag-category" />
            <code value="diet" />
            <display value="Diet" />
        </coding>
        <text value="Diet" />
    </category>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="226201008" />
            <display value="Peanut-free diet" />
        </coding>
        <text value="Patient has a severe peanut allergy." />
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        <display value="Richard Smith" />
    </subject>
    <period>
        <start value="2019-12-10T13:00:00+00:00" />
    </period>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
        <display value="Leeds Teaching Hospital Inpatient Encounter" />
    </encounter>
    <author>
        <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        <display value="Dr Paul Rastall" />
    </author>
</Flag>

JSON View

{
    "resourceType": "Flag",
    "id": "UKCore-Flag-FoodAllergy-Example",
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "f4f703a9-ef92-4515-a7b0-99271428c84e"
        }
    ],
    "status": "active",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/flag-category",
                    "code": "diet",
                    "display": "Diet"
                }
            ],
            "text": "Diet"
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "226201008",
                "display": "Peanut-free diet"
            }
        ],
        "text": "Patient has a severe peanut allergy."
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example",
        "display": "Richard Smith"
    },
    "period": {
        "start": "2019-12-10T13:00:00+00:00"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example",
        "display": "Leeds Teaching Hospital Inpatient Encounter"
    },
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example",
        "display": "Dr Paul Rastall"
    }
}

An example to illustrate information about an orthopaedic service within a HealthcareService resource

Table View

HealthcareService.id[0]UKCore-HealthcareService-OrthopaedicService-Example
HealthcareService.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-site-code
HealthcareService.identifier[0].value[0]RR813
HealthcareService.active[0]True
HealthcareService.providedBy[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
HealthcareService.providedBy[0].display[0]St James' University Hospital, Leeds
HealthcareService.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/service-category
HealthcareService.category[0].coding[0].code[0]35
HealthcareService.category[0].coding[0].display[0]Hospital
HealthcareService.category[0].text[0]Hospital
HealthcareService.type[0].coding[0].system[0]http://snomed.info/sct
HealthcareService.type[0].coding[0].code[0]310161006
HealthcareService.type[0].coding[0].display[0]Orthopaedic service
HealthcareService.specialty[0].coding[0].system[0]http://snomed.info/sct
HealthcareService.specialty[0].coding[0].code[0]394801008
HealthcareService.specialty[0].coding[0].display[0]Trauma & orthopaedics
HealthcareService.location[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
HealthcareService.name[0]Orthopaedic Trauma Services
HealthcareService.comment[0]Our department is part of the Major Trauma Service at Leeds General Infirmary. The Trauma and orthopaedic team care for a range of trauma related injuries and conditions, with each patient’s treatment managed to their needs. Our clinics run every day; however these are specialist clinics to ensure that patients are seen by the appropriate consultant for specialised care.
HealthcareService.extraDetails[0]To ensure patients are and treated in the appropriate clinic patients are first referred to our Virtual Fracture Clinic. Patient’s individual cases are discussed alongside one of our consultants to determine the appropriate clinic for the patient to attend in our department. This ensures that patients are not delayed in clinic and do not have to be re-referred to other departments or consultants, which can hold up their treatment and hinder recovery.
HealthcareService.telecom[0].system[0]phone
HealthcareService.telecom[0].value[0]0113 3926991
HealthcareService.telecom[0].use[0]work
HealthcareService.telecom[1].system[0]email
HealthcareService.telecom[1].value[0]patientexperience.leedsth@nhs.net
HealthcareService.telecom[1].use[0]work
HealthcareService.serviceProvisionCode[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/service-provision-conditions
HealthcareService.serviceProvisionCode[0].coding[0].code[0]free
HealthcareService.serviceProvisionCode[0].coding[0].display[0]This service is available for no patient cost.
HealthcareService.program[0].text[0]Leeds Orthopaedic Outreach Service
HealthcareService.characteristic[0].coding[0].display[0]Wheelchair access
HealthcareService.referralMethod[0].coding[0].code[0]phone
HealthcareService.referralMethod[0].coding[0].display[0]Phone
HealthcareService.referralMethod[1].coding[0].code[0]elec
HealthcareService.referralMethod[1].coding[0].display[0]Secure Messaging
HealthcareService.referralMethod[2].coding[0].code[0]semail
HealthcareService.referralMethod[2].coding[0].display[0]Secure Email
HealthcareService.appointmentRequired[0]False
HealthcareService.availableTime[0].daysOfWeek[0]mon
HealthcareService.availableTime[0].daysOfWeek[1]tue
HealthcareService.availableTime[0].daysOfWeek[2]thu
HealthcareService.availableTime[0].daysOfWeek[3]fri
HealthcareService.availableTime[0].availableStartTime[0]08:30:00
HealthcareService.availableTime[0].availableEndTime[0]05:30:00
HealthcareService.notAvailable[0].description[0]Christmas/Boxing Day
HealthcareService.notAvailable[0].during[0].start[0]2022-12-24T17:31:00+00:00
HealthcareService.notAvailable[0].during[0].end[0]2022-12-26T17:30:00+00:00
HealthcareService.notAvailable[1].description[0]New Years Day
HealthcareService.notAvailable[1].during[0].start[0]2022-12-31T17:31:00+00:00
HealthcareService.notAvailable[1].during[0].end[0]2023-01-01T17:30:00+00:00
HealthcareService.availabilityExceptions[0]Reduced capacity is available during the Christmas period

XML View

<HealthcareService xmlns="http://hl7.org/fhir">
    <id value="UKCore-HealthcareService-OrthopaedicService-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/ods-site-code" />
        <value value="RR813" />
    </identifier>
    <active value="true" />
    <providedBy>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        <display value="St James&#39; University Hospital, Leeds" />
    </providedBy>
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/service-category" />
            <code value="35" />
            <display value="Hospital" />
        </coding>
        <text value="Hospital" />
    </category>
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="310161006" />
            <display value="Orthopaedic service" />
        </coding>
    </type>
    <specialty>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="394801008" />
            <display value="Trauma &amp; orthopaedics" />
        </coding>
    </specialty>
    <location>
        <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
    </location>
    <name value="Orthopaedic Trauma Services" />
    <comment value="Our department is part of the Major Trauma Service at Leeds General Infirmary. The Trauma and orthopaedic team care for a range of trauma related injuries and conditions, with each patient’s treatment managed to their needs. Our clinics run every day; however these are specialist clinics to ensure that patients are seen by the appropriate consultant for specialised care." />
    <extraDetails value="To ensure patients are and treated in the appropriate clinic patients are first referred to our Virtual Fracture Clinic. Patient’s individual cases are discussed alongside one of our consultants to determine the appropriate clinic for the patient to attend in our department. This ensures that patients are not delayed in clinic and do not have to be re-referred to other departments or consultants, which can hold up their treatment and hinder recovery." />
    <telecom>
        <system value="phone" />
        <value value="0113 3926991" />
        <use value="work" />
    </telecom>
    <telecom>
        <system value="email" />
        <value value="patientexperience.leedsth@nhs.net" />
        <use value="work" />
    </telecom>
    <serviceProvisionCode>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/service-provision-conditions" />
            <code value="free" />
            <display value="This service is available for no patient cost." />
        </coding>
    </serviceProvisionCode>
    <program>
        <text value="Leeds Orthopaedic Outreach Service" />
    </program>
    <characteristic>
        <coding>
            <display value="Wheelchair access" />
        </coding>
    </characteristic>
    <referralMethod>
        <coding>
            <code value="phone" />
            <display value="Phone" />
        </coding>
    </referralMethod>
    <referralMethod>
        <coding>
            <code value="elec" />
            <display value="Secure Messaging" />
        </coding>
    </referralMethod>
    <referralMethod>
        <coding>
            <code value="semail" />
            <display value="Secure Email" />
        </coding>
    </referralMethod>
    <appointmentRequired value="false" />
    <availableTime>
        <daysOfWeek value="mon" />
        <daysOfWeek value="tue" />
        <daysOfWeek value="thu" />
        <daysOfWeek value="fri" />
        <availableStartTime value="08:30:00" />
        <availableEndTime value="05:30:00" />
    </availableTime>
    <notAvailable>
        <description value="Christmas/Boxing Day" />
        <during>
            <start value="2022-12-24T17:31:00+00:00" />
            <end value="2022-12-26T17:30:00+00:00" />
        </during>
    </notAvailable>
    <notAvailable>
        <description value="New Years Day" />
        <during>
            <start value="2022-12-31T17:31:00+00:00" />
            <end value="2023-01-01T17:30:00+00:00" />
        </during>
    </notAvailable>
    <availabilityExceptions value="Reduced capacity is available during the Christmas period" />
</HealthcareService>

JSON View

{
    "resourceType": "HealthcareService",
    "id": "UKCore-HealthcareService-OrthopaedicService-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/ods-site-code",
            "value": "RR813"
        }
    ],
    "active": true,
    "providedBy": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example",
        "display": "St James' University Hospital, Leeds"
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/service-category",
                    "code": "35",
                    "display": "Hospital"
                }
            ],
            "text": "Hospital"
        }
    ],
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "310161006",
                    "display": "Orthopaedic service"
                }
            ]
        }
    ],
    "specialty":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "394801008",
                    "display": "Trauma & orthopaedics"
                }
            ]
        }
    ],
    "location":  [
        {
            "reference": "Location/UKCore-Location-HospitalSJUH-Example"
        }
    ],
    "name": "Orthopaedic Trauma Services",
    "comment": "Our department is part of the Major Trauma Service at Leeds General Infirmary. The Trauma and orthopaedic team care for a range of trauma related injuries and conditions, with each patient’s treatment managed to their needs. Our clinics run every day; however these are specialist clinics to ensure that patients are seen by the appropriate consultant for specialised care.",
    "extraDetails": "To ensure patients are and treated in the appropriate clinic patients are first referred to our Virtual Fracture Clinic. Patient’s individual cases are discussed alongside one of our consultants to determine the appropriate clinic for the patient to attend in our department. This ensures that patients are not delayed in clinic and do not have to be re-referred to other departments or consultants, which can hold up their treatment and hinder recovery.",
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 3926991",
            "use": "work"
        },
        {
            "system": "email",
            "value": "patientexperience.leedsth@nhs.net",
            "use": "work"
        }
    ],
    "serviceProvisionCode":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/service-provision-conditions",
                    "code": "free",
                    "display": "This service is available for no patient cost."
                }
            ]
        }
    ],
    "program":  [
        {
            "text": "Leeds Orthopaedic Outreach Service"
        }
    ],
    "characteristic":  [
        {
            "coding":  [
                {
                    "display": "Wheelchair access"
                }
            ]
        }
    ],
    "referralMethod":  [
        {
            "coding":  [
                {
                    "code": "phone",
                    "display": "Phone"
                }
            ]
        },
        {
            "coding":  [
                {
                    "code": "elec",
                    "display": "Secure Messaging"
                }
            ]
        },
        {
            "coding":  [
                {
                    "code": "semail",
                    "display": "Secure Email"
                }
            ]
        }
    ],
    "appointmentRequired": false,
    "availableTime":  [
        {
            "daysOfWeek":  [
                "mon",
                "tue",
                "thu",
                "fri"
            ],
            "availableStartTime": "08:30:00",
            "availableEndTime": "05:30:00"
        }
    ],
    "notAvailable":  [
        {
            "description": "Christmas/Boxing Day",
            "during": {
                "start": "2022-12-24T17:31:00+00:00",
                "end": "2022-12-26T17:30:00+00:00"
            }
        },
        {
            "description": "New Years Day",
            "during": {
                "start": "2022-12-31T17:31:00+00:00",
                "end": "2023-01-01T17:30:00+00:00"
            }
        }
    ],
    "availabilityExceptions": "Reduced capacity is available during the Christmas period"
}

An example to illustrate a CT chest scan ImagingStudy

Table View

ImagingStudy.id[0]UKCore-ImagingStudy-CTChestScan-Example
ImagingStudy.status[0]available
ImagingStudy.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
ImagingStudy.started[0]2023-01-24T09:01:20+00:00
ImagingStudy.numberOfSeries[0]1
ImagingStudy.numberOfInstances[0]1
ImagingStudy.series[0].uid[0]2.16.124.113543.6003.2588828330.45298.17418.2723805630
ImagingStudy.series[0].number[0]3
ImagingStudy.series[0].modality[0].system[0]http://dicom.nema.org/resources/ontology/DCM
ImagingStudy.series[0].modality[0].code[0]CT
ImagingStudy.series[0].description[0]CT Surview 180
ImagingStudy.series[0].numberOfInstances[0]1
ImagingStudy.series[0].bodySite[0].system[0]http://snomed.info/sct
ImagingStudy.series[0].bodySite[0].code[0]67734004
ImagingStudy.series[0].bodySite[0].display[0]Thoracic segment of trunk
ImagingStudy.series[0].instance[0].uid[0]2.16.124.113543.6003.189642796.63084.16748.2599092903
ImagingStudy.series[0].instance[0].sopClass[0].system[0]urn:ietf:rfc:3986
ImagingStudy.series[0].instance[0].sopClass[0].code[0]urn:oid:1.2.840.10008.5.1.4.1.1.2
ImagingStudy.series[0].instance[0].number[0]1

XML View

<ImagingStudy xmlns="http://hl7.org/fhir">
    <id value="UKCore-ImagingStudy-CTChestScan-Example" />
    <status value="available" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <started value="2023-01-24T09:01:20+00:00" />
    <numberOfSeries value="1" />
    <numberOfInstances value="1" />
    <series>
        <uid value="2.16.124.113543.6003.2588828330.45298.17418.2723805630" />
        <number value="3" />
        <modality>
            <system value="http://dicom.nema.org/resources/ontology/DCM" />
            <code value="CT" />
        </modality>
        <description value="CT Surview 180" />
        <numberOfInstances value="1" />
        <bodySite>
            <system value="http://snomed.info/sct" />
            <code value="67734004" />
            <display value="Thoracic segment of trunk" />
        </bodySite>
        <instance>
            <uid value="2.16.124.113543.6003.189642796.63084.16748.2599092903" />
            <sopClass>
                <system value="urn:ietf:rfc:3986" />
                <code value="urn:oid:1.2.840.10008.5.1.4.1.1.2" />
            </sopClass>
            <number value="1" />
        </instance>
    </series>
</ImagingStudy>

JSON View

{
    "resourceType": "ImagingStudy",
    "id": "UKCore-ImagingStudy-CTChestScan-Example",
    "status": "available",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "started": "2023-01-24T09:01:20+00:00",
    "numberOfSeries": 1,
    "numberOfInstances": 1,
    "series":  [
        {
            "uid": "2.16.124.113543.6003.2588828330.45298.17418.2723805630",
            "number": 3,
            "modality": {
                "system": "http://dicom.nema.org/resources/ontology/DCM",
                "code": "CT"
            },
            "description": "CT Surview 180",
            "numberOfInstances": 1,
            "bodySite": {
                "system": "http://snomed.info/sct",
                "code": "67734004",
                "display": "Thoracic segment of trunk"
            },
            "instance":  [
                {
                    "uid": "2.16.124.113543.6003.189642796.63084.16748.2599092903",
                    "sopClass": {
                        "system": "urn:ietf:rfc:3986",
                        "code": "urn:oid:1.2.840.10008.5.1.4.1.1.2"
                    },
                    "number": 1
                }
            ]
        }
    ]
}

An example to illustrate a vaccination for flu

Table View

Immunization.id[0]UKCore-Immunization-InfluenzaVaccine-Example
Immunization.status[0]completed
Immunization.vaccineCode[0].coding[0].system[0]https://dmd.nhs.uk
Immunization.vaccineCode[0].coding[0].code[0]11278411000001109
Immunization.vaccineCode[0].coding[0].display[0]Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)
Immunization.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Immunization.occurrenceDateTime[0]2013-01-10
Immunization.location[0].reference[0]UKCore-Location-GeneralPracticeNurseClinic-Example

Tree View

Immunization

XML View

<Immunization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Immunization-InfluenzaVaccine-Example" />
    <status value="completed" />
    <vaccineCode>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="11278411000001109" />
            <display value="Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)" />
        </coding>
    </vaccineCode>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <occurrenceDateTime value="2013-01-10" />
    <location>
        <reference value="UKCore-Location-GeneralPracticeNurseClinic-Example" />
    </location>
</Immunization>

JSON View

{
    "resourceType": "Immunization",
    "id": "UKCore-Immunization-InfluenzaVaccine-Example",
    "status": "completed",
    "vaccineCode": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "11278411000001109",
                "display": "Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "occurrenceDateTime": "2013-01-10",
    "location": {
        "reference": "UKCore-Location-GeneralPracticeNurseClinic-Example"
    }
}

An example to illustrate the extension for a vaccination procedure where the parent of the patient is present

Table View

Immunization.id[0]UKCore-Immunization-Extension-ParentPresent-Example
Immunization.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ParentPresent
Immunization.extension[0].valueBoolean[0]True
Immunization.status[0]completed
Immunization.vaccineCode[0].coding[0].system[0]https://dmd.nhs.uk
Immunization.vaccineCode[0].coding[0].code[0]10245211000001108
Immunization.vaccineCode[0].coding[0].display[0]Pneumococcal polysaccharide conjugated vaccine (adsorbed) suspension for injection 0.5ml pre-filled syringes
Immunization.patient[0].reference[0]Patient/UKCore-Patient-BabyPatient-Example
Immunization.occurrenceDateTime[0]2021-07-20

Tree View

Immunization

XML View

<Immunization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Immunization-Extension-ParentPresent-Example" />
    <!--  **************extension start**************  -->
    <!-- This describes whether a parent was present at the immunisation of a child. -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ParentPresent">
        <valueBoolean value="true" />
    </extension>
    <!--  **************extension end**************  -->
    <status value="completed" />
    <vaccineCode>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="10245211000001108" />
            <display value="Pneumococcal polysaccharide conjugated vaccine (adsorbed) suspension for injection 0.5ml pre-filled syringes" />
        </coding>
    </vaccineCode>
    <patient>
        <reference value="Patient/UKCore-Patient-BabyPatient-Example" />
    </patient>
    <occurrenceDateTime value="2021-07-20" />
</Immunization>

JSON View

{
    "resourceType": "Immunization",
    "id": "UKCore-Immunization-Extension-ParentPresent-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ParentPresent",
            "valueBoolean": true
        }
    ],
    "status": "completed",
    "vaccineCode": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "10245211000001108",
                "display": "Pneumococcal polysaccharide conjugated vaccine (adsorbed) suspension for injection 0.5ml pre-filled syringes"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-BabyPatient-Example"
    },
    "occurrenceDateTime": "2021-07-20"
}

An example to illustrate the extension for a vaccination procedure

Table View

Immunization.id[0]UKCore-Immunization-Extension-VaccinationProcedure-Example
Immunization.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure
Immunization.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Immunization.extension[0].valueCodeableConcept[0].coding[0].code[0]73701000119109
Immunization.extension[0].valueCodeableConcept[0].coding[0].display[0]Influenza vaccination given
Immunization.status[0]completed
Immunization.vaccineCode[0].coding[0].system[0]https://dmd.nhs.uk
Immunization.vaccineCode[0].coding[0].code[0]11278411000001109
Immunization.vaccineCode[0].coding[0].display[0]Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)
Immunization.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Immunization.occurrenceDateTime[0]2013-01-10

Tree View

Immunization

XML View

<Immunization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Immunization-Extension-VaccinationProcedure-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="73701000119109" />
                <display value="Influenza vaccination given" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <status value="completed" />
    <vaccineCode>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="11278411000001109" />
            <display value="Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)" />
        </coding>
    </vaccineCode>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <occurrenceDateTime value="2013-01-10" />
</Immunization>

JSON View

{
    "resourceType": "Immunization",
    "id": "UKCore-Immunization-Extension-VaccinationProcedure-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "73701000119109",
                        "display": "Influenza vaccination given"
                    }
                ]
            }
        }
    ],
    "status": "completed",
    "vaccineCode": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "11278411000001109",
                "display": "Influenza vaccine (split virion, inactivated) suspension for injection 0.5ml pre-filled syringes (Pfizer Ltd)"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "occurrenceDateTime": "2013-01-10"
}

An example to illustrate the extension for a vaccination procedure for COVID-19

Table View

Immunization.id[0]UKCore-Immunization-Extension-VaccinationProcedure-COVID-Example
Immunization.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure
Immunization.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Immunization.extension[0].valueCodeableConcept[0].coding[0].code[0]1324681000000101
Immunization.extension[0].valueCodeableConcept[0].coding[0].display[0]Administration of first dose of severe acute respiratory syndrome coronavirus 2 vaccine (procedure)
Immunization.status[0]completed
Immunization.vaccineCode[0].coding[0].system[0]https://dmd.nhs.uk
Immunization.vaccineCode[0].coding[0].code[0]39116211000001106
Immunization.vaccineCode[0].coding[0].display[0]Generic COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) not less than 2.5x100,000,000 infectious units/0.5ml dose suspension for injection multidose vials
Immunization.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Immunization.occurrenceDateTime[0]2021-07-20

Tree View

Immunization

XML View

<Immunization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Immunization-Extension-VaccinationProcedure-COVID-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="1324681000000101" />
                <display value="Administration of first dose of severe acute respiratory syndrome coronavirus 2 vaccine (procedure)" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <status value="completed" />
    <vaccineCode>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39116211000001106" />
            <display value="Generic COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) not less than 2.5x100,000,000 infectious units/0.5ml dose suspension for injection multidose vials" />
        </coding>
    </vaccineCode>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <occurrenceDateTime value="2021-07-20" />
</Immunization>

JSON View

{
    "resourceType": "Immunization",
    "id": "UKCore-Immunization-Extension-VaccinationProcedure-COVID-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "1324681000000101",
                        "display": "Administration of first dose of severe acute respiratory syndrome coronavirus 2 vaccine (procedure)"
                    }
                ]
            }
        }
    ],
    "status": "completed",
    "vaccineCode": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39116211000001106",
                "display": "Generic COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) not less than 2.5x100,000,000 infectious units/0.5ml dose suspension for injection multidose vials"
            }
        ]
    },
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "occurrenceDateTime": "2021-07-20"
}

An example to illustrate an empty list

Table View

List.id[0]UKCore-List-EmptyList-Example
List.status[0]current
List.mode[0]working
List.code[0].coding[0].system[0]http://snomed.info/sct
List.code[0].coding[0].code[0]826501000000100
List.code[0].coding[0].display[0]Miscellaneous record
List.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
List.date[0]2019-12-10T13:00:00+00:00
List.emptyReason[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-ListEmptyReasonCode
List.emptyReason[0].coding[0].code[0]no-content-recorded
List.emptyReason[0].coding[0].display[0]No Content Recorded

Tree View

List

XML View

<List xmlns="http://hl7.org/fhir">
    <id value="UKCore-List-EmptyList-Example" />
    <status value="current" />
    <mode value="working" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="826501000000100" />
            <display value="Miscellaneous record" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <date value="2019-12-10T13:00:00+00:00" />
    <emptyReason>
        <coding>
            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-ListEmptyReasonCode" />
            <code value="no-content-recorded" />
            <display value="No Content Recorded" />
        </coding>
    </emptyReason>
</List>

JSON View

{
    "resourceType": "List",
    "id": "UKCore-List-EmptyList-Example",
    "status": "current",
    "mode": "working",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "826501000000100",
                "display": "Miscellaneous record"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "date": "2019-12-10T13:00:00+00:00",
    "emptyReason": {
        "coding":  [
            {
                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-ListEmptyReasonCode",
                "code": "no-content-recorded",
                "display": "No Content Recorded"
            }
        ]
    }
}

An example to illustrate a warning being provided in a list resource

This extension is used to provide warnings that a List may be incomplete as data has been excluded due to confidentiality or may be missing due to data being in transit

Table View

List.id[0]UKCore-List-Extension-ListWarningCode-Example
List.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ListWarningCode
List.extension[0].valueCode[0]data-in-transit
List.status[0]current
List.mode[0]working
List.code[0].coding[0].system[0]http://snomed.info/sct
List.code[0].coding[0].code[0]826501000000100
List.code[0].coding[0].display[0]Miscellaneous record
List.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
List.date[0]2021-12-10T13:00:00+00:00

Tree View

List

XML View

<List xmlns="http://hl7.org/fhir">
    <id value="UKCore-List-Extension-ListWarningCode-Example" />
    <!--   **************extension start**************   -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ListWarningCode">
        <valueCode value="data-in-transit" />
    </extension>
    <!--   **************extension end**************   -->
    <status value="current" />
    <mode value="working" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="826501000000100" />
            <display value="Miscellaneous record" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <date value="2021-12-10T13:00:00+00:00" />
</List>

JSON View

{
    "resourceType": "List",
    "id": "UKCore-List-Extension-ListWarningCode-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ListWarningCode",
            "valueCode": "data-in-transit"
        }
    ],
    "status": "current",
    "mode": "working",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "826501000000100",
                "display": "Miscellaneous record"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "date": "2021-12-10T13:00:00+00:00"
}

An example to illustrate a general practice nurse clinic location

Table View

Location.id[0]UKCore-Location-GeneralPracticeNurseClinic-Example
Location.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-site-code
Location.identifier[0].value[0]GP8D7
Location.name[0]WhiteRoseNurseClinic
Location.type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
Location.type[0].coding[0].code[0]GIM
Location.type[0].coding[0].display[0]General internal medicine clinic
Location.telecom[0].system[0]phone
Location.telecom[0].value[0]0113 243 3166
Location.managingOrganization[0].reference[0]Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example

Tree View

Location

XML View

<Location xmlns="http://hl7.org/fhir">
    <id value="UKCore-Location-GeneralPracticeNurseClinic-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/ods-site-code" />
        <value value="GP8D7" />
    </identifier>
    <name value="WhiteRoseNurseClinic" />
    <type>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
            <code value="GIM" />
            <display value="General internal medicine clinic" />
        </coding>
    </type>
    <telecom>
        <system value="phone" />
        <value value="0113 243 3166" />
    </telecom>
    <managingOrganization>
        <reference value="Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example" />
    </managingOrganization>
</Location>

JSON View

{
    "resourceType": "Location",
    "id": "UKCore-Location-GeneralPracticeNurseClinic-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/ods-site-code",
            "value": "GP8D7"
        }
    ],
    "name": "WhiteRoseNurseClinic",
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                    "code": "GIM",
                    "display": "General internal medicine clinic"
                }
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 243 3166"
        }
    ],
    "managingOrganization": {
        "reference": "Organization/UKCore-Organization-WhiteRoseMedicalCentre-Example"
    }
}

An example to illustrate a location

Table View

Location.id[0]UKCore-Location-CardiologySJUH-Example
Location.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-site-code
Location.identifier[0].value[0]RR8D7
Location.name[0]CARDIOLOGY SJUH
Location.type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
Location.type[0].coding[0].code[0]CARD
Location.type[0].coding[0].display[0]Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities
Location.telecom[0].system[0]phone
Location.telecom[0].value[0]0113 243 3149
Location.address[0].line[0]CARDIOLOGY SJUH
Location.address[0].line[1]ST. JAMES'S UNIVERSITY HOSPITAL
Location.address[0].line[2]BECKETT STREET
Location.address[0].city[0]LEEDS
Location.address[0].postalCode[0]LS9 7TF
Location.address[0].country[0]ENGLAND
Location.managingOrganization[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example

Tree View

Location

XML View

<Location xmlns="http://hl7.org/fhir">
    <id value="UKCore-Location-CardiologySJUH-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/ods-site-code" />
        <value value="RR8D7" />
    </identifier>
    <name value="CARDIOLOGY SJUH" />
    <type>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
            <code value="CARD" />
            <display value="Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities" />
        </coding>
    </type>
    <telecom>
        <system value="phone" />
        <value value="0113 243 3149" />
    </telecom>
    <address>
        <line value="CARDIOLOGY SJUH" />
        <line value="ST. JAMES&#39;S UNIVERSITY HOSPITAL" />
        <line value="BECKETT STREET" />
        <city value="LEEDS" />
        <postalCode value="LS9 7TF" />
        <country value="ENGLAND" />
    </address>
    <managingOrganization>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </managingOrganization>
</Location>

JSON View

{
    "resourceType": "Location",
    "id": "UKCore-Location-CardiologySJUH-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/ods-site-code",
            "value": "RR8D7"
        }
    ],
    "name": "CARDIOLOGY SJUH",
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                    "code": "CARD",
                    "display": "Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities"
                }
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 243 3149"
        }
    ],
    "address": {
        "line":  [
            "CARDIOLOGY SJUH",
            "ST. JAMES'S UNIVERSITY HOSPITAL",
            "BECKETT STREET"
        ],
        "city": "LEEDS",
        "postalCode": "LS9 7TF",
        "country": "ENGLAND"
    },
    "managingOrganization": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    }
}

An example to illustrate the batch element via a COVID-19 Vaccine

Table View

Medication.id[0]UKCore-Medication-COVID-Vaccine-Example
Medication.code[0].coding[0].system[0]https://dmd.nhs.uk
Medication.code[0].coding[0].code[0]39115611000001103
Medication.code[0].coding[0].display[0]Comirnaty COVID-19 mRNA Vaccine 30micrograms/0.3ml dose concentrate for dispersion for injection multidose vials (Pfizer Ltd)
Medication.batch[0].lotNumber[0]FK0112
Medication.batch[0].expirationDate[0]2021-10-26

Tree View

Medication

XML View

<Medication xmlns="http://hl7.org/fhir">
    <id value="UKCore-Medication-COVID-Vaccine-Example" />
    <code>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39115611000001103" />
            <display value="Comirnaty COVID-19 mRNA Vaccine 30micrograms/0.3ml dose concentrate for dispersion for injection multidose vials (Pfizer Ltd)" />
        </coding>
    </code>
    <batch>
        <lotNumber value="FK0112" />
        <expirationDate value="2021-10-26" />
    </batch>
</Medication>

JSON View

{
    "resourceType": "Medication",
    "id": "UKCore-Medication-COVID-Vaccine-Example",
    "code": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39115611000001103",
                "display": "Comirnaty COVID-19 mRNA Vaccine 30micrograms/0.3ml dose concentrate for dispersion for injection multidose vials (Pfizer Ltd)"
            }
        ]
    },
    "batch": {
        "lotNumber": "FK0112",
        "expirationDate": "2021-10-26"
    }
}

An example to illustrate the form element with VTM via Timolol medicine

Table View

Medication.id[0]UKCore-Medication-TimololVTM-Example
Medication.code[0].coding[0].system[0]https://dmd.nhs.uk
Medication.code[0].coding[0].code[0]777773007
Medication.code[0].coding[0].display[0]Timolol
Medication.form[0].coding[0].system[0]http://snomed.info/sct
Medication.form[0].coding[0].code[0]17960711000001109
Medication.form[0].coding[0].display[0]Ear/eye drops solution

Tree View

Medication

XML View

<Medication xmlns="http://hl7.org/fhir">
    <id value="UKCore-Medication-TimololVTM-Example" />
    <code>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="777773007" />
            <display value="Timolol" />
        </coding>
    </code>
    <form>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="17960711000001109" />
            <display value="Ear/eye drops solution" />
        </coding>
    </form>
</Medication>

JSON View

{
    "resourceType": "Medication",
    "id": "UKCore-Medication-TimololVTM-Example",
    "code": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "777773007",
                "display": "Timolol"
            }
        ]
    },
    "form": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "17960711000001109",
                "display": "Ear/eye drops solution"
            }
        ]
    }
}

An example to illustrate Timoptol eye drops medication

Table View

Medication.id[0]UKCore-Medication-TimoptolEyeDrops-Example
Medication.code[0].coding[0].system[0]https://dmd.nhs.uk
Medication.code[0].coding[0].code[0]18616211000001106
Medication.code[0].coding[0].display[0]Timoptol 0.5% eye drops (DE Pharmaceuticals)

Tree View

Medication

XML View

<Medication xmlns="http://hl7.org/fhir">
    <id value="UKCore-Medication-TimoptolEyeDrops-Example" />
    <code>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="18616211000001106" />
            <display value="Timoptol 0.5% eye drops (DE Pharmaceuticals)" />
        </coding>
    </code>
</Medication>

JSON View

{
    "resourceType": "Medication",
    "id": "UKCore-Medication-TimoptolEyeDrops-Example",
    "code": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "18616211000001106",
                "display": "Timoptol 0.5% eye drops (DE Pharmaceuticals)"
            }
        ]
    }
}

An example to illustrate the use of a trade family or brand

Table View

Medication.id[0]UKCore-Medication-Extension-MedicationTradeFamily-Example
Medication.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationTradeFamily
Medication.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Medication.extension[0].valueCodeableConcept[0].coding[0].code[0]9298001000001101
Medication.extension[0].valueCodeableConcept[0].coding[0].display[0]Panadol Extra
Medication.code[0].coding[0].system[0]https://dmd.nhs.uk
Medication.code[0].coding[0].code[0]18677911000001109
Medication.code[0].coding[0].display[0]Panadol Extra Advance 500mg/65mg tablets (Haleon UK Ltd)

Tree View

Medication

XML View

<Medication xmlns="http://hl7.org/fhir">
    <id value="UKCore-Medication-Extension-MedicationTradeFamily-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationTradeFamily">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="9298001000001101" />
                <display value="Panadol Extra" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <code>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="18677911000001109" />
            <display value="Panadol Extra Advance 500mg/65mg tablets (Haleon UK Ltd)" />
        </coding>
    </code>
</Medication>

JSON View

{
    "resourceType": "Medication",
    "id": "UKCore-Medication-Extension-MedicationTradeFamily-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationTradeFamily",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "9298001000001101",
                        "display": "Panadol Extra"
                    }
                ]
            }
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "18677911000001109",
                "display": "Panadol Extra Advance 500mg/65mg tablets (Haleon UK Ltd)"
            }
        ]
    }
}

An example to illustrate an administration of Timoptol eye drops

Table View

MedicationAdministration.id[0]UKCore-MedicationAdministration-TimoptolEyeDrops-Example
MedicationAdministration.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
MedicationAdministration.identifier[0].value[0]e8779393-9b7c-4654-a8df-0ba4cc9b28ce
MedicationAdministration.status[0]completed
MedicationAdministration.medicationReference[0].reference[0]Medication/UKCore-Medication-TimoptolEyeDrops-Example
MedicationAdministration.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationAdministration.effectiveDateTime[0]2021-03-25T13:00:00+00:00
MedicationAdministration.request[0].reference[0]MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example
MedicationAdministration.dosage[0].text[0]1 drop in each affected eye twice daily, approximately 12 hours apart.
MedicationAdministration.dosage[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].site[0].coding[0].code[0]362508001
MedicationAdministration.dosage[0].site[0].coding[0].display[0]Both eyes, entire
MedicationAdministration.dosage[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].route[0].coding[0].code[0]58831000052108
MedicationAdministration.dosage[0].route[0].coding[0].display[0]Subretinal route
MedicationAdministration.dosage[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].method[0].coding[0].code[0]421984009
MedicationAdministration.dosage[0].method[0].coding[0].display[0]Until finished
MedicationAdministration.dosage[0].dose[0].value[0]30
MedicationAdministration.dosage[0].dose[0].unit[0]milliliter
MedicationAdministration.dosage[0].dose[0].system[0]http://unitsofmeasure.org
MedicationAdministration.dosage[0].dose[0].code[0]mL

Tree View

MedicationAdministration

XML View

<MedicationAdministration xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationAdministration-TimoptolEyeDrops-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="e8779393-9b7c-4654-a8df-0ba4cc9b28ce" />
    </identifier>
    <status value="completed" />
    <medicationReference>
        <reference value="Medication/UKCore-Medication-TimoptolEyeDrops-Example" />
    </medicationReference>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <effectiveDateTime value="2021-03-25T13:00:00+00:00" />
    <request>
        <reference value="MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example" />
    </request>
    <dosage>
        <text value="1 drop in each affected eye twice daily, approximately 12 hours apart." />
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="362508001" />
                <display value="Both eyes, entire" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="58831000052108" />
                <display value="Subretinal route" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="421984009" />
                <display value="Until finished" />
            </coding>
        </method>
        <dose>
            <value value="30" />
            <unit value="milliliter" />
            <system value="http://unitsofmeasure.org" />
            <code value="mL" />
        </dose>
    </dosage>
</MedicationAdministration>

JSON View

{
    "resourceType": "MedicationAdministration",
    "id": "UKCore-MedicationAdministration-TimoptolEyeDrops-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "e8779393-9b7c-4654-a8df-0ba4cc9b28ce"
        }
    ],
    "status": "completed",
    "medicationReference": {
        "reference": "Medication/UKCore-Medication-TimoptolEyeDrops-Example"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "effectiveDateTime": "2021-03-25T13:00:00+00:00",
    "request": {
        "reference": "MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example"
    },
    "dosage": {
        "text": "1 drop in each affected eye twice daily, approximately 12 hours apart.",
        "site": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "362508001",
                    "display": "Both eyes, entire"
                }
            ]
        },
        "route": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "58831000052108",
                    "display": "Subretinal route"
                }
            ]
        },
        "method": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "421984009",
                    "display": "Until finished"
                }
            ]
        },
        "dose": {
            "value": 30,
            "unit": "milliliter",
            "system": "http://unitsofmeasure.org",
            "code": "mL"
        }
    }
}

An example to illustrate a medication dispense of eye drops

Table View

MedicationDispense.id[0]UKCore-MedicationDispense-EyeDrops-Example
MedicationDispense.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
MedicationDispense.identifier[0].value[0]5c92c1dc-06a9-4729-b8c9-222cf769f8dc
MedicationDispense.status[0]in-progress
MedicationDispense.medicationReference[0].reference[0]Medication/UKCore-Medication-TimoptolEyeDrops-Example
MedicationDispense.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.performer[0].actor[0].reference[0]Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example
MedicationDispense.authorizingPrescription[0].reference[0]MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example
MedicationDispense.quantity[0].value[0]30
MedicationDispense.quantity[0].unit[0]milliliter
MedicationDispense.quantity[0].system[0]http://unitsofmeasure.org
MedicationDispense.quantity[0].code[0]mL
MedicationDispense.daysSupply[0].value[0]30
MedicationDispense.daysSupply[0].unit[0]Day
MedicationDispense.daysSupply[0].system[0]http://unitsofmeasure.org
MedicationDispense.daysSupply[0].code[0]d
MedicationDispense.whenPrepared[0]2020-01-15T15:00:00+00:00
MedicationDispense.receiver[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.dosageInstruction[0].text[0]1 drop in each affected eye twice daily, approximately 12 hours apart.
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].frequency[0]1
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].period[0]12
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]h
MedicationDispense.dosageInstruction[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].site[0].coding[0].code[0]362508001
MedicationDispense.dosageInstruction[0].site[0].coding[0].display[0]Both eyes, entire
MedicationDispense.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].route[0].coding[0].code[0]58831000052108
MedicationDispense.dosageInstruction[0].route[0].coding[0].display[0]Subretinal route
MedicationDispense.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].method[0].coding[0].code[0]421984009
MedicationDispense.dosageInstruction[0].method[0].coding[0].display[0]Until finished

Tree View

MedicationDispense

XML View

<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationDispense-EyeDrops-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="5c92c1dc-06a9-4729-b8c9-222cf769f8dc" />
    </identifier>
    <status value="in-progress" />
    <medicationReference>
        <reference value="Medication/UKCore-Medication-TimoptolEyeDrops-Example" />
    </medicationReference>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performer>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example" />
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example" />
    </authorizingPrescription>
    <quantity>
        <value value="30" />
        <unit value="milliliter" />
        <system value="http://unitsofmeasure.org" />
        <code value="mL" />
    </quantity>
    <daysSupply>
        <value value="30" />
        <unit value="Day" />
        <system value="http://unitsofmeasure.org" />
        <code value="d" />
    </daysSupply>
    <whenPrepared value="2020-01-15T15:00:00+00:00" />
    <receiver>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </receiver>
    <dosageInstruction>
        <text value="1 drop in each affected eye twice daily, approximately 12 hours apart." />
        <timing>
            <repeat>
                <frequency value="1" />
                <period value="12" />
                <periodUnit value="h" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="362508001" />
                <display value="Both eyes, entire" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="58831000052108" />
                <display value="Subretinal route" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="421984009" />
                <display value="Until finished" />
            </coding>
        </method>
    </dosageInstruction>
</MedicationDispense>

JSON View

{
    "resourceType": "MedicationDispense",
    "id": "UKCore-MedicationDispense-EyeDrops-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "5c92c1dc-06a9-4729-b8c9-222cf769f8dc"
        }
    ],
    "status": "in-progress",
    "medicationReference": {
        "reference": "Medication/UKCore-Medication-TimoptolEyeDrops-Example"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example"
            }
        }
    ],
    "authorizingPrescription":  [
        {
            "reference": "MedicationRequest/UKCore-MedicationRequest-EyeDrops-Example"
        }
    ],
    "quantity": {
        "value": 30,
        "unit": "milliliter",
        "system": "http://unitsofmeasure.org",
        "code": "mL"
    },
    "daysSupply": {
        "value": 30,
        "unit": "Day",
        "system": "http://unitsofmeasure.org",
        "code": "d"
    },
    "whenPrepared": "2020-01-15T15:00:00+00:00",
    "receiver":  [
        {
            "reference": "Patient/UKCore-Patient-RichardSmith-Example"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "1 drop in each affected eye twice daily, approximately 12 hours apart.",
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 12,
                    "periodUnit": "h"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "362508001",
                        "display": "Both eyes, entire"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "58831000052108",
                        "display": "Subretinal route"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "421984009",
                        "display": "Until finished"
                    }
                ]
            }
        }
    ]
}

An example to illustrate a medication request for eye drops

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-EyeDrops-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]order
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]outpatient
MedicationRequest.category[0].coding[0].display[0]Outpatient
MedicationRequest.medicationReference[0].reference[0]Medication/UKCore-Medication-TimoptolEyeDrops-Example
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2022-09-10T15:00:00.000Z
MedicationRequest.requester[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
MedicationRequest.courseOfTherapyType[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy
MedicationRequest.courseOfTherapyType[0].coding[0].code[0]acute
MedicationRequest.courseOfTherapyType[0].coding[0].display[0]Short course (acute) therapy
MedicationRequest.dosageInstruction[0].text[0]1 drop in each affected eye twice daily, approximately 12 hours apart, until finished.
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]2
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationRequest.dosageInstruction[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].site[0].coding[0].code[0]362508001
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Both eyes, entire
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]58831000052108
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Subretinal route
MedicationRequest.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].method[0].coding[0].code[0]421984009
MedicationRequest.dosageInstruction[0].method[0].coding[0].display[0]Until finished
MedicationRequest.substitution[0].allowedBoolean[0]True

Tree View

MedicationRequest

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-EyeDrops-Example" />
    <status value="completed" />
    <intent value="order" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="outpatient" />
            <display value="Outpatient" />
        </coding>
    </category>
    <medicationReference>
        <reference value="Medication/UKCore-Medication-TimoptolEyeDrops-Example" />
    </medicationReference>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2022-09-10T15:00:00.000Z" />
    <requester>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </requester>
    <courseOfTherapyType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" />
            <code value="acute" />
            <display value="Short course (acute) therapy" />
        </coding>
    </courseOfTherapyType>
    <dosageInstruction>
        <text value="1 drop in each affected eye twice daily, approximately 12 hours apart, until finished." />
        <timing>
            <repeat>
                <frequency value="2" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="362508001" />
                <display value="Both eyes, entire" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="58831000052108" />
                <display value="Subretinal route" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="421984009" />
                <display value="Until finished" />
            </coding>
        </method>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="true" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-EyeDrops-Example",
    "status": "completed",
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "outpatient",
                    "display": "Outpatient"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/UKCore-Medication-TimoptolEyeDrops-Example"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2022-09-10T15:00:00.000Z",
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "courseOfTherapyType": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
                "code": "acute",
                "display": "Short course (acute) therapy"
            }
        ]
    },
    "dosageInstruction":  [
        {
            "text": "1 drop in each affected eye twice daily, approximately 12 hours apart, until finished.",
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "362508001",
                        "display": "Both eyes, entire"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "58831000052108",
                        "display": "Subretinal route"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "421984009",
                        "display": "Until finished"
                    }
                ]
            }
        }
    ],
    "substitution": {
        "allowedBoolean": true
    }
}

An example to illustrate the specific repeat information of a medication item

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-Extension-RepeatInformation-Example
MedicationRequest.meta[0].profile[0]https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest
MedicationRequest.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation
MedicationRequest.extension[0].extension[0].url[0]numberOfPrescriptionsIssued
MedicationRequest.extension[0].extension[0].valueUnsignedInt[0]1
MedicationRequest.extension[0].extension[1].url[0]authorisationExpiryDate
MedicationRequest.extension[0].extension[1].valueDateTime[0]2022-09-10T19:00:00.000Z
MedicationRequest.status[0]completed
MedicationRequest.intent[0]order
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]outpatient
MedicationRequest.category[0].coding[0].display[0]Outpatient
MedicationRequest.priority[0]routine
MedicationRequest.medicationReference[0].reference[0]Medication/UKCore-Medication-TimoptolEyeDrops-Example
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.requester[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
MedicationRequest.recorder[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
MedicationRequest.courseOfTherapyType[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationRequestCourseOfTherapy
MedicationRequest.courseOfTherapyType[0].coding[0].code[0]continuous-repeating-dispensing
MedicationRequest.courseOfTherapyType[0].coding[0].display[0]Continuous long term (repeat dispensing)
MedicationRequest.dosageInstruction[0].text[0]1 drop in each affected eye twice daily, approximately 12 hours apart.
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].period[0]12
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]h
MedicationRequest.dosageInstruction[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].site[0].coding[0].code[0]362508001
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Both eyes, entire
MedicationRequest.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].method[0].coding[0].code[0]421984009
MedicationRequest.dosageInstruction[0].method[0].coding[0].display[0]Until finished
MedicationRequest.substitution[0].allowedBoolean[0]True

Tree View

MedicationRequest

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-Extension-RepeatInformation-Example" />
    <meta>
        <profile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest" />
    </meta>
    <!--  **************extension start**************  -->
    <!-- MedicationRepeatInformation extension details -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation">
        <extension url="numberOfPrescriptionsIssued">
            <valueUnsignedInt value="1" />
        </extension>
        <extension url="authorisationExpiryDate">
            <valueDateTime value="2022-09-10T19:00:00.000Z" />
        </extension>
    </extension>
    <!--  **************extension end**************  -->
    <status value="completed" />
    <intent value="order" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="outpatient" />
            <display value="Outpatient" />
        </coding>
    </category>
    <priority value="routine" />
    <medicationReference>
        <reference value="Medication/UKCore-Medication-TimoptolEyeDrops-Example" />
    </medicationReference>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <requester>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </requester>
    <recorder>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </recorder>
    <courseOfTherapyType>
        <coding>
            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationRequestCourseOfTherapy" />
            <code value="continuous-repeating-dispensing" />
            <display value="Continuous long term (repeat dispensing)" />
        </coding>
    </courseOfTherapyType>
    <dosageInstruction>
        <text value="1 drop in each affected eye twice daily, approximately 12 hours apart." />
        <timing>
            <repeat>
                <frequency value="1" />
                <period value="12" />
                <periodUnit value="h" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="362508001" />
                <display value="Both eyes, entire" />
            </coding>
        </site>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="421984009" />
                <display value="Until finished" />
            </coding>
        </method>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="true" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-Extension-RepeatInformation-Example",
    "meta": {
        "profile":  [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest"
        ]
    },
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation",
            "extension":  [
                {
                    "url": "numberOfPrescriptionsIssued",
                    "valueUnsignedInt": 1
                },
                {
                    "url": "authorisationExpiryDate",
                    "valueDateTime": "2022-09-10T19:00:00.000Z"
                }
            ]
        }
    ],
    "status": "completed",
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "outpatient",
                    "display": "Outpatient"
                }
            ]
        }
    ],
    "priority": "routine",
    "medicationReference": {
        "reference": "Medication/UKCore-Medication-TimoptolEyeDrops-Example"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "recorder": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "courseOfTherapyType": {
        "coding":  [
            {
                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationRequestCourseOfTherapy",
                "code": "continuous-repeating-dispensing",
                "display": "Continuous long term (repeat dispensing)"
            }
        ]
    },
    "dosageInstruction":  [
        {
            "text": "1 drop in each affected eye twice daily, approximately 12 hours apart.",
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 12,
                    "periodUnit": "h"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "362508001",
                        "display": "Both eyes, entire"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "421984009",
                        "display": "Until finished"
                    }
                ]
            }
        }
    ],
    "substitution": {
        "allowedBoolean": true
    }
}

An example to illustrate a medication statement for Amoxicillin

Table View

MedicationStatement.id[0]UKCore-MedicationStatement-Amoxicillin-Example
MedicationStatement.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
MedicationStatement.identifier[0].value[0]ac0ffbdf-3289-41d5-84d9-068a1f5937db
MedicationStatement.status[0]active
MedicationStatement.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medication-statement-category
MedicationStatement.category[0].coding[0].code[0]outpatient
MedicationStatement.category[0].coding[0].display[0]Outpatient
MedicationStatement.medicationCodeableConcept[0].coding[0].system[0]https://dmd.nhs.uk
MedicationStatement.medicationCodeableConcept[0].coding[0].code[0]39732311000001104
MedicationStatement.medicationCodeableConcept[0].coding[0].display[0]Amoxicillin 250mg capsules
MedicationStatement.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationStatement.effectivePeriod[0].start[0]2021-02-15T13:50:00+00:00
MedicationStatement.effectivePeriod[0].end[0]2021-05-15T13:50:00+00:00
MedicationStatement.dateAsserted[0]2017-02-22
MedicationStatement.reasonCode[0].coding[0].system[0]http://snomed.info/sct
MedicationStatement.reasonCode[0].coding[0].code[0]65363002
MedicationStatement.reasonCode[0].coding[0].display[0]Otitis media
MedicationStatement.dosage[0].text[0]2 capsules 4 times a day.
MedicationStatement.dosage[0].timing[0].repeat[0].frequency[0]4
MedicationStatement.dosage[0].timing[0].repeat[0].period[0]1
MedicationStatement.dosage[0].timing[0].repeat[0].periodUnit[0]d
MedicationStatement.dosage[0].asNeededCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
MedicationStatement.dosage[0].asNeededCodeableConcept[0].coding[0].code[0]301354004
MedicationStatement.dosage[0].asNeededCodeableConcept[0].coding[0].display[0]Pain of ear
MedicationStatement.dosage[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationStatement.dosage[0].site[0].coding[0].code[0]123851003
MedicationStatement.dosage[0].site[0].coding[0].display[0]Mouth region structure
MedicationStatement.dosage[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationStatement.dosage[0].route[0].coding[0].code[0]26643006
MedicationStatement.dosage[0].route[0].coding[0].display[0]Oral
MedicationStatement.dosage[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationStatement.dosage[0].method[0].coding[0].code[0]421984009
MedicationStatement.dosage[0].method[0].coding[0].display[0]Until finished
MedicationStatement.dosage[0].doseAndRate[0].doseQuantity[0].value[0]500
MedicationStatement.dosage[0].doseAndRate[0].doseQuantity[0].unit[0]milligram
MedicationStatement.dosage[0].doseAndRate[0].doseQuantity[0].system[0]http://unitsofmeasure.org
MedicationStatement.dosage[0].doseAndRate[0].doseQuantity[0].code[0]mg

Tree View

MedicationStatement

XML View

<MedicationStatement xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationStatement-Amoxicillin-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="ac0ffbdf-3289-41d5-84d9-068a1f5937db" />
    </identifier>
    <status value="active" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
            <code value="outpatient" />
            <display value="Outpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39732311000001104" />
            <display value="Amoxicillin 250mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <effectivePeriod>
        <start value="2021-02-15T13:50:00+00:00" />
        <end value="2021-05-15T13:50:00+00:00" />
    </effectivePeriod>
    <dateAsserted value="2017-02-22" />
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="65363002" />
            <display value="Otitis media" />
        </coding>
    </reasonCode>
    <dosage>
        <text value="2 capsules 4 times a day." />
        <timing>
            <repeat>
                <frequency value="4" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <asNeededCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="301354004" />
                <display value="Pain of ear" />
            </coding>
        </asNeededCodeableConcept>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="123851003" />
                <display value="Mouth region structure" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="421984009" />
                <display value="Until finished" />
            </coding>
        </method>
        <doseAndRate>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosage>
</MedicationStatement>

JSON View

{
    "resourceType": "MedicationStatement",
    "id": "UKCore-MedicationStatement-Amoxicillin-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "ac0ffbdf-3289-41d5-84d9-068a1f5937db"
        }
    ],
    "status": "active",
    "category": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/medication-statement-category",
                "code": "outpatient",
                "display": "Outpatient"
            }
        ]
    },
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39732311000001104",
                "display": "Amoxicillin 250mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "effectivePeriod": {
        "start": "2021-02-15T13:50:00+00:00",
        "end": "2021-05-15T13:50:00+00:00"
    },
    "dateAsserted": "2017-02-22",
    "reasonCode":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "65363002",
                    "display": "Otitis media"
                }
            ]
        }
    ],
    "dosage":  [
        {
            "text": "2 capsules 4 times a day.",
            "timing": {
                "repeat": {
                    "frequency": 4,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "301354004",
                        "display": "Pain of ear"
                    }
                ]
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "123851003",
                        "display": "Mouth region structure"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "421984009",
                        "display": "Until finished"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ]
}

An example to illustrate the date when a prescription was last issued

Table View

MedicationStatement.id[0]UKCore-MedicationStatement-Extension-LastIssueDate-Example
MedicationStatement.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationStatementLastIssueDate
MedicationStatement.extension[0].valueDateTime[0]2017-02-24
MedicationStatement.status[0]active
MedicationStatement.medicationCodeableConcept[0].coding[0].system[0]https://dmd.nhs.uk
MedicationStatement.medicationCodeableConcept[0].coding[0].code[0]39732311000001104
MedicationStatement.medicationCodeableConcept[0].coding[0].display[0]Amoxicillin 250mg capsules
MedicationStatement.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

MedicationStatement

XML View

<MedicationStatement xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationStatement-Extension-LastIssueDate-Example" />
    <!--  **************extension start**************  -->
    <!-- MedicationStatement Last Issue Date extension details -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationStatementLastIssueDate">
        <valueDateTime value="2017-02-24" />
    </extension>
    <!--  **************extension end**************  -->
    <status value="active" />
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39732311000001104" />
            <display value="Amoxicillin 250mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</MedicationStatement>

JSON View

{
    "resourceType": "MedicationStatement",
    "id": "UKCore-MedicationStatement-Extension-LastIssueDate-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationStatementLastIssueDate",
            "valueDateTime": "2017-02-24"
        }
    ],
    "status": "active",
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39732311000001104",
                "display": "Amoxicillin 250mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate the type of organisation or setting responsible for authorising and issuing a medication, but not the organisation or setting delivering the patient care

Table View

MedicationStatement.id[0]UKCore-MedicationStatement-Extension-PrescribingOrg-Example
MedicationStatement.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationPrescribingOrganizationType
MedicationStatement.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationPrescribingOrganizationType
MedicationStatement.extension[0].valueCodeableConcept[0].coding[0].code[0]prescribed-at-gp-practice
MedicationStatement.extension[0].valueCodeableConcept[0].coding[0].display[0]Prescribed at GP practice
MedicationStatement.status[0]active
MedicationStatement.medicationCodeableConcept[0].coding[0].system[0]https://dmd.nhs.uk
MedicationStatement.medicationCodeableConcept[0].coding[0].code[0]39732311000001104
MedicationStatement.medicationCodeableConcept[0].coding[0].display[0]Amoxicillin 250mg capsules
MedicationStatement.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

MedicationStatement

XML View

<MedicationStatement xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationStatement-Extension-PrescribingOrg-Example" />
    <!--  **************extension start**************  -->
    <!-- Medication Prescribing Organization extension details -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationPrescribingOrganizationType">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationPrescribingOrganizationType" />
                <code value="prescribed-at-gp-practice" />
                <display value="Prescribed at GP practice" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <status value="active" />
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39732311000001104" />
            <display value="Amoxicillin 250mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</MedicationStatement>

JSON View

{
    "resourceType": "MedicationStatement",
    "id": "UKCore-MedicationStatement-Extension-PrescribingOrg-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationPrescribingOrganizationType",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationPrescribingOrganizationType",
                        "code": "prescribed-at-gp-practice",
                        "display": "Prescribed at GP practice"
                    }
                ]
            }
        }
    ],
    "status": "active",
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39732311000001104",
                "display": "Amoxicillin 250mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate whether a pharmacist verified a medication

Table View

MedicationStatement.id[0]UKCore-MedicationStatement-Extension-PharmacistVerified-Example
MedicationStatement.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PharmacistVerifiedIndicator
MedicationStatement.extension[0].valueBoolean[0]True
MedicationStatement.status[0]active
MedicationStatement.medicationCodeableConcept[0].coding[0].system[0]https://dmd.nhs.uk
MedicationStatement.medicationCodeableConcept[0].coding[0].code[0]39732311000001104
MedicationStatement.medicationCodeableConcept[0].coding[0].display[0]Amoxicillin 250mg capsules
MedicationStatement.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

MedicationStatement

XML View

<MedicationStatement xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationStatement-Extension-PharmacistVerified-Example" />
    <!--  **************extension start**************  -->
    <!-- Pharmacist Verified Indicator extension details -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PharmacistVerifiedIndicator">
        <valueBoolean value="true" />
    </extension>
    <!--  **************extension end**************  -->
    <status value="active" />
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39732311000001104" />
            <display value="Amoxicillin 250mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</MedicationStatement>

JSON View

{
    "resourceType": "MedicationStatement",
    "id": "UKCore-MedicationStatement-Extension-PharmacistVerified-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PharmacistVerifiedIndicator",
            "valueBoolean": true
        }
    ],
    "status": "active",
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39732311000001104",
                "display": "Amoxicillin 250mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate a message header for a discharge summary

Table View

MessageHeader.id[0]UKCore-MessageHeader-Discharge-Example
MessageHeader.eventCoding[0].system[0]http://snomed.info/sct
MessageHeader.eventCoding[0].code[0]306689006
MessageHeader.eventCoding[0].display[0]Discharge to home
MessageHeader.destination[0].endpoint[0]urn:nhs:addressing:asid:477121007825
MessageHeader.destination[0].receiver[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
MessageHeader.destination[0].receiver[0].identifier[0].value[0]RY6
MessageHeader.destination[0].receiver[0].display[0]LEEDS COMMUNITY HEALTHCARE NHS TRUST
MessageHeader.sender[0].reference[0]https://directory.spineservices.nhs.uk/Organization/X26
MessageHeader.source[0].endpoint[0]NOROT003
MessageHeader.focus[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example

XML View

<MessageHeader xmlns="http://hl7.org/fhir">
    <id value="UKCore-MessageHeader-Discharge-Example" />
    <eventCoding>
        <system value="http://snomed.info/sct" />
        <code value="306689006" />
        <display value="Discharge to home" />
    </eventCoding>
    <destination>
        <endpoint value="urn:nhs:addressing:asid:477121007825" />
        <receiver>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="RY6" />
            </identifier>
            <display value="LEEDS COMMUNITY HEALTHCARE NHS TRUST" />
        </receiver>
    </destination>
    <sender>
        <reference value="https://directory.spineservices.nhs.uk/Organization/X26" />
    </sender>
    <source>
        <endpoint value="NOROT003" />
    </source>
    <focus>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </focus>
</MessageHeader>

JSON View

{
    "resourceType": "MessageHeader",
    "id": "UKCore-MessageHeader-Discharge-Example",
    "eventCoding": {
        "system": "http://snomed.info/sct",
        "code": "306689006",
        "display": "Discharge to home"
    },
    "destination":  [
        {
            "endpoint": "urn:nhs:addressing:asid:477121007825",
            "receiver": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "RY6"
                },
                "display": "LEEDS COMMUNITY HEALTHCARE NHS TRUST"
            }
        }
    ],
    "sender": {
        "reference": "https://directory.spineservices.nhs.uk/Organization/X26"
    },
    "source": {
        "endpoint": "NOROT003"
    },
    "focus":  [
        {
            "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
        }
    ]
}

An example to illustrate the extension which is used to indicate an instruction for a receiver of a message

Table View

MessageHeader.id[0]UKCore-MessageHeader-Extension-MessageHeaderInstruction-Example
MessageHeader.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MessageHeaderInstruction
MessageHeader.extension[0].valueCoding[0].system[0]http://snomed.info/sct
MessageHeader.extension[0].valueCoding[0].code[0]821301000000103
MessageHeader.extension[0].valueCoding[0].display[0]Liaison with GP (general practitioner)
MessageHeader.eventCoding[0].system[0]http://snomed.info/sct
MessageHeader.eventCoding[0].code[0]306689006
MessageHeader.eventCoding[0].display[0]Discharge to home
MessageHeader.sender[0].reference[0]https://directory.spineservices.nhs.uk/Organization/X26
MessageHeader.source[0].endpoint[0]NOROT003

XML View

<MessageHeader xmlns="http://hl7.org/fhir">
    <id value="UKCore-MessageHeader-Extension-MessageHeaderInstruction-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MessageHeaderInstruction">
        <valueCoding>
            <system value="http://snomed.info/sct" />
            <code value="821301000000103" />
            <display value="Liaison with GP (general practitioner)" />
        </valueCoding>
    </extension>
    <!--  *************extension end ***************** -->
    <eventCoding>
        <system value="http://snomed.info/sct" />
        <code value="306689006" />
        <display value="Discharge to home" />
    </eventCoding>
    <sender>
        <reference value="https://directory.spineservices.nhs.uk/Organization/X26" />
    </sender>
    <source>
        <endpoint value="NOROT003" />
    </source>
</MessageHeader>

JSON View

{
    "resourceType": "MessageHeader",
    "id": "UKCore-MessageHeader-Extension-MessageHeaderInstruction-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MessageHeaderInstruction",
            "valueCoding": {
                "system": "http://snomed.info/sct",
                "code": "821301000000103",
                "display": "Liaison with GP (general practitioner)"
            }
        }
    ],
    "eventCoding": {
        "system": "http://snomed.info/sct",
        "code": "306689006",
        "display": "Discharge to home"
    },
    "sender": {
        "reference": "https://directory.spineservices.nhs.uk/Organization/X26"
    },
    "source": {
        "endpoint": "NOROT003"
    }
}

An example to illustrate an observation of the awareness of diagnosis

Table View

Observation.id[0]UKCore-Observation-AwarenessOfDiagnosis-Example
Observation.status[0]final
Observation.code[0].coding[0].system[0]http://snomed.info/sct
Observation.code[0].coding[0].code[0]162564003
Observation.code[0].coding[0].display[0]Awareness of diagnosis
Observation.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Observation.effectiveInstant[0]2019-12-10T13:00:00+00:00

Tree View

Observation

XML View

<Observation xmlns="http://hl7.org/fhir">
    <id value="UKCore-Observation-AwarenessOfDiagnosis-Example" />
    <status value="final" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="162564003" />
            <display value="Awareness of diagnosis" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <effectiveInstant value="2019-12-10T13:00:00+00:00" />
</Observation>

JSON View

{
    "resourceType": "Observation",
    "id": "UKCore-Observation-AwarenessOfDiagnosis-Example",
    "status": "final",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "162564003",
                "display": "Awareness of diagnosis"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "effectiveInstant": "2019-12-10T13:00:00+00:00"
}

An example to illustrate an observation of the white cell count of a blood specimen

Table View

Observation.id[0]UKCore-Observation-WhiteCellCount-Example
Observation.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Observation.identifier[0].value[0]2af46949-4938-4c57-bad4-c4363e1965d5
Observation.status[0]final
Observation.category[0].coding[0].system[0]http://snomed.info/sct
Observation.category[0].coding[0].code[0]394595002
Observation.category[0].coding[0].display[0]Pathology
Observation.code[0].coding[0].system[0]http://snomed.info/sct
Observation.code[0].coding[0].code[0]1022541000000102
Observation.code[0].coding[0].display[0]Total white cell count
Observation.performer[0].reference[0]Oranization/UKCore-Organization-LeedsTeachingHospital-Example
Observation.valueQuantity[0].value[0]11.2
Observation.valueQuantity[0].unit[0]10*9/L
Observation.specimen[0].reference[0]Specimen/UKCore-Specimen-BloodSpecimen-Example
Observation.referenceRange[0].low[0].value[0]4.0
Observation.referenceRange[0].high[0].value[0]17.0

Tree View

Observation

XML View

<Observation xmlns="http://hl7.org/fhir">
    <id value="UKCore-Observation-WhiteCellCount-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="2af46949-4938-4c57-bad4-c4363e1965d5" />
    </identifier>
    <status value="final" />
    <category>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="394595002" />
            <display value="Pathology" />
        </coding>
    </category>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="1022541000000102" />
            <display value="Total white cell count" />
        </coding>
    </code>
    <performer>
        <reference value="Oranization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </performer>
    <valueQuantity>
        <value value="11.2" />
        <unit value="10*9/L" />
    </valueQuantity>
    <specimen>
        <reference value="Specimen/UKCore-Specimen-BloodSpecimen-Example" />
    </specimen>
    <referenceRange>
        <low>
            <value value="4.0" />
        </low>
        <high>
            <value value="17.0" />
        </high>
    </referenceRange>
</Observation>

JSON View

{
    "resourceType": "Observation",
    "id": "UKCore-Observation-WhiteCellCount-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "2af46949-4938-4c57-bad4-c4363e1965d5"
        }
    ],
    "status": "final",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "394595002",
                    "display": "Pathology"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "1022541000000102",
                "display": "Total white cell count"
            }
        ]
    },
    "performer":  [
        {
            "reference": "Oranization/UKCore-Organization-LeedsTeachingHospital-Example"
        }
    ],
    "valueQuantity": {
        "value": 11.2,
        "unit": "10*9/L"
    },
    "specimen": {
        "reference": "Specimen/UKCore-Specimen-BloodSpecimen-Example"
    },
    "referenceRange":  [
        {
            "low": {
                "value": 4
            },
            "high": {
                "value": 17
            }
        }
    ]
}

An example to illustrate an error returned due to an error in a date

Table View

OperationOutcome.id[0]UKCore-OperationOutcome-DateError-Example
OperationOutcome.issue[0].severity[0]fatal
OperationOutcome.issue[0].code[0]structure
OperationOutcome.issue[0].details[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/operation-outcome
OperationOutcome.issue[0].details[0].coding[0].code[0]MSG_DATE_FORMAT
OperationOutcome.issue[0].details[0].coding[0].display[0]The Date value %s is not in the correct format (Xml Date Format required)
OperationOutcome.issue[0].diagnostics[0]Interop.FHIRProcessors.Patient.processbirthDate line 2450
OperationOutcome.issue[0].expression[0]Patient.birthDate

XML View

<OperationOutcome xmlns="http://hl7.org/fhir">
    <id value="UKCore-OperationOutcome-DateError-Example" />
    <issue>
        <severity value="fatal" />
        <code value="structure" />
        <details>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/operation-outcome" />
                <code value="MSG_DATE_FORMAT" />
                <display value="The Date value %s is not in the correct format (Xml Date Format required)" />
            </coding>
        </details>
        <diagnostics value="Interop.FHIRProcessors.Patient.processbirthDate line 2450" />
        <expression value="Patient.birthDate" />
    </issue>
</OperationOutcome>

JSON View

{
    "resourceType": "OperationOutcome",
    "id": "UKCore-OperationOutcome-DateError-Example",
    "issue":  [
        {
            "severity": "fatal",
            "code": "structure",
            "details": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/operation-outcome",
                        "code": "MSG_DATE_FORMAT",
                        "display": "The Date value %s is not in the correct format (Xml Date Format required)"
                    }
                ]
            },
            "diagnostics": "Interop.FHIRProcessors.Patient.processbirthDate line 2450",
            "expression":  [
                "Patient.birthDate"
            ]
        }
    ]
}

An example to illustrate a general practice organisation

Table View

Organization.id[0]UKCore-Organization-WhiteRoseMedicalCentre-Example
Organization.identifier[0].use[0]official
Organization.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Organization.identifier[0].value[0]GP5
Organization.name[0]WHITE ROSE MEDICAL CENTRE
Organization.telecom[0].system[0]phone
Organization.telecom[0].value[0]0111 243 3144
Organization.address[0].line[0]WHITE ROSE MEDICAL PRACTICE
Organization.address[0].line[1]ROSE STREET
Organization.address[0].city[0]LEEDS
Organization.address[0].postalCode[0]LS1288T
Organization.address[0].country[0]ENGLAND

Tree View

Organization

XML View

<Organization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Organization-WhiteRoseMedicalCentre-Example" />
    <identifier>
        <use value="official" />
        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
        <value value="GP5" />
    </identifier>
    <name value="WHITE ROSE MEDICAL CENTRE" />
    <telecom>
        <system value="phone" />
        <value value="0111 243 3144" />
    </telecom>
    <address>
        <line value="WHITE ROSE MEDICAL PRACTICE" />
        <line value="ROSE STREET" />
        <city value="LEEDS" />
        <postalCode value="LS1288T" />
        <country value="ENGLAND" />
    </address>
</Organization>

JSON View

{
    "resourceType": "Organization",
    "id": "UKCore-Organization-WhiteRoseMedicalCentre-Example",
    "identifier":  [
        {
            "use": "official",
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "GP5"
        }
    ],
    "name": "WHITE ROSE MEDICAL CENTRE",
    "telecom":  [
        {
            "system": "phone",
            "value": "0111 243 3144"
        }
    ],
    "address":  [
        {
            "line":  [
                "WHITE ROSE MEDICAL PRACTICE",
                "ROSE STREET"
            ],
            "city": "LEEDS",
            "postalCode": "LS1288T",
            "country": "ENGLAND"
        }
    ]
}

An example to illustrate a hospital organisation

Table View

Organization.id[0]UKCore-Organization-LeedsTeachingHospital-Example
Organization.identifier[0].use[0]official
Organization.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Organization.identifier[0].value[0]RR8
Organization.name[0]LEEDS TEACHING HOSPITALS NHS TRUST
Organization.telecom[0].system[0]phone
Organization.telecom[0].value[0]0113 243 3144
Organization.address[0].line[0]ST. JAMES'S UNIVERSITY HOSPITAL
Organization.address[0].line[1]BECKETT STREET
Organization.address[0].city[0]LEEDS
Organization.address[0].postalCode[0]LS9 7TF
Organization.address[0].country[0]ENGLAND

Tree View

Organization

XML View

<Organization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Organization-LeedsTeachingHospital-Example" />
    <identifier>
        <use value="official" />
        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
        <value value="RR8" />
    </identifier>
    <name value="LEEDS TEACHING HOSPITALS NHS TRUST" />
    <telecom>
        <system value="phone" />
        <value value="0113 243 3144" />
    </telecom>
    <address>
        <line value="ST. JAMES&#39;S UNIVERSITY HOSPITAL" />
        <line value="BECKETT STREET" />
        <city value="LEEDS" />
        <postalCode value="LS9 7TF" />
        <country value="ENGLAND" />
    </address>
</Organization>

JSON View

{
    "resourceType": "Organization",
    "id": "UKCore-Organization-LeedsTeachingHospital-Example",
    "identifier":  [
        {
            "use": "official",
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RR8"
        }
    ],
    "name": "LEEDS TEACHING HOSPITALS NHS TRUST",
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 243 3144"
        }
    ],
    "address":  [
        {
            "line":  [
                "ST. JAMES'S UNIVERSITY HOSPITAL",
                "BECKETT STREET"
            ],
            "city": "LEEDS",
            "postalCode": "LS9 7TF",
            "country": "ENGLAND"
        }
    ]
}

An example to illustrate the extension which shows an organisation's main location

Table View

Organization.id[0]UKCore-Organization-Extension-MainLocation-Example
Organization.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MainLocation
Organization.extension[0].valueReference[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
Organization.extension[0].valueReference[0].type[0]Location
Organization.extension[0].valueReference[0].identifier[0].use[0]official
Organization.extension[0].valueReference[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-site-code
Organization.extension[0].valueReference[0].identifier[0].value[0]RR813
Organization.identifier[0].use[0]official
Organization.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Organization.identifier[0].value[0]RR8
Organization.name[0]LEEDS TEACHING HOSPITALS NHS TRUST

Tree View

Organization

XML View

<Organization xmlns="http://hl7.org/fhir">
    <id value="UKCore-Organization-Extension-MainLocation-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MainLocation">
        <valueReference>
            <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
            <type value="Location" />
            <identifier>
                <use value="official" />
                <system value="https://fhir.nhs.uk/Id/ods-site-code" />
                <value value="RR813" />
            </identifier>
        </valueReference>
    </extension>
    <!--  *************extension end ***************** -->
    <identifier>
        <use value="official" />
        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
        <value value="RR8" />
    </identifier>
    <name value="LEEDS TEACHING HOSPITALS NHS TRUST" />
</Organization>

JSON View

{
    "resourceType": "Organization",
    "id": "UKCore-Organization-Extension-MainLocation-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MainLocation",
            "valueReference": {
                "reference": "Location/UKCore-Location-HospitalSJUH-Example",
                "type": "Location",
                "identifier": {
                    "use": "official",
                    "system": "https://fhir.nhs.uk/Id/ods-site-code",
                    "value": "RR813"
                }
            }
        }
    ],
    "identifier":  [
        {
            "use": "official",
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RR8"
        }
    ],
    "name": "LEEDS TEACHING HOSPITALS NHS TRUST"
}

An example to illustrate the date range that this organisation should be considered available using the core-defined extension

Table View

Organization.id[0]Organization-Extension-Period-Example
Organization.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/organization-period
Organization.extension[0].valuePeriod[0].start[0]2017-01-01T00:00:00.000Z
Organization.identifier[0].use[0]official
Organization.identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Organization.identifier[0].value[0]RR8
Organization.name[0]LEEDS TEACHING HOSPITALS NHS TRUST

Tree View

Organization

XML View

<Organization xmlns="http://hl7.org/fhir">
    <id value="Organization-Extension-Period-Example" />
    <!--  **************extension start**************  -->
    <extension url="http://hl7.org/fhir/StructureDefinition/organization-period">
        <valuePeriod>
            <start value="2017-01-01T00:00:00.000Z" />
        </valuePeriod>
    </extension>
    <!--  *************extension end ***************** -->
    <identifier>
        <use value="official" />
        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
        <value value="RR8" />
    </identifier>
    <name value="LEEDS TEACHING HOSPITALS NHS TRUST" />
</Organization>

JSON View

{
    "resourceType": "Organization",
    "id": "Organization-Extension-Period-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/organization-period",
            "valuePeriod": {
                "start": "2017-01-01T00:00:00.000Z"
            }
        }
    ],
    "identifier":  [
        {
            "use": "official",
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RR8"
        }
    ],
    "name": "LEEDS TEACHING HOSPITALS NHS TRUST"
}

An example to illustrate a baby patient

Table View

Patient.id[0]UKCore-Patient-BabyPatient-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory
Patient.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland
Patient.extension[0].valueCodeableConcept[0].coding[0].code[0]A
Patient.extension[0].valueCodeableConcept[0].coding[0].display[0]White - British
Patient.identifier[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].code[0]01
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Number present and verified
Patient.identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
Patient.identifier[0].value[0]9912003890
Patient.name[0].use[0]official
Patient.name[0].family[0]JONES
Patient.name[0].given[0]Melanie
Patient.telecom[0].system[0]phone
Patient.telecom[0].value[0]01131231266
Patient.gender[0]female
Patient.birthDate[0]2021-02-11
Patient.birthDate[0].extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-birthTime
Patient.birthDate[0].extension[0].valueDateTime[0]2021-02-11T15:39:00+00:00
Patient.address[0].line[0]10 Fearnville Grove
Patient.address[0].city[0]LEEDS
Patient.address[0].postalCode[0]LS8 3DR

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-BabyPatient-Example" />
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland" />
                <code value="A" />
                <display value="White - British" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland" />
                    <code value="01" />
                    <display value="Number present and verified" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <system value="https://fhir.nhs.uk/Id/nhs-number" />
        <value value="9912003890" />
    </identifier>
    <name>
        <use value="official" />
        <family value="JONES" />
        <given value="Melanie" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="01131231266" />
    </telecom>
    <gender value="female" />
    <birthDate value="2021-02-11">
        <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthTime">
            <valueDateTime value="2021-02-11T15:39:00+00:00" />
        </extension>
    </birthDate>
    <address>
        <line value="10 Fearnville Grove" />
        <city value="LEEDS" />
        <postalCode value="LS8 3DR" />
    </address>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-BabyPatient-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
                        "code": "A",
                        "display": "White - British"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
                                "code": "01",
                                "display": "Number present and verified"
                            }
                        ]
                    }
                }
            ],
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9912003890"
        }
    ],
    "name":  [
        {
            "use": "official",
            "family": "JONES",
            "given":  [
                "Melanie"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "01131231266"
        }
    ],
    "gender": "female",
    "birthDate": "2021-02-11",
    "_birthDate": {
        "extension":  [
            {
                "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
                "valueDateTime": "2021-02-11T15:39:00+00:00"
            }
        ]
    },
    "address":  [
        {
            "line":  [
                "10 Fearnville Grove"
            ],
            "city": "LEEDS",
            "postalCode": "LS8 3DR"
        }
    ]
}

An example to illustrate a patient called Richard Smith

Table View

Patient.id[0]UKCore-Patient-RichardSmith-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory
Patient.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland
Patient.extension[0].valueCodeableConcept[0].coding[0].code[0]G
Patient.extension[0].valueCodeableConcept[0].coding[0].display[0]Mixed - Any other mixed background
Patient.extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference
Patient.extension[1].extension[0].url[0]PreferredContactMethod
Patient.extension[1].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod
Patient.extension[1].extension[0].valueCodeableConcept[0].coding[0].code[0]3
Patient.extension[1].extension[0].valueCodeableConcept[0].coding[0].display[0]Telephone
Patient.extension[1].extension[1].url[0]PreferredContactTimes
Patient.extension[1].extension[1].valueTiming[0].repeat[0].frequency[0]1
Patient.extension[1].extension[1].valueTiming[0].repeat[0].period[0]1
Patient.extension[1].extension[1].valueTiming[0].repeat[0].periodUnit[0]d
Patient.extension[1].extension[1].valueTiming[0].repeat[0].dayOfWeek[0]mon
Patient.extension[1].extension[1].valueTiming[0].repeat[0].dayOfWeek[1]wed
Patient.extension[1].extension[1].valueTiming[0].repeat[0].dayOfWeek[2]fri
Patient.extension[1].extension[1].valueTiming[0].repeat[0].when[0]MORN
Patient.extension[1].extension[2].url[0]PreferredWrittenCommunicationFormat
Patient.extension[1].extension[2].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat
Patient.extension[1].extension[2].valueCodeableConcept[0].coding[0].code[0]11
Patient.extension[1].extension[2].valueCodeableConcept[0].coding[0].display[0]Large print
Patient.extension[2].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus
Patient.extension[2].extension[0].url[0]deathNotificationStatus
Patient.extension[2].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus
Patient.extension[2].extension[0].valueCodeableConcept[0].coding[0].code[0]U
Patient.extension[2].extension[0].valueCodeableConcept[0].coding[0].display[0]Removed
Patient.extension[2].extension[1].url[0]systemEffectiveDate
Patient.extension[2].extension[1].valueDateTime[0]2019-08-01T00:00:00.000Z
Patient.extension[3].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus
Patient.extension[3].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus
Patient.extension[3].valueCodeableConcept[0].coding[0].code[0]H
Patient.extension[3].valueCodeableConcept[0].coding[0].display[0]UK Resident
Patient.identifier[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].code[0]01
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Number present and verified
Patient.identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
Patient.identifier[0].value[0]9912003888
Patient.name[0].use[0]official
Patient.name[0].family[0]SMITH
Patient.name[0].given[0]Richard
Patient.telecom[0].system[0]phone
Patient.telecom[0].value[0]01131231234
Patient.gender[0]male
Patient.birthDate[0]1970-09-11
Patient.address[0].line[0]4 Sandmoor Drive
Patient.address[0].city[0]LEEDS
Patient.address[0].postalCode[0]LS17 7DF
Patient.contact[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank
Patient.contact[0].extension[0].valuePositiveInt[0]1
Patient.contact[0].extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator
Patient.contact[0].extension[1].valueBoolean[0]True
Patient.contact[0].relationship[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole
Patient.contact[0].relationship[0].coding[0].code[0]Personal
Patient.contact[0].relationship[0].coding[0].display[0]Personal relationship with the patient
Patient.contact[0].name[0].use[0]official
Patient.contact[0].name[0].text[0]JACKSON Jane (Miss)
Patient.contact[0].name[0].family[0]Jackson
Patient.contact[0].name[0].given[0]Jane
Patient.contact[0].name[0].prefix[0]Miss
Patient.contact[0].telecom[0].system[0]phone
Patient.contact[0].telecom[0].value[0]07777123123
Patient.contact[0].telecom[0].use[0]mobile
Patient.contact[0].address[0].use[0]home
Patient.contact[0].address[0].type[0]physical
Patient.contact[0].address[0].line[0]5 Alwoodley Road
Patient.contact[0].address[0].city[0]LEEDS
Patient.contact[0].address[0].postalCode[0]LS17 6EH
Patient.contact[0].gender[0]female
Patient.communication[0].language[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage
Patient.communication[0].language[0].coding[0].code[0]en
Patient.communication[0].language[0].coding[0].display[0]English

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-RichardSmith-Example" />
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland" />
                <code value="G" />
                <display value="Mixed - Any other mixed background" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference">
        <extension url="PreferredContactMethod">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod" />
                    <code value="3" />
                    <display value="Telephone" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="PreferredContactTimes">
            <valueTiming>
                <repeat>
                    <frequency value="1" />
                    <period value="1" />
                    <periodUnit value="d" />
                    <dayOfWeek value="mon" />
                    <dayOfWeek value="wed" />
                    <dayOfWeek value="fri" />
                    <when value="MORN" />
                </repeat>
            </valueTiming>
        </extension>
        <extension url="PreferredWrittenCommunicationFormat">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat" />
                    <code value="11" />
                    <display value="Large print" />
                </coding>
            </valueCodeableConcept>
        </extension>
    </extension>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus">
        <extension url="deathNotificationStatus">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus" />
                    <code value="U" />
                    <display value="Removed" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="systemEffectiveDate">
            <valueDateTime value="2019-08-01T00:00:00.000Z" />
        </extension>
    </extension>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus" />
                <code value="H" />
                <display value="UK Resident" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland" />
                    <code value="01" />
                    <display value="Number present and verified" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <system value="https://fhir.nhs.uk/Id/nhs-number" />
        <value value="9912003888" />
    </identifier>
    <name>
        <use value="official" />
        <family value="SMITH" />
        <given value="Richard" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="01131231234" />
    </telecom>
    <gender value="male" />
    <birthDate value="1970-09-11" />
    <address>
        <line value="4 Sandmoor Drive" />
        <city value="LEEDS" />
        <postalCode value="LS17 7DF" />
    </address>
    <contact>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank">
            <valuePositiveInt value="1" />
        </extension>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator">
            <valueBoolean value="true" />
        </extension>
        <relationship>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole" />
                <code value="Personal" />
                <display value="Personal relationship with the patient" />
            </coding>
        </relationship>
        <name>
            <use value="official" />
            <text value="JACKSON Jane (Miss)" />
            <family value="Jackson" />
            <given value="Jane" />
            <prefix value="Miss" />
        </name>
        <telecom>
            <system value="phone" />
            <value value="07777123123" />
            <use value="mobile" />
        </telecom>
        <address>
            <use value="home" />
            <type value="physical" />
            <line value="5 Alwoodley Road" />
            <city value="LEEDS" />
            <postalCode value="LS17 6EH" />
        </address>
        <gender value="female" />
    </contact>
    <communication>
        <language>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage" />
                <code value="en" />
                <display value="English" />
            </coding>
        </language>
    </communication>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-RichardSmith-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
                        "code": "G",
                        "display": "Mixed - Any other mixed background"
                    }
                ]
            }
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
            "extension":  [
                {
                    "url": "PreferredContactMethod",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod",
                                "code": "3",
                                "display": "Telephone"
                            }
                        ]
                    }
                },
                {
                    "url": "PreferredContactTimes",
                    "valueTiming": {
                        "repeat": {
                            "frequency": 1,
                            "period": 1,
                            "periodUnit": "d",
                            "dayOfWeek":  [
                                "mon",
                                "wed",
                                "fri"
                            ],
                            "when":  [
                                "MORN"
                            ]
                        }
                    }
                },
                {
                    "url": "PreferredWrittenCommunicationFormat",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
                                "code": "11",
                                "display": "Large print"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus",
            "extension":  [
                {
                    "url": "deathNotificationStatus",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus",
                                "code": "U",
                                "display": "Removed"
                            }
                        ]
                    }
                },
                {
                    "url": "systemEffectiveDate",
                    "valueDateTime": "2019-08-01T00:00:00.000Z"
                }
            ]
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus",
                        "code": "H",
                        "display": "UK Resident"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
                                "code": "01",
                                "display": "Number present and verified"
                            }
                        ]
                    }
                }
            ],
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9912003888"
        }
    ],
    "name":  [
        {
            "use": "official",
            "family": "SMITH",
            "given":  [
                "Richard"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "01131231234"
        }
    ],
    "gender": "male",
    "birthDate": "1970-09-11",
    "address":  [
        {
            "line":  [
                "4 Sandmoor Drive"
            ],
            "city": "LEEDS",
            "postalCode": "LS17 7DF"
        }
    ],
    "contact":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
                    "valuePositiveInt": 1
                },
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
                    "valueBoolean": true
                }
            ],
            "relationship":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole",
                            "code": "Personal",
                            "display": "Personal relationship with the patient"
                        }
                    ]
                }
            ],
            "name": {
                "use": "official",
                "text": "JACKSON Jane (Miss)",
                "family": "Jackson",
                "given":  [
                    "Jane"
                ],
                "prefix":  [
                    "Miss"
                ]
            },
            "telecom":  [
                {
                    "system": "phone",
                    "value": "07777123123",
                    "use": "mobile"
                }
            ],
            "address": {
                "use": "home",
                "type": "physical",
                "line":  [
                    "5 Alwoodley Road"
                ],
                "city": "LEEDS",
                "postalCode": "LS17 6EH"
            },
            "gender": "female"
        }
    ],
    "communication":  [
        {
            "language": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
                        "code": "en",
                        "display": "English"
                    }
                ]
            }
        }
    ]
}

An example to illustrate the use of an address key used with the address datatype

Table View

Patient.id[0]UKCore-Patient-Extension-AddressKey-Example
Patient.address[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey
Patient.address[0].extension[0].extension[0].url[0]type
Patient.address[0].extension[0].extension[0].valueCoding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType
Patient.address[0].extension[0].extension[0].valueCoding[0].code[0]PAF
Patient.address[0].extension[0].extension[0].valueCoding[0].display[0]Postcode Address File
Patient.address[0].extension[0].extension[1].url[0]value
Patient.address[0].extension[0].extension[1].valueString[0]LS10ABC
Patient.address[0].line[0]4 Sandmoor Drive
Patient.address[0].city[0]LEEDS
Patient.address[0].postalCode[0]LS17 7DF

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-AddressKey-Example" />
    <address>
        <!--  **************extension start**************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey">
            <extension url="type">
                <valueCoding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType" />
                    <code value="PAF" />
                    <display value="Postcode Address File" />
                </valueCoding>
            </extension>
            <extension url="value">
                <valueString value="LS10ABC" />
            </extension>
        </extension>
        <line value="4 Sandmoor Drive" />
        <city value="LEEDS" />
        <postalCode value="LS17 7DF" />
        <!--  *************extension end ***************** -->
    </address>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-AddressKey-Example",
    "address":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
                    "extension":  [
                        {
                            "url": "type",
                            "valueCoding": {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
                                "code": "PAF",
                                "display": "Postcode Address File"
                            }
                        },
                        {
                            "url": "value",
                            "valueString": "LS10ABC"
                        }
                    ]
                }
            ],
            "line":  [
                "4 Sandmoor Drive"
            ],
            "city": "LEEDS",
            "postalCode": "LS17 7DF"
        }
    ]
}

An example to illustrate the registered place of birth of the patient using the core-defined extension

Table View

Patient.id[0]Patient-Extension-BirthPlace-Example
Patient.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-birthPlace
Patient.extension[0].valueAddress[0].line[0]MATERNITY UNIT
Patient.extension[0].valueAddress[0].line[1]LENVILLE UNIVERSITY HOSPITAL
Patient.extension[0].valueAddress[0].line[2]BEWLEY STREET
Patient.extension[0].valueAddress[0].city[0]LENVILLE
Patient.extension[0].valueAddress[0].postalCode[0]LEN 7TF
Patient.extension[0].valueAddress[0].country[0]ENGLAND

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="Patient-Extension-BirthPlace-Example" />
    <!--  **************extension start**************  -->
    <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
        <valueAddress>
            <line value="MATERNITY UNIT" />
            <line value="LENVILLE UNIVERSITY HOSPITAL" />
            <line value="BEWLEY STREET" />
            <city value="LENVILLE" />
            <postalCode value="LEN 7TF" />
            <country value="ENGLAND" />
        </valueAddress>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "Patient-Extension-BirthPlace-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
            "valueAddress": {
                "line":  [
                    "MATERNITY UNIT",
                    "LENVILLE UNIVERSITY HOSPITAL",
                    "BEWLEY STREET"
                ],
                "city": "LENVILLE",
                "postalCode": "LEN 7TF",
                "country": "ENGLAND"
            }
        }
    ]
}

An example to illustrate the extension for a patient's birth sex

This example uses an extension to show the patient's birth sex.

Table View

Patient.id[0]UKCore-Patient-Extension-BirthSex-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex
Patient.extension[0].valueCode[0]F

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-BirthSex-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex">
        <valueCode value="F" />
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-BirthSex-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex",
            "valueCode": "F"
        }
    ]
}

An example to illustrate the patient's birth time using the core-defined extension

Table View

Patient.id[0]Patient-Extension-BirthTime-Example
Patient.birthDate[0].extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-birthTime
Patient.birthDate[0].extension[0].valueDateTime[0]2002-03-11T15:39:00+00:00

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="Patient-Extension-BirthTime-Example" />
    <!--  **************extension start**************  -->
    <birthDate>
        <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthTime">
            <valueDateTime value="2002-03-11T15:39:00+00:00" />
        </extension>
    </birthDate>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "Patient-Extension-BirthTime-Example",
    "_birthDate": {
        "extension":  [
            {
                "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
                "valueDateTime": "2002-03-11T15:39:00+00:00"
            }
        ]
    }
}

An example to illustrate whether the patient authorised the donation of body parts after death using the core-defined extension

Table View

Patient.id[0]Patient-Extension-CadavericDonor-Example
Patient.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
Patient.extension[0].valueBoolean[0]True

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="Patient-Extension-CadavericDonor-Example" />
    <!--  **************extension start**************  -->
    <extension url="http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor">
        <valueBoolean value="true" />
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "Patient-Extension-CadavericDonor-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor",
            "valueBoolean": true
        }
    ]
}

An example to illustrate the extension for the patient's contact ranking

This example shows the extension which uses a PositiveInt to indicate the order that the people listed as contacts for the patient should be contacted. This example uses the value 1 to show that this is the first person who should be contacted.

Table View

Patient.id[0]UKCore-Patient-Extension-ContactRank-Example
Patient.contact[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank
Patient.contact[0].extension[0].valuePositiveInt[0]1
Patient.contact[0].name[0].use[0]official
Patient.contact[0].name[0].family[0]CARTER
Patient.contact[0].name[0].given[0]Emily
Patient.contact[0].telecom[0].system[0]phone
Patient.contact[0].telecom[0].value[0]01131231288
Patient.contact[0].gender[0]female

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-ContactRank-Example" />
    <contact>
        <!--  **************extension start**************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank">
            <valuePositiveInt value="1" />
        </extension>
        <!--  **************extension end**************  -->
        <name>
            <use value="official" />
            <family value="CARTER" />
            <given value="Emily" />
        </name>
        <telecom>
            <system value="phone" />
            <value value="01131231288" />
        </telecom>
        <gender value="female" />
    </contact>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-ContactRank-Example",
    "contact":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
                    "valuePositiveInt": 1
                }
            ],
            "name": {
                "use": "official",
                "family": "CARTER",
                "given":  [
                    "Emily"
                ]
            },
            "telecom":  [
                {
                    "system": "phone",
                    "value": "01131231288"
                }
            ],
            "gender": "female"
        }
    ]
}

An example to illustrate the extension for a patient's contact preferences

Table View

Patient.id[0]UKCore-Patient-Extension-ContactPreference-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference
Patient.extension[0].extension[0].url[0]PreferredContactMethod
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].code[0]3
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Telephone
Patient.extension[0].extension[1].url[0]PreferredContactTimes
Patient.extension[0].extension[1].valueTiming[0].repeat[0].frequency[0]1
Patient.extension[0].extension[1].valueTiming[0].repeat[0].period[0]1
Patient.extension[0].extension[1].valueTiming[0].repeat[0].periodUnit[0]d
Patient.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[0]mon
Patient.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[1]wed
Patient.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[2]fri
Patient.extension[0].extension[1].valueTiming[0].repeat[0].when[0]MORN
Patient.extension[0].extension[2].url[0]PreferredWrittenCommunicationFormat
Patient.extension[0].extension[2].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat
Patient.extension[0].extension[2].valueCodeableConcept[0].coding[0].code[0]11
Patient.extension[0].extension[2].valueCodeableConcept[0].coding[0].display[0]Large print

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-ContactPreference-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference">
        <extension url="PreferredContactMethod">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod" />
                    <code value="3" />
                    <display value="Telephone" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="PreferredContactTimes">
            <valueTiming>
                <repeat>
                    <frequency value="1" />
                    <period value="1" />
                    <periodUnit value="d" />
                    <dayOfWeek value="mon" />
                    <dayOfWeek value="wed" />
                    <dayOfWeek value="fri" />
                    <when value="MORN" />
                </repeat>
            </valueTiming>
        </extension>
        <extension url="PreferredWrittenCommunicationFormat">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat" />
                    <code value="11" />
                    <display value="Large print" />
                </coding>
            </valueCodeableConcept>
        </extension>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-ContactPreference-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
            "extension":  [
                {
                    "url": "PreferredContactMethod",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod",
                                "code": "3",
                                "display": "Telephone"
                            }
                        ]
                    }
                },
                {
                    "url": "PreferredContactTimes",
                    "valueTiming": {
                        "repeat": {
                            "frequency": 1,
                            "period": 1,
                            "periodUnit": "d",
                            "dayOfWeek":  [
                                "mon",
                                "wed",
                                "fri"
                            ],
                            "when":  [
                                "MORN"
                            ]
                        }
                    }
                },
                {
                    "url": "PreferredWrittenCommunicationFormat",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
                                "code": "11",
                                "display": "Large print"
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

An example to illustrate the extension for copy correspondence indicators

This shows the extension that uses a Boolean value of true to indicate that the person named should be sent a copy of the correspondence.

Table View

Patient.id[0]UKCore-Patient-Extension-CopyCorrespondenceIndicator-Example
Patient.contact[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator
Patient.contact[0].extension[0].valueBoolean[0]True
Patient.contact[0].name[0].use[0]official
Patient.contact[0].name[0].family[0]CARTER
Patient.contact[0].name[0].given[0]Emily
Patient.contact[0].telecom[0].system[0]phone
Patient.contact[0].telecom[0].value[0]01131231288
Patient.contact[0].gender[0]female

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-CopyCorrespondenceIndicator-Example" />
    <contact>
        <!--  **************extension start**************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator">
            <valueBoolean value="true" />
        </extension>
        <!--  **************extension end**************  -->
        <name>
            <use value="official" />
            <family value="CARTER" />
            <given value="Emily" />
        </name>
        <telecom>
            <system value="phone" />
            <value value="01131231288" />
        </telecom>
        <gender value="female" />
    </contact>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-CopyCorrespondenceIndicator-Example",
    "contact":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
                    "valueBoolean": true
                }
            ],
            "name": {
                "use": "official",
                "family": "CARTER",
                "given":  [
                    "Emily"
                ]
            },
            "telecom":  [
                {
                    "system": "phone",
                    "value": "01131231288"
                }
            ],
            "gender": "female"
        }
    ]
}

An example to illustrate the extension to indicate the death notification status of the patient

Table View

Patient.id[0]UKCore-Patient-Extension-DeathNotificationStatus-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus
Patient.extension[0].extension[0].url[0]deathNotificationStatus
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].code[0]U
Patient.extension[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Removed
Patient.extension[0].extension[1].url[0]systemEffectiveDate
Patient.extension[0].extension[1].valueDateTime[0]2019-08-01T00:00:00.000Z

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-DeathNotificationStatus-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus">
        <extension url="deathNotificationStatus">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus" />
                    <code value="U" />
                    <display value="Removed" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="systemEffectiveDate">
            <valueDateTime value="2019-08-01T00:00:00.000Z" />
        </extension>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-DeathNotificationStatus-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus",
            "extension":  [
                {
                    "url": "deathNotificationStatus",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DeathNotificationStatus",
                                "code": "U",
                                "display": "Removed"
                            }
                        ]
                    }
                },
                {
                    "url": "systemEffectiveDate",
                    "valueDateTime": "2019-08-01T00:00:00.000Z"
                }
            ]
        }
    ]
}

An example to illustrate the extension which shows the ethnic category for a patient

Table View

Patient.id[0]UKCore-Patient-Extension-EthnicCategory-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory
Patient.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland
Patient.extension[0].valueCodeableConcept[0].coding[0].code[0]A
Patient.extension[0].valueCodeableConcept[0].coding[0].display[0]White - British

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-EthnicCategory-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland" />
                <code value="A" />
                <display value="White - British" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  *************extension end ***************** -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-EthnicCategory-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
                        "code": "A",
                        "display": "White - British"
                    }
                ]
            }
        }
    ]
}

An example to illustrate the core-defined extension which is used to indicate that a person requires an interpreter

Table View

Patient.id[0]Patient-Extension-InterpreterRequired-Example
Patient.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
Patient.extension[0].valueBoolean[0]True

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="Patient-Extension-InterpreterRequired-Example" />
    <!--   **************extension start**************   -->
    <extension url="http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired">
        <valueBoolean value="true" />
    </extension>
    <!--   **************extension end**************   -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "Patient-Extension-InterpreterRequired-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired",
            "valueBoolean": true
        }
    ]
}

An example to illustrate the extension to indicate other contact system(s) for a patient Richard Smith

Table View

Patient.id[0]UKCore-Patient-Extension-OtherContactSystem-Example
Patient.telecom[0].system[0]other
Patient.telecom[0].system[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OtherContactSystem
Patient.telecom[0].system[0].extension[0].valueCoding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-OtherContactSystem
Patient.telecom[0].system[0].extension[0].valueCoding[0].code[0]textphone
Patient.telecom[0].system[0].extension[0].valueCoding[0].display[0]Minicom (Textphone)
Patient.telecom[0].value[0]+4413513341777
Patient.telecom[0].use[0]home

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-OtherContactSystem-Example" />
    <telecom>
        <system value="other">
            <!--  **************extension start**************  -->
            <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OtherContactSystem">
                <valueCoding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-OtherContactSystem" />
                    <code value="textphone" />
                    <display value="Minicom (Textphone)" />
                </valueCoding>
            </extension>
            <!--  *************extension end ***************** -->
        </system>
        <value value="+4413513341777" />
        <use value="home" />
    </telecom>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-OtherContactSystem-Example",
    "telecom":  [
        {
            "system": "other",
            "_system": {
                "extension":  [
                    {
                        "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OtherContactSystem",
                        "valueCoding": {
                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-OtherContactSystem",
                            "code": "textphone",
                            "display": "Minicom (Textphone)"
                        }
                    }
                ]
            },
            "value": "+4413513341777",
            "use": "home"
        }
    ]
}

An example of the extension which states the patient's NHS number verification status

Table View

Patient.id[0]UKCore-Patient-Extension-NHSNumberVerificationStatus-Example
Patient.identifier[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].code[0]01
Patient.identifier[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Number present and verified

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-NHSNumberVerificationStatus-Example" />
    <identifier>
        <!--  **************extension start**************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland" />
                    <code value="01" />
                    <display value="Number present and verified" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <!--  **************extension end**************  -->
    </identifier>
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-NHSNumberVerificationStatus-Example",
    "identifier":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
                                "code": "01",
                                "display": "Number present and verified"
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

An example to illustrate the extension to show the patient's residential status

Table View

Patient.id[0]UKCore-Patient-Extension-ResidentialStatus-Example
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus
Patient.extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus
Patient.extension[0].valueCodeableConcept[0].coding[0].code[0]H
Patient.extension[0].valueCodeableConcept[0].coding[0].display[0]UK Resident

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Patient-Extension-ResidentialStatus-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus" />
                <code value="H" />
                <display value="UK Resident" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Patient-Extension-ResidentialStatus-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus",
                        "code": "H",
                        "display": "UK Resident"
                    }
                ]
            }
        }
    ]
}

An example to illustrate a practitioner who is a pharmacist

Table View

Practitioner.id[0]UKCore-Practitioner-PharmacistJimmyChuck-Example
Practitioner.identifier[0].system[0]https://fhir.nhs.uk/Id/sds-user-id
Practitioner.identifier[0].value[0]P12345678
Practitioner.name[0].family[0]Chuck
Practitioner.name[0].given[0]Jimmy
Practitioner.name[0].prefix[0]Mr
Practitioner.telecom[0].system[0]phone
Practitioner.telecom[0].value[0]0113 6323222
Practitioner.telecom[0].use[0]work
Practitioner.address[0].line[0]INHOUSE PHARMACY
Practitioner.address[0].line[1]ST. JAMES'S UNIVERSITY HOSPITAL
Practitioner.address[0].line[2]BECKETT STREET
Practitioner.address[0].city[0]LEEDS
Practitioner.address[0].postalCode[0]LS9 7TF
Practitioner.address[0].country[0]ENGLAND

Tree View

Practitioner

XML View

<Practitioner xmlns="http://hl7.org/fhir">
    <id value="UKCore-Practitioner-PharmacistJimmyChuck-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/sds-user-id" />
        <value value="P12345678" />
    </identifier>
    <name>
        <family value="Chuck" />
        <given value="Jimmy" />
        <prefix value="Mr" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="0113 6323222" />
        <use value="work" />
    </telecom>
    <address>
        <line value="INHOUSE PHARMACY" />
        <line value="ST. JAMES&#39;S UNIVERSITY HOSPITAL" />
        <line value="BECKETT STREET" />
        <city value="LEEDS" />
        <postalCode value="LS9 7TF" />
        <country value="ENGLAND" />
    </address>
</Practitioner>

JSON View

{
    "resourceType": "Practitioner",
    "id": "UKCore-Practitioner-PharmacistJimmyChuck-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/sds-user-id",
            "value": "P12345678"
        }
    ],
    "name":  [
        {
            "family": "Chuck",
            "given":  [
                "Jimmy"
            ],
            "prefix":  [
                "Mr"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 6323222",
            "use": "work"
        }
    ],
    "address":  [
        {
            "line":  [
                "INHOUSE PHARMACY",
                "ST. JAMES'S UNIVERSITY HOSPITAL",
                "BECKETT STREET"
            ],
            "city": "LEEDS",
            "postalCode": "LS9 7TF",
            "country": "ENGLAND"
        }
    ]
}

An example to illustrate a practitioner who is a general practitioner

Table View

Practitioner.id[0]UKCore-Practitioner-DoctorPaulRastall-Example
Practitioner.identifier[0].system[0]https://fhir.nhs.uk/Id/sds-user-id
Practitioner.identifier[0].value[0]G12345678
Practitioner.name[0].family[0]Rastall
Practitioner.name[0].given[0]Paul
Practitioner.name[0].prefix[0]Dr
Practitioner.telecom[0].system[0]phone
Practitioner.telecom[0].value[0]0113 6323200
Practitioner.telecom[0].use[0]work
Practitioner.address[0].use[0]work
Practitioner.address[0].type[0]both
Practitioner.address[0].line[0]Chapel Main Practice
Practitioner.address[0].line[1]22 Brightside Crescent
Practitioner.address[0].city[0]Overtown
Practitioner.address[0].district[0]West Yorkshire
Practitioner.address[0].postalCode[0]LS10 4YU
Practitioner.gender[0]male

Tree View

Practitioner

XML View

<Practitioner xmlns="http://hl7.org/fhir">
    <id value="UKCore-Practitioner-DoctorPaulRastall-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/sds-user-id" />
        <value value="G12345678" />
    </identifier>
    <name>
        <family value="Rastall" />
        <given value="Paul" />
        <prefix value="Dr" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="0113 6323200" />
        <use value="work" />
    </telecom>
    <address>
        <use value="work" />
        <type value="both" />
        <line value="Chapel Main Practice" />
        <line value="22 Brightside Crescent" />
        <city value="Overtown" />
        <district value="West Yorkshire" />
        <postalCode value="LS10 4YU" />
    </address>
    <gender value="male" />
</Practitioner>

JSON View

{
    "resourceType": "Practitioner",
    "id": "UKCore-Practitioner-DoctorPaulRastall-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/sds-user-id",
            "value": "G12345678"
        }
    ],
    "name":  [
        {
            "family": "Rastall",
            "given":  [
                "Paul"
            ],
            "prefix":  [
                "Dr"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 6323200",
            "use": "work"
        }
    ],
    "address":  [
        {
            "use": "work",
            "type": "both",
            "line":  [
                "Chapel Main Practice",
                "22 Brightside Crescent"
            ],
            "city": "Overtown",
            "district": "West Yorkshire",
            "postalCode": "LS10 4YU"
        }
    ],
    "gender": "male"
}

An example to illustrate a practitioner who is a consultant

Table View

Practitioner.id[0]UKCore-Practitioner-ConsultantSandraGose-Example
Practitioner.identifier[0].system[0]https://fhir.nhs.uk/Id/sds-user-id
Practitioner.identifier[0].value[0]C12345678
Practitioner.name[0].family[0]Gose
Practitioner.name[0].given[0]Sandra
Practitioner.name[0].prefix[0]Mrs
Practitioner.telecom[0].system[0]phone
Practitioner.telecom[0].value[0]0113 6323211
Practitioner.telecom[0].use[0]work
Practitioner.address[0].line[0]Admissions Department
Practitioner.address[0].line[1]ST. JAMES'S UNIVERSITY HOSPITAL
Practitioner.address[0].line[2]BECKETT STREET
Practitioner.address[0].city[0]LEEDS
Practitioner.address[0].postalCode[0]LS9 7TF
Practitioner.address[0].country[0]ENGLAND
Practitioner.gender[0]female

Tree View

Practitioner

XML View

<Practitioner xmlns="http://hl7.org/fhir">
    <id value="UKCore-Practitioner-ConsultantSandraGose-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/sds-user-id" />
        <value value="C12345678" />
    </identifier>
    <name>
        <family value="Gose" />
        <given value="Sandra" />
        <prefix value="Mrs" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="0113 6323211" />
        <use value="work" />
    </telecom>
    <address>
        <line value="Admissions Department" />
        <line value="ST. JAMES&#39;S UNIVERSITY HOSPITAL" />
        <line value="BECKETT STREET" />
        <city value="LEEDS" />
        <postalCode value="LS9 7TF" />
        <country value="ENGLAND" />
    </address>
    <gender value="female" />
</Practitioner>

JSON View

{
    "resourceType": "Practitioner",
    "id": "UKCore-Practitioner-ConsultantSandraGose-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/sds-user-id",
            "value": "C12345678"
        }
    ],
    "name":  [
        {
            "family": "Gose",
            "given":  [
                "Sandra"
            ],
            "prefix":  [
                "Mrs"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 6323211",
            "use": "work"
        }
    ],
    "address":  [
        {
            "line":  [
                "Admissions Department",
                "ST. JAMES'S UNIVERSITY HOSPITAL",
                "BECKETT STREET"
            ],
            "city": "LEEDS",
            "postalCode": "LS9 7TF",
            "country": "ENGLAND"
        }
    ],
    "gender": "female"
}

An example to illustrate a practitioner role of general practitioner

Table View

PractitionerRole.id[0]UKCore-PractitionerRole-GeneralPractitioner-Example
PractitionerRole.identifier[0].system[0]https://fhir.nhs.uk/Id/sds-role-profile-id
PractitionerRole.identifier[0].value[0]100334993514
PractitionerRole.practitioner[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
PractitionerRole.organization[0].reference[0]Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example
PractitionerRole.code[0].coding[0].system[0]http://snomed.info/sct
PractitionerRole.code[0].coding[0].code[0]62247001
PractitionerRole.code[0].coding[0].display[0]General practitioner
PractitionerRole.specialty[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode
PractitionerRole.specialty[0].coding[0].code[0]600
PractitionerRole.specialty[0].coding[0].display[0]General Medical Practice
PractitionerRole.telecom[0].system[0]phone
PractitionerRole.telecom[0].value[0]0113 6323200
PractitionerRole.telecom[0].use[0]work

Tree View

PractitionerRole

XML View

<PractitionerRole xmlns="http://hl7.org/fhir">
    <id value="UKCore-PractitionerRole-GeneralPractitioner-Example" />
    <identifier>
        <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
        <value value="100334993514" />
    </identifier>
    <practitioner>
        <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
    </practitioner>
    <organization>
        <reference value="Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example" />
    </organization>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="62247001" />
            <display value="General practitioner" />
        </coding>
    </code>
    <specialty>
        <coding>
            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode" />
            <code value="600" />
            <display value="General Medical Practice" />
        </coding>
    </specialty>
    <telecom>
        <system value="phone" />
        <value value="0113 6323200" />
        <use value="work" />
    </telecom>
</PractitionerRole>

JSON View

{
    "resourceType": "PractitionerRole",
    "id": "UKCore-PractitionerRole-GeneralPractitioner-Example",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
            "value": "100334993514"
        }
    ],
    "practitioner": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
    },
    "organization": {
        "reference": "Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example"
    },
    "code":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "62247001",
                    "display": "General practitioner"
                }
            ]
        }
    ],
    "specialty":  [
        {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode",
                    "code": "600",
                    "display": "General Medical Practice"
                }
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "0113 6323200",
            "use": "work"
        }
    ]
}

An example to illustrate a procedure of skin examination

Table View

Procedure.id[0]UKCore-Procedure-ExaminationOfSkin-Example
Procedure.status[0]completed
Procedure.code[0].coding[0].system[0]http://snomed.info/sct
Procedure.code[0].coding[0].code[0]128004
Procedure.code[0].coding[0].display[0]Hand microscope examination of skin
Procedure.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Procedure.performedDateTime[0]2019-12-10T13:00:00+00:00

XML View

<Procedure xmlns="http://hl7.org/fhir">
    <id value="UKCore-Procedure-ExaminationOfSkin-Example" />
    <status value="completed" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="128004" />
            <display value="Hand microscope examination of skin" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performedDateTime value="2019-12-10T13:00:00+00:00" />
</Procedure>

JSON View

{
    "resourceType": "Procedure",
    "id": "UKCore-Procedure-ExaminationOfSkin-Example",
    "status": "completed",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "128004",
                "display": "Hand microscope examination of skin"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performedDateTime": "2019-12-10T13:00:00+00:00"
}

An example to illustrate the extension which is used to indicate details of any adverse reaction to any anaesthetic agents including local anaesthesia and problematic intubation, transfusion reaction, etc

Table View

Procedure.id[0]UKCore-Procedure-Extension-AnaestheticIssues-Example
Procedure.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AnaestheticIssues
Procedure.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
Procedure.extension[0].valueCodeableConcept[0].coding[0].code[0]292891000
Procedure.extension[0].valueCodeableConcept[0].coding[0].display[0]Chlorhexidine adverse reaction
Procedure.status[0]completed
Procedure.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Procedure.performedDateTime[0]2019-12-10T13:00:00+00:00

Tree View

Procedure

XML View

<Procedure xmlns="http://hl7.org/fhir">
    <id value="UKCore-Procedure-Extension-AnaestheticIssues-Example" />
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AnaestheticIssues">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="292891000" />
                <display value="Chlorhexidine adverse reaction" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
    <status value="completed" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performedDateTime value="2019-12-10T13:00:00+00:00" />
</Procedure>

JSON View

{
    "resourceType": "Procedure",
    "id": "UKCore-Procedure-Extension-AnaestheticIssues-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AnaestheticIssues",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "292891000",
                        "display": "Chlorhexidine adverse reaction"
                    }
                ]
            }
        }
    ],
    "status": "completed",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performedDateTime": "2019-12-10T13:00:00+00:00"
}

An example to illustrate a questionnaire regarding an in-patient survey

Table View

Questionnaire.id[0]UKCore-Questionnaire-InpatientSurvey-Example
Questionnaire.url[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example
Questionnaire.identifier[0].value[0]dbba41f5-2905-4a5f-baba-e5987cbd9cca
Questionnaire.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Questionnaire.status[0]active
Questionnaire.experimental[0]False
Questionnaire.subjectType[0]Patient
Questionnaire.date[0]2021-02-15T13:50:00+00:00
Questionnaire.publisher[0]Leeds Teaching Hospitals NHS Trust
Questionnaire.contact[0].name[0]Leeds Teaching Hospitals NHS Trust
Questionnaire.contact[0].telecom[0].system[0]phone
Questionnaire.contact[0].telecom[0].value[0]01132433144
Questionnaire.contact[0].telecom[0].use[0]work
Questionnaire.contact[0].telecom[0].rank[0]1
Questionnaire.purpose[0]A questionnaire used as part of a survey of new patient admissions to Acute Medicine.
Questionnaire.effectivePeriod[0].start[0]2021-02-15T13:50:00+00:00
Questionnaire.effectivePeriod[0].end[0]2021-05-15T13:50:00+00:00
Questionnaire.item[0].linkId[0]1
Questionnaire.item[0].text[0]Do you have allergies?
Questionnaire.item[0].type[0]string
Questionnaire.item[1].linkId[0]2
Questionnaire.item[1].text[0]General questions
Questionnaire.item[1].type[0]group
Questionnaire.item[1].item[0].linkId[0]2.1
Questionnaire.item[1].item[0].text[0]What is your gender?
Questionnaire.item[1].item[0].type[0]string
Questionnaire.item[1].item[1].linkId[0]2.2
Questionnaire.item[1].item[1].text[0]What is your date of birth?
Questionnaire.item[1].item[1].type[0]date
Questionnaire.item[1].item[2].linkId[0]2.3
Questionnaire.item[1].item[2].text[0]What is your country of birth?
Questionnaire.item[1].item[2].type[0]string
Questionnaire.item[1].item[3].linkId[0]2.4
Questionnaire.item[1].item[3].text[0]What is your marital status?
Questionnaire.item[1].item[3].type[0]string
Questionnaire.item[2].linkId[0]3
Questionnaire.item[2].text[0]Intoxications
Questionnaire.item[2].type[0]group
Questionnaire.item[2].item[0].linkId[0]3.1
Questionnaire.item[2].item[0].text[0]Do you smoke?
Questionnaire.item[2].item[0].type[0]boolean
Questionnaire.item[2].item[1].linkId[0]3.2
Questionnaire.item[2].item[1].text[0]Do you drink alchohol?
Questionnaire.item[2].item[1].type[0]boolean

XML View

<Questionnaire xmlns="http://hl7.org/fhir">
    <id value="UKCore-Questionnaire-InpatientSurvey-Example" />
    <url value="https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example" />
    <identifier>
        <value value="dbba41f5-2905-4a5f-baba-e5987cbd9cca" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <status value="active" />
    <experimental value="false" />
    <subjectType value="Patient" />
    <date value="2021-02-15T13:50:00+00:00" />
    <publisher value="Leeds Teaching Hospitals NHS Trust" />
    <contact>
        <name value="Leeds Teaching Hospitals NHS Trust" />
        <telecom>
            <system value="phone" />
            <value value="01132433144" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <purpose value="A questionnaire used as part of a survey of new patient admissions to Acute Medicine." />
    <effectivePeriod>
        <start value="2021-02-15T13:50:00+00:00" />
        <end value="2021-05-15T13:50:00+00:00" />
    </effectivePeriod>
    <item>
        <linkId value="1" />
        <text value="Do you have allergies?" />
        <type value="string" />
    </item>
    <item>
        <linkId value="2" />
        <text value="General questions" />
        <type value="group" />
        <item>
            <linkId value="2.1" />
            <text value="What is your gender?" />
            <type value="string" />
        </item>
        <item>
            <linkId value="2.2" />
            <text value="What is your date of birth?" />
            <type value="date" />
        </item>
        <item>
            <linkId value="2.3" />
            <text value="What is your country of birth?" />
            <type value="string" />
        </item>
        <item>
            <linkId value="2.4" />
            <text value="What is your marital status?" />
            <type value="string" />
        </item>
    </item>
    <item>
        <linkId value="3" />
        <text value="Intoxications" />
        <type value="group" />
        <item>
            <linkId value="3.1" />
            <text value="Do you smoke?" />
            <type value="boolean" />
        </item>
        <item>
            <linkId value="3.2" />
            <text value="Do you drink alchohol?" />
            <type value="boolean" />
        </item>
    </item>
</Questionnaire>

JSON View

{
    "resourceType": "Questionnaire",
    "id": "UKCore-Questionnaire-InpatientSurvey-Example",
    "url": "https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example",
    "identifier":  [
        {
            "value": "dbba41f5-2905-4a5f-baba-e5987cbd9cca",
            "assigner": {
                "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
            }
        }
    ],
    "status": "active",
    "experimental": false,
    "subjectType":  [
        "Patient"
    ],
    "date": "2021-02-15T13:50:00+00:00",
    "publisher": "Leeds Teaching Hospitals NHS Trust",
    "contact":  [
        {
            "name": "Leeds Teaching Hospitals NHS Trust",
            "telecom":  [
                {
                    "system": "phone",
                    "value": "01132433144",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "purpose": "A questionnaire used as part of a survey of new patient admissions to Acute Medicine.",
    "effectivePeriod": {
        "start": "2021-02-15T13:50:00+00:00",
        "end": "2021-05-15T13:50:00+00:00"
    },
    "item":  [
        {
            "linkId": "1",
            "text": "Do you have allergies?",
            "type": "string"
        },
        {
            "linkId": "2",
            "text": "General questions",
            "type": "group",
            "item":  [
                {
                    "linkId": "2.1",
                    "text": "What is your gender?",
                    "type": "string"
                },
                {
                    "linkId": "2.2",
                    "text": "What is your date of birth?",
                    "type": "date"
                },
                {
                    "linkId": "2.3",
                    "text": "What is your country of birth?",
                    "type": "string"
                },
                {
                    "linkId": "2.4",
                    "text": "What is your marital status?",
                    "type": "string"
                }
            ]
        },
        {
            "linkId": "3",
            "text": "Intoxications",
            "type": "group",
            "item":  [
                {
                    "linkId": "3.1",
                    "text": "Do you smoke?",
                    "type": "boolean"
                },
                {
                    "linkId": "3.2",
                    "text": "Do you drink alchohol?",
                    "type": "boolean"
                }
            ]
        }
    ]
}

An example to illustrate a questionnaire response regarding a baby patient survey

Table View

QuestionnaireResponse.id[0]UKCore-QuestionnaireResponse-BabyPatientSurvey-Example
QuestionnaireResponse.identifier[0].value[0]51f09892-d552-4265-8734-db6c7adbf4a4
QuestionnaireResponse.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
QuestionnaireResponse.status[0]completed
QuestionnaireResponse.subject[0].reference[0]Patient/UKCore-Patient-BabyPatient-Example
QuestionnaireResponse.subject[0].type[0]Patient
QuestionnaireResponse.authored[0]2021-04-16T12:15:00+00:00
QuestionnaireResponse.author[0].reference[0]UKCore-Practitioner-DoctorPaulRastall-Example
QuestionnaireResponse.author[0].type[0]Practitioner
QuestionnaireResponse.item[0].linkId[0]birthDetails
QuestionnaireResponse.item[0].text[0]Birth details - To be completed by health professional
QuestionnaireResponse.item[0].item[0].linkId[0]name
QuestionnaireResponse.item[0].item[0].item[0].linkId[0]nameOfChild
QuestionnaireResponse.item[0].item[0].item[0].text[0]Name of child
QuestionnaireResponse.item[0].item[0].item[0].answer[0].valueString[0]Melanie Jones
QuestionnaireResponse.item[0].item[0].item[1].linkId[0]gender
QuestionnaireResponse.item[0].item[0].item[1].text[0]Gender
QuestionnaireResponse.item[0].item[0].item[1].answer[0].valueCoding[0].code[0]female
QuestionnaireResponse.item[0].item[1].linkId[0]neonatalInformation
QuestionnaireResponse.item[0].item[1].text[0]Neonatal Information
QuestionnaireResponse.item[0].item[1].item[0].linkId[0]birthWeight
QuestionnaireResponse.item[0].item[1].item[0].text[0]Birth weight (kg)
QuestionnaireResponse.item[0].item[1].item[0].answer[0].valueDecimal[0]3.15
QuestionnaireResponse.item[0].item[1].item[1].linkId[0]birthLength
QuestionnaireResponse.item[0].item[1].item[1].text[0]Birth length (cm)
QuestionnaireResponse.item[0].item[1].item[1].answer[0].valueDecimal[0]42.4
QuestionnaireResponse.item[0].item[1].item[2].linkId[0]vitaminKgiven
QuestionnaireResponse.item[0].item[1].item[2].text[0]Vitamin K given
QuestionnaireResponse.item[0].item[1].item[2].answer[0].valueBoolean[0]True
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].linkId[0]vitaminKgivenDoses
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[0].linkId[0]vitaminKDose1
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[0].text[0]1st dose
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[0].answer[0].valueDate[0]2021-02-11
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[1].linkId[0]vitaminKDose2
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[1].text[0]2nd dose
QuestionnaireResponse.item[0].item[1].item[2].answer[0].item[0].item[1].answer[0].valueDate[0]2021-03-12
QuestionnaireResponse.item[0].item[1].item[3].linkId[0]6in1Given
QuestionnaireResponse.item[0].item[1].item[3].text[0]6-in-1 vaccine given
QuestionnaireResponse.item[0].item[1].item[3].answer[0].valueBoolean[0]True
QuestionnaireResponse.item[0].item[1].item[3].answer[0].item[0].linkId[0]6in1givenDate
QuestionnaireResponse.item[0].item[1].item[3].answer[0].item[0].text[0]Date given
QuestionnaireResponse.item[0].item[1].item[3].answer[0].item[0].answer[0].valueDate[0]2021-04-12
QuestionnaireResponse.item[0].item[1].item[4].linkId[0]abnormalitiesAtBirth
QuestionnaireResponse.item[0].item[1].item[4].text[0]Abnormalities noted at birth
QuestionnaireResponse.item[0].item[1].item[4].answer[0].valueString[0]None

XML View

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
    <id value="UKCore-QuestionnaireResponse-BabyPatientSurvey-Example" />
    <identifier>
        <value value="51f09892-d552-4265-8734-db6c7adbf4a4" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <status value="completed" />
    <subject>
        <reference value="Patient/UKCore-Patient-BabyPatient-Example" />
        <type value="Patient" />
    </subject>
    <authored value="2021-04-16T12:15:00+00:00" />
    <author>
        <reference value="UKCore-Practitioner-DoctorPaulRastall-Example" />
        <type value="Practitioner" />
    </author>
    <item>
        <linkId value="birthDetails" />
        <text value="Birth details - To be completed by health professional" />
        <item>
            <linkId value="name" />
            <item>
                <linkId value="nameOfChild" />
                <text value="Name of child" />
                <answer>
                    <valueString value="Melanie Jones" />
                </answer>
            </item>
            <item>
                <linkId value="gender" />
                <text value="Gender" />
                <answer>
                    <valueCoding>
                        <code value="female" />
                    </valueCoding>
                </answer>
            </item>
        </item>
        <item>
            <linkId value="neonatalInformation" />
            <text value="Neonatal Information" />
            <item>
                <linkId value="birthWeight" />
                <text value="Birth weight (kg)" />
                <answer>
                    <valueDecimal value="3.15" />
                </answer>
            </item>
            <item>
                <linkId value="birthLength" />
                <text value="Birth length (cm)" />
                <answer>
                    <valueDecimal value="42.4" />
                </answer>
            </item>
            <item>
                <linkId value="vitaminKgiven" />
                <text value="Vitamin K given" />
                <answer>
                    <valueBoolean value="true" />
                    <item>
                        <linkId value="vitaminKgivenDoses" />
                        <item>
                            <linkId value="vitaminKDose1" />
                            <text value="1st dose" />
                            <answer>
                                <valueDate value="2021-02-11" />
                            </answer>
                        </item>
                        <item>
                            <linkId value="vitaminKDose2" />
                            <text value="2nd dose" />
                            <answer>
                                <valueDate value="2021-03-12" />
                            </answer>
                        </item>
                    </item>
                </answer>
            </item>
            <item>
                <linkId value="6in1Given" />
                <text value="6-in-1 vaccine given" />
                <answer>
                    <valueBoolean value="true" />
                    <item>
                        <linkId value="6in1givenDate" />
                        <text value="Date given" />
                        <answer>
                            <valueDate value="2021-04-12" />
                        </answer>
                    </item>
                </answer>
            </item>
            <item>
                <linkId value="abnormalitiesAtBirth" />
                <text value="Abnormalities noted at birth" />
                <answer>
                    <valueString value="None" />
                </answer>
            </item>
        </item>
    </item>
</QuestionnaireResponse>

JSON View

{
    "resourceType": "QuestionnaireResponse",
    "id": "UKCore-QuestionnaireResponse-BabyPatientSurvey-Example",
    "identifier": {
        "value": "51f09892-d552-4265-8734-db6c7adbf4a4",
        "assigner": {
            "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
        }
    },
    "status": "completed",
    "subject": {
        "reference": "Patient/UKCore-Patient-BabyPatient-Example",
        "type": "Patient"
    },
    "authored": "2021-04-16T12:15:00+00:00",
    "author": {
        "reference": "UKCore-Practitioner-DoctorPaulRastall-Example",
        "type": "Practitioner"
    },
    "item":  [
        {
            "linkId": "birthDetails",
            "text": "Birth details - To be completed by health professional",
            "item":  [
                {
                    "linkId": "name",
                    "item":  [
                        {
                            "linkId": "nameOfChild",
                            "text": "Name of child",
                            "answer":  [
                                {
                                    "valueString": "Melanie Jones"
                                }
                            ]
                        },
                        {
                            "linkId": "gender",
                            "text": "Gender",
                            "answer":  [
                                {
                                    "valueCoding": {
                                        "code": "female"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "linkId": "neonatalInformation",
                    "text": "Neonatal Information",
                    "item":  [
                        {
                            "linkId": "birthWeight",
                            "text": "Birth weight (kg)",
                            "answer":  [
                                {
                                    "valueDecimal": 3.15
                                }
                            ]
                        },
                        {
                            "linkId": "birthLength",
                            "text": "Birth length (cm)",
                            "answer":  [
                                {
                                    "valueDecimal": 42.4
                                }
                            ]
                        },
                        {
                            "linkId": "vitaminKgiven",
                            "text": "Vitamin K given",
                            "answer":  [
                                {
                                    "valueBoolean": true,
                                    "item":  [
                                        {
                                            "linkId": "vitaminKgivenDoses",
                                            "item":  [
                                                {
                                                    "linkId": "vitaminKDose1",
                                                    "text": "1st dose",
                                                    "answer":  [
                                                        {
                                                            "valueDate": "2021-02-11"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "linkId": "vitaminKDose2",
                                                    "text": "2nd dose",
                                                    "answer":  [
                                                        {
                                                            "valueDate": "2021-03-12"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "linkId": "6in1Given",
                            "text": "6-in-1 vaccine given",
                            "answer":  [
                                {
                                    "valueBoolean": true,
                                    "item":  [
                                        {
                                            "linkId": "6in1givenDate",
                                            "text": "Date given",
                                            "answer":  [
                                                {
                                                    "valueDate": "2021-04-12"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "linkId": "abnormalitiesAtBirth",
                            "text": "Abnormalities noted at birth",
                            "answer":  [
                                {
                                    "valueString": "None"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

An example to illustrate a questionnaire response regarding an in-patient survey

Table View

QuestionnaireResponse.id[0]UKCore-QuestionnaireResponse-InpatientSurvey-Example
QuestionnaireResponse.identifier[0].value[0]6d47d8c4-2f05-4dbb-93f8-6863e6d2975b
QuestionnaireResponse.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
QuestionnaireResponse.questionnaire[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example
QuestionnaireResponse.status[0]completed
QuestionnaireResponse.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
QuestionnaireResponse.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
QuestionnaireResponse.authored[0]2021-03-18T00:00:00+00:00
QuestionnaireResponse.author[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
QuestionnaireResponse.source[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
QuestionnaireResponse.item[0].linkId[0]1
QuestionnaireResponse.item[0].text[0]Do you have allergies?
QuestionnaireResponse.item[0].answer[0].valueString[0]I am allergic to amoxicillin.
QuestionnaireResponse.item[1].linkId[0]2
QuestionnaireResponse.item[1].text[0]General questions
QuestionnaireResponse.item[1].item[0].linkId[0]2.1
QuestionnaireResponse.item[1].item[0].text[0]What is your gender?
QuestionnaireResponse.item[1].item[0].answer[0].valueString[0]male
QuestionnaireResponse.item[1].item[1].linkId[0]2.2
QuestionnaireResponse.item[1].item[1].text[0]What is your date of birth?
QuestionnaireResponse.item[1].item[1].answer[0].valueDate[0]1970-09-11
QuestionnaireResponse.item[1].item[2].linkId[0]2.3
QuestionnaireResponse.item[1].item[2].text[0]What is your country of birth?
QuestionnaireResponse.item[1].item[2].answer[0].valueString[0]The United Kingdom
QuestionnaireResponse.item[1].item[3].linkId[0]2.4
QuestionnaireResponse.item[1].item[3].text[0]What is your marital status?
QuestionnaireResponse.item[1].item[3].answer[0].valueString[0]married
QuestionnaireResponse.item[2].linkId[0]3
QuestionnaireResponse.item[2].text[0]Intoxications
QuestionnaireResponse.item[2].item[0].linkId[0]3.1
QuestionnaireResponse.item[2].item[0].text[0]Do you smoke?
QuestionnaireResponse.item[2].item[0].answer[0].valueBoolean[0]True
QuestionnaireResponse.item[2].item[1].linkId[0]3.2
QuestionnaireResponse.item[2].item[1].text[0]Do you drink alchohol?
QuestionnaireResponse.item[2].item[1].answer[0].valueBoolean[0]False

XML View

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
    <id value="UKCore-QuestionnaireResponse-InpatientSurvey-Example" />
    <identifier>
        <value value="6d47d8c4-2f05-4dbb-93f8-6863e6d2975b" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <questionnaire value="https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example" />
    <status value="completed" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <authored value="2021-03-18T00:00:00+00:00" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </author>
    <source>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </source>
    <item>
        <linkId value="1" />
        <text value="Do you have allergies?" />
        <answer>
            <valueString value="I am allergic to amoxicillin." />
        </answer>
    </item>
    <item>
        <linkId value="2" />
        <text value="General questions" />
        <item>
            <linkId value="2.1" />
            <text value="What is your gender?" />
            <answer>
                <valueString value="male" />
            </answer>
        </item>
        <item>
            <linkId value="2.2" />
            <text value="What is your date of birth?" />
            <answer>
                <valueDate value="1970-09-11" />
            </answer>
        </item>
        <item>
            <linkId value="2.3" />
            <text value="What is your country of birth?" />
            <answer>
                <valueString value="The United Kingdom" />
            </answer>
        </item>
        <item>
            <linkId value="2.4" />
            <text value="What is your marital status?" />
            <answer>
                <valueString value="married" />
            </answer>
        </item>
    </item>
    <item>
        <linkId value="3" />
        <text value="Intoxications" />
        <item>
            <linkId value="3.1" />
            <text value="Do you smoke?" />
            <answer>
                <valueBoolean value="true" />
            </answer>
        </item>
        <item>
            <linkId value="3.2" />
            <text value="Do you drink alchohol?" />
            <answer>
                <valueBoolean value="false" />
            </answer>
        </item>
    </item>
</QuestionnaireResponse>

JSON View

{
    "resourceType": "QuestionnaireResponse",
    "id": "UKCore-QuestionnaireResponse-InpatientSurvey-Example",
    "identifier": {
        "value": "6d47d8c4-2f05-4dbb-93f8-6863e6d2975b",
        "assigner": {
            "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
        }
    },
    "questionnaire": "https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example",
    "status": "completed",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "authored": "2021-03-18T00:00:00+00:00",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "source": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "item":  [
        {
            "linkId": "1",
            "text": "Do you have allergies?",
            "answer":  [
                {
                    "valueString": "I am allergic to amoxicillin."
                }
            ]
        },
        {
            "linkId": "2",
            "text": "General questions",
            "item":  [
                {
                    "linkId": "2.1",
                    "text": "What is your gender?",
                    "answer":  [
                        {
                            "valueString": "male"
                        }
                    ]
                },
                {
                    "linkId": "2.2",
                    "text": "What is your date of birth?",
                    "answer":  [
                        {
                            "valueDate": "1970-09-11"
                        }
                    ]
                },
                {
                    "linkId": "2.3",
                    "text": "What is your country of birth?",
                    "answer":  [
                        {
                            "valueString": "The United Kingdom"
                        }
                    ]
                },
                {
                    "linkId": "2.4",
                    "text": "What is your marital status?",
                    "answer":  [
                        {
                            "valueString": "married"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "3",
            "text": "Intoxications",
            "item":  [
                {
                    "linkId": "3.1",
                    "text": "Do you smoke?",
                    "answer":  [
                        {
                            "valueBoolean": true
                        }
                    ]
                },
                {
                    "linkId": "3.2",
                    "text": "Do you drink alchohol?",
                    "answer":  [
                        {
                            "valueBoolean": false
                        }
                    ]
                }
            ]
        }
    ]
}

Table View

RelatedPerson.id[0]UKCore-RelatedPerson-JoySmith-Example
RelatedPerson.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference
RelatedPerson.extension[0].extension[0].url[0]PreferredContactMethod
RelatedPerson.extension[0].extension[0].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod
RelatedPerson.extension[0].extension[0].valueCodeableConcept[0].coding[0].code[0]3
RelatedPerson.extension[0].extension[0].valueCodeableConcept[0].coding[0].display[0]Telephone
RelatedPerson.extension[0].extension[1].url[0]PreferredContactTimes
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].frequency[0]1
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].period[0]1
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].periodUnit[0]d
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[0]mon
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[1]wed
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].dayOfWeek[2]fri
RelatedPerson.extension[0].extension[1].valueTiming[0].repeat[0].when[0]AFT
RelatedPerson.extension[0].extension[2].url[0]PreferredWrittenCommunicationFormat
RelatedPerson.extension[0].extension[2].valueCodeableConcept[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat
RelatedPerson.extension[0].extension[2].valueCodeableConcept[0].coding[0].code[0]11
RelatedPerson.extension[0].extension[2].valueCodeableConcept[0].coding[0].display[0]Large print
RelatedPerson.extension[1].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator
RelatedPerson.extension[1].valueBoolean[0]True
RelatedPerson.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
RelatedPerson.relationship[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
RelatedPerson.relationship[0].coding[0].code[0]WIFE
RelatedPerson.relationship[0].coding[0].display[0]wife
RelatedPerson.name[0].use[0]official
RelatedPerson.name[0].family[0]SMITH
RelatedPerson.name[0].given[0]Joy

XML View

<RelatedPerson xmlns="http://hl7.org/fhir">
    <id value="UKCore-RelatedPerson-JoySmith-Example" />
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference">
        <extension url="PreferredContactMethod">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod" />
                    <code value="3" />
                    <display value="Telephone" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="PreferredContactTimes">
            <valueTiming>
                <repeat>
                    <frequency value="1" />
                    <period value="1" />
                    <periodUnit value="d" />
                    <dayOfWeek value="mon" />
                    <dayOfWeek value="wed" />
                    <dayOfWeek value="fri" />
                    <when value="AFT" />
                </repeat>
            </valueTiming>
        </extension>
        <extension url="PreferredWrittenCommunicationFormat">
            <valueCodeableConcept>
                <coding>
                    <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat" />
                    <code value="11" />
                    <display value="Large print" />
                </coding>
            </valueCodeableConcept>
        </extension>
    </extension>
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator">
        <valueBoolean value="true" />
    </extension>
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </patient>
    <relationship>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
            <code value="WIFE" />
            <display value="wife" />
        </coding>
    </relationship>
    <name>
        <use value="official" />
        <family value="SMITH" />
        <given value="Joy" />
    </name>
</RelatedPerson>

JSON View

{
    "resourceType": "RelatedPerson",
    "id": "UKCore-RelatedPerson-JoySmith-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
            "extension":  [
                {
                    "url": "PreferredContactMethod",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod",
                                "code": "3",
                                "display": "Telephone"
                            }
                        ]
                    }
                },
                {
                    "url": "PreferredContactTimes",
                    "valueTiming": {
                        "repeat": {
                            "frequency": 1,
                            "period": 1,
                            "periodUnit": "d",
                            "dayOfWeek":  [
                                "mon",
                                "wed",
                                "fri"
                            ],
                            "when":  [
                                "AFT"
                            ]
                        }
                    }
                },
                {
                    "url": "PreferredWrittenCommunicationFormat",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
                                "code": "11",
                                "display": "Large print"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
            "valueBoolean": true
        }
    ],
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "relationship":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                    "code": "WIFE",
                    "display": "wife"
                }
            ]
        }
    ],
    "name":  [
        {
            "use": "official",
            "family": "SMITH",
            "given":  [
                "Joy"
            ]
        }
    ]
}

An example to illustrate a schedule regarding an immunization

Table View

Schedule.id[0]UKCore-Schedule-Immunization-Example
Schedule.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Schedule.identifier[0].value[0]4c8b068a-d610-427f-a508-6b7f90d47bf2
Schedule.active[0]True
Schedule.serviceCategory[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/service-category
Schedule.serviceCategory[0].coding[0].code[0]17
Schedule.serviceCategory[0].coding[0].display[0]General Practice
Schedule.serviceType[0].coding[0].system[0]http://snomed.info/sct
Schedule.serviceType[0].coding[0].code[0]708190004
Schedule.serviceType[0].coding[0].display[0]Immunology service
Schedule.specialty[0].coding[0].system[0]http://snomed.info/sct
Schedule.specialty[0].coding[0].code[0]408480009
Schedule.specialty[0].coding[0].display[0]Clinical immunology
Schedule.actor[0].reference[0]Location/UKCore-Location-GeneralPracticeNurseClinic-Example
Schedule.actor[0].display[0]White Rose GP Practice Nurse Clinic
Schedule.planningHorizon[0].start[0]2021-10-13T11:20:00+07:00
Schedule.planningHorizon[0].end[0]2021-10-13T11:50:00+07:00
Schedule.comment[0]The slots attached to this schedule should be specialized to cover immunizations within the clinic

XML View

<Schedule xmlns="http://hl7.org/fhir">
    <id value="UKCore-Schedule-Immunization-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="4c8b068a-d610-427f-a508-6b7f90d47bf2" />
    </identifier>
    <active value="true" />
    <serviceCategory>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/service-category" />
            <code value="17" />
            <display value="General Practice" />
        </coding>
    </serviceCategory>
    <serviceType>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="708190004" />
            <display value="Immunology service" />
        </coding>
    </serviceType>
    <specialty>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="408480009" />
            <display value="Clinical immunology" />
        </coding>
    </specialty>
    <actor>
        <reference value="Location/UKCore-Location-GeneralPracticeNurseClinic-Example" />
        <display value="White Rose GP Practice Nurse Clinic" />
    </actor>
    <planningHorizon>
        <start value="2021-10-13T11:20:00+07:00" />
        <end value="2021-10-13T11:50:00+07:00" />
    </planningHorizon>
    <comment value="The slots attached to this schedule should be specialized to cover immunizations within    the clinic" />
</Schedule>

JSON View

{
    "resourceType": "Schedule",
    "id": "UKCore-Schedule-Immunization-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "4c8b068a-d610-427f-a508-6b7f90d47bf2"
        }
    ],
    "active": true,
    "serviceCategory":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/service-category",
                    "code": "17",
                    "display": "General Practice"
                }
            ]
        }
    ],
    "serviceType":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "708190004",
                    "display": "Immunology service"
                }
            ]
        }
    ],
    "specialty":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "408480009",
                    "display": "Clinical immunology"
                }
            ]
        }
    ],
    "actor":  [
        {
            "reference": "Location/UKCore-Location-GeneralPracticeNurseClinic-Example",
            "display": "White Rose GP Practice Nurse Clinic"
        }
    ],
    "planningHorizon": {
        "start": "2021-10-13T11:20:00+07:00",
        "end": "2021-10-13T11:50:00+07:00"
    },
    "comment": "The slots attached to this schedule should be specialized to cover immunizations within    the clinic"
}

An example to illustrate a service request regarding a colonoscopy

Table View

ServiceRequest.id[0]UKCore-ServiceRequest-ColonoscopyRequest-Example
ServiceRequest.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].code[0]108161000000109
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].display[0]Referred by general practitioner
ServiceRequest.status[0]active
ServiceRequest.intent[0]order
ServiceRequest.code[0].coding[0].system[0]http://snomed.info/sct
ServiceRequest.code[0].coding[0].code[0]73761001
ServiceRequest.code[0].coding[0].display[0]Colonoscopy
ServiceRequest.code[0].text[0]Colonoscopy requested
ServiceRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
ServiceRequest.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
ServiceRequest.occurrencePeriod[0].start[0]2021-10-13T16:20:27+07:00
ServiceRequest.authoredOn[0]2021-10-13T16:28:00+07:00
ServiceRequest.requester[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
ServiceRequest.performer[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
ServiceRequest.locationReference[0].reference[0]Location/UKCore-Location-HospitalSJUH-Example
ServiceRequest.reasonCode[0].coding[0].system[0]http://snomed.info/sct
ServiceRequest.reasonCode[0].coding[0].code[0]271835004
ServiceRequest.reasonCode[0].coding[0].display[0]Abdominal distension, gaseous
ServiceRequest.reasonCode[0].text[0]Swollen abdomen
ServiceRequest.reasonReference[0].reference[0]DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example
ServiceRequest.reasonReference[0].display[0]Diagnostic report on the Blood specimen warrants a colonoscopy to investigate this further
ServiceRequest.supportingInfo[0].reference[0]Observation/UKCore-Observation-WhiteCellCount-Example
ServiceRequest.supportingInfo[0].display[0]White cell count
ServiceRequest.patientInstruction[0]ADVICE GIVEN: If there are any new symptoms, or if the condition gets worse, changes or you have any other concerns, contact your GP.

XML View

<ServiceRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-ServiceRequest-ColonoscopyRequest-Example" />
    <!-- The source of the service request. -->
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="108161000000109" />
                <display value="Referred by general practitioner" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end ******************  -->
    <status value="active" />
    <intent value="order" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="73761001" />
            <display value="Colonoscopy" />
        </coding>
        <text value="Colonoscopy requested" />
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <occurrencePeriod>
        <start value="2021-10-13T16:20:27+07:00" />
    </occurrencePeriod>
    <authoredOn value="2021-10-13T16:28:00+07:00" />
    <requester>
        <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
    </requester>
    <performer>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </performer>
    <locationReference>
        <reference value="Location/UKCore-Location-HospitalSJUH-Example" />
    </locationReference>
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="271835004" />
            <display value="Abdominal distension, gaseous" />
        </coding>
        <text value="Swollen abdomen" />
    </reasonCode>
    <reasonReference>
        <reference value="DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example" />
        <display value="Diagnostic report on the Blood specimen warrants a colonoscopy to investigate this further" />
    </reasonReference>
    <supportingInfo>
        <reference value="Observation/UKCore-Observation-WhiteCellCount-Example" />
        <display value="White cell count" />
    </supportingInfo>
    <patientInstruction value="ADVICE GIVEN: If there are any new symptoms, or if the condition gets worse, changes or you have any other concerns, contact your GP." />
</ServiceRequest>

JSON View

{
    "resourceType": "ServiceRequest",
    "id": "UKCore-ServiceRequest-ColonoscopyRequest-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "108161000000109",
                        "display": "Referred by general practitioner"
                    }
                ]
            }
        }
    ],
    "status": "active",
    "intent": "order",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "73761001",
                "display": "Colonoscopy"
            }
        ],
        "text": "Colonoscopy requested"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "occurrencePeriod": {
        "start": "2021-10-13T16:20:27+07:00"
    },
    "authoredOn": "2021-10-13T16:28:00+07:00",
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
    },
    "performer":  [
        {
            "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
        }
    ],
    "locationReference":  [
        {
            "reference": "Location/UKCore-Location-HospitalSJUH-Example"
        }
    ],
    "reasonCode":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "271835004",
                    "display": "Abdominal distension, gaseous"
                }
            ],
            "text": "Swollen abdomen"
        }
    ],
    "reasonReference":  [
        {
            "reference": "DiagnosticReport/UKCore-DiagnosticReport-DiagnosticStudiesReport-Example",
            "display": "Diagnostic report on the Blood specimen warrants a colonoscopy to investigate this further"
        }
    ],
    "supportingInfo":  [
        {
            "reference": "Observation/UKCore-Observation-WhiteCellCount-Example",
            "display": "White cell count"
        }
    ],
    "patientInstruction": "ADVICE GIVEN: If there are any new symptoms, or if the condition gets worse, changes or you have any other concerns, contact your GP."
}

An example to illustrate the source of service request extension associated with a service request

Table View

ServiceRequest.id[0]UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example
ServiceRequest.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].code[0]108161000000109
ServiceRequest.extension[0].valueCodeableConcept[0].coding[0].display[0]Referred by general practitioner
ServiceRequest.status[0]active
ServiceRequest.intent[0]order
ServiceRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

XML View

<ServiceRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example" />
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="108161000000109" />
                <display value="Referred by general practitioner" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end ******************  -->
    <status value="active" />
    <intent value="order" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</ServiceRequest>

JSON View

{
    "resourceType": "ServiceRequest",
    "id": "UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "108161000000109",
                        "display": "Referred by general practitioner"
                    }
                ]
            }
        }
    ],
    "status": "active",
    "intent": "order",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

An example to illustrate a slot regarding a walk in visit

Table View

Slot.id[0]UKCore-Slot-AvailableWalkInVisit-Example
Slot.text[0].status[0]generated
Slot.text[0].div[0]
20 Dec 2022 9:15am - 9:30am: Free Immunization
Slot.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Slot.identifier[0].value[0]4cc18add-5160-49bb-9995-0d0759751f8d
Slot.serviceCategory[0].coding[0].system[0]http://snomed.info/sct
Slot.serviceCategory[0].coding[0].code[0]788007007
Slot.serviceCategory[0].coding[0].display[0]General practice service
Slot.serviceType[0].coding[0].system[0]http://snomed.info/sct
Slot.serviceType[0].coding[0].code[0]708190004
Slot.serviceType[0].coding[0].display[0]Immunology service
Slot.specialty[0].coding[0].system[0]http://snomed.info/sct
Slot.specialty[0].coding[0].code[0]408480009
Slot.specialty[0].coding[0].display[0]Clinical immunology
Slot.appointmentType[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0276
Slot.appointmentType[0].coding[0].code[0]WALKIN
Slot.appointmentType[0].coding[0].display[0]A previously unscheduled walk-in visit
Slot.schedule[0].reference[0]Schedule/UKCore-Schedule-Immunization-Example
Slot.status[0]free
Slot.start[0]2022-12-20T11:20:00+07:00
Slot.end[0]2022-12-20T11:40:00+07:00
Slot.comment[0]Assessments should be performed before requesting appointments in this slot.

XML View

<Slot xmlns="http://hl7.org/fhir">
    <id value="UKCore-Slot-AvailableWalkInVisit-Example" />
    <text>
        <status value="generated" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="4cc18add-5160-49bb-9995-0d0759751f8d" />
    </identifier>
    <serviceCategory>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="788007007" />
            <display value="General practice service" />
        </coding>
    </serviceCategory>
    <serviceType>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="708190004" />
            <display value="Immunology service" />
        </coding>
    </serviceType>
    <specialty>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="408480009" />
            <display value="Clinical immunology" />
        </coding>
    </specialty>
    <appointmentType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
            <code value="WALKIN" />
            <display value="A previously unscheduled walk-in visit" />
        </coding>
    </appointmentType>
    <schedule>
        <reference value="Schedule/UKCore-Schedule-Immunization-Example" />
    </schedule>
    <status value="free" />
    <start value="2022-12-20T11:20:00+07:00" />
    <end value="2022-12-20T11:40:00+07:00" />
    <comment value="Assessments should be performed before requesting appointments in this slot." />
</Slot>

JSON View

{
    "resourceType": "Slot",
    "id": "UKCore-Slot-AvailableWalkInVisit-Example",
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "4cc18add-5160-49bb-9995-0d0759751f8d"
        }
    ],
    "serviceCategory":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "788007007",
                    "display": "General practice service"
                }
            ]
        }
    ],
    "serviceType":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "708190004",
                    "display": "Immunology service"
                }
            ]
        }
    ],
    "specialty":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "408480009",
                    "display": "Clinical immunology"
                }
            ]
        }
    ],
    "appointmentType": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0276",
                "code": "WALKIN",
                "display": "A previously unscheduled walk-in visit"
            }
        ]
    },
    "schedule": {
        "reference": "Schedule/UKCore-Schedule-Immunization-Example"
    },
    "status": "free",
    "start": "2022-12-20T11:20:00+07:00",
    "end": "2022-12-20T11:40:00+07:00",
    "comment": "Assessments should be performed before requesting appointments in this slot."
}

An example to illustrate a blood specimen that was taken by a finger prick.

Table View

Specimen.id[0]UKCore-Specimen-BloodSpecimen-Example
Specimen.status[0]available
Specimen.type[0].coding[0].system[0]http://snomed.info/sct
Specimen.type[0].coding[0].code[0]119297000
Specimen.type[0].coding[0].display[0]Blood specimen
Specimen.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Specimen.receivedTime[0]2016-02-05T11:10:00Z
Specimen.collection[0].collector[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Specimen.collection[0].collectedDateTime[0]2016-02-09T16:00:00Z
Specimen.collection[0].method[0].coding[0].system[0]http://snomed.info/sct
Specimen.collection[0].method[0].coding[0].code[0]278450005
Specimen.collection[0].method[0].coding[0].display[0]Finger-prick sampling (procedure)

XML View

<Specimen xmlns="http://hl7.org/fhir">
    <id value="UKCore-Specimen-BloodSpecimen-Example" />
    <status value="available" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="119297000" />
            <display value="Blood specimen" />
        </coding>
    </type>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <receivedTime value="2016-02-05T11:10:00Z" />
    <collection>
        <collector>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
        </collector>
        <collectedDateTime value="2016-02-09T16:00:00Z" />
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="278450005" />
                <display value="Finger-prick sampling (procedure)" />
            </coding>
        </method>
    </collection>
</Specimen>

JSON View

{
    "resourceType": "Specimen",
    "id": "UKCore-Specimen-BloodSpecimen-Example",
    "status": "available",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "119297000",
                "display": "Blood specimen"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "receivedTime": "2016-02-05T11:10:00Z",
    "collection": {
        "collector": {
            "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
        },
        "collectedDateTime": "2016-02-09T16:00:00Z",
        "method": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "278450005",
                    "display": "Finger-prick sampling (procedure)"
                }
            ]
        }
    }
}

An example to illustrate a task regarding a colonoscopy

Table View

Task.id[0]UKCore-Task-Colonoscopy-Example
Task.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Task.identifier[0].value[0]b269d1d7-1acf-47bb-8b3c-e38b583d9a07
Task.status[0]in-progress
Task.intent[0]order
Task.priority[0]routine
Task.code[0].coding[0].system[0]http://hl7.org/fhir/CodeSystem/task-code
Task.code[0].coding[0].code[0]fulfill
Task.code[0].coding[0].display[0]Fulfill the focal request
Task.focus[0].reference[0]ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example
Task.focus[0].display[0]Colonoscopy Request
Task.for[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Task.for[0].display[0]Richard Smith
Task.encounter[0].reference[0]Encounter/UKCore-Encounter-InpatientEncounter-Example
Task.encounter[0].display[0]In-Patient Encounter
Task.executionPeriod[0].start[0]2021-10-13T16:20:27+07:00
Task.executionPeriod[0].end[0]2021-10-13T18:20:27+07:00
Task.authoredOn[0]2021-10-13T16:20:27+07:00
Task.lastModified[0]2021-10-13T16:20:27+07:00
Task.requester[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
Task.requester[0].display[0]Dr Paul Rastall
Task.performerType[0].coding[0].system[0]http://snomed.info/sct
Task.performerType[0].coding[0].code[0]71838004
Task.performerType[0].coding[0].display[0]Gastroenterologist
Task.performerType[0].text[0]Performer
Task.owner[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Task.owner[0].display[0]Dr Sandra Gose
Task.restriction[0].repetitions[0]1
Task.restriction[0].period[0].end[0]2021-10-13T18:30:00+07:00
Task.output[0].type[0].text[0]Colonoscopy Appointment
Task.output[0].valueReference[0].reference[0]ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example

XML View

<Task xmlns="http://hl7.org/fhir">
    <id value="UKCore-Task-Colonoscopy-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="b269d1d7-1acf-47bb-8b3c-e38b583d9a07" />
    </identifier>
    <status value="in-progress" />
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="http://hl7.org/fhir/CodeSystem/task-code" />
            <code value="fulfill" />
            <display value="Fulfill the focal request" />
        </coding>
    </code>
    <focus>
        <reference value="ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example" />
        <display value="Colonoscopy Request" />
    </focus>
    <for>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        <display value="Richard Smith" />
    </for>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
        <display value="In-Patient Encounter" />
    </encounter>
    <executionPeriod>
        <start value="2021-10-13T16:20:27+07:00" />
        <end value="2021-10-13T18:20:27+07:00" />
    </executionPeriod>
    <authoredOn value="2021-10-13T16:20:27+07:00" />
    <lastModified value="2021-10-13T16:20:27+07:00" />
    <requester>
        <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        <display value="Dr Paul Rastall" />
    </requester>
    <performerType>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="71838004" />
            <display value="Gastroenterologist" />
        </coding>
        <text value="Performer" />
    </performerType>
    <owner>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
        <display value="Dr Sandra Gose" />
    </owner>
    <restriction>
        <repetitions value="1" />
        <period>
            <end value="2021-10-13T18:30:00+07:00" />
        </period>
    </restriction>
    <output>
        <type>
            <text value="Colonoscopy Appointment" />
        </type>
        <valueReference>
            <reference value="ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example" />
        </valueReference>
    </output>
</Task>

JSON View

{
    "resourceType": "Task",
    "id": "UKCore-Task-Colonoscopy-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "b269d1d7-1acf-47bb-8b3c-e38b583d9a07"
        }
    ],
    "status": "in-progress",
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "fulfill",
                "display": "Fulfill the focal request"
            }
        ]
    },
    "focus": {
        "reference": "ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example",
        "display": "Colonoscopy Request"
    },
    "for": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example",
        "display": "Richard Smith"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example",
        "display": "In-Patient Encounter"
    },
    "executionPeriod": {
        "start": "2021-10-13T16:20:27+07:00",
        "end": "2021-10-13T18:20:27+07:00"
    },
    "authoredOn": "2021-10-13T16:20:27+07:00",
    "lastModified": "2021-10-13T16:20:27+07:00",
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example",
        "display": "Dr Paul Rastall"
    },
    "performerType":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "71838004",
                    "display": "Gastroenterologist"
                }
            ],
            "text": "Performer"
        }
    ],
    "owner": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example",
        "display": "Dr Sandra Gose"
    },
    "restriction": {
        "repetitions": 1,
        "period": {
            "end": "2021-10-13T18:30:00+07:00"
        }
    },
    "output":  [
        {
            "type": {
                "text": "Colonoscopy Appointment"
            },
            "valueReference": {
                "reference": "ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example"
            }
        }
    ]
}

An example to illustrate a family member with a condition

Table View

FamilyMemberHistory.id[0]UKCore-FamilyMemberHistory-FatherDiabetes-Example
FamilyMemberHistory.status[0]partial
FamilyMemberHistory.patient[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
FamilyMemberHistory.patient[0].display[0]Richard Smith
FamilyMemberHistory.date[0]2023-02-07
FamilyMemberHistory.relationship[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
FamilyMemberHistory.relationship[0].coding[0].code[0]FTH
FamilyMemberHistory.relationship[0].coding[0].display[0]father
FamilyMemberHistory.sex[0].coding[0].system[0]http://hl7.org/fhir/administrative-gender
FamilyMemberHistory.sex[0].coding[0].code[0]male
FamilyMemberHistory.sex[0].coding[0].display[0]Male
FamilyMemberHistory.bornDate[0]1949-12-13
FamilyMemberHistory.condition[0].code[0].coding[0].system[0]http://snomed.info/sct
FamilyMemberHistory.condition[0].code[0].coding[0].code[0]430678008
FamilyMemberHistory.condition[0].code[0].coding[0].display[0]Family history of diabetes mellitus type 1
FamilyMemberHistory.condition[0].code[0].text[0]Diabetes Mellitues Type 1
FamilyMemberHistory.condition[0].onsetAge[0].value[0]64
FamilyMemberHistory.condition[0].onsetAge[0].unit[0]yr
FamilyMemberHistory.condition[0].onsetAge[0].system[0]http://unitsofmeasure.org
FamilyMemberHistory.condition[0].onsetAge[0].code[0]a

XML View

<FamilyMemberHistory xmlns="http://hl7.org/fhir">
    <id value="UKCore-FamilyMemberHistory-FatherDiabetes-Example" />
    <status value="partial" />
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        <display value="Richard Smith" />
    </patient>
    <date value="2023-02-07" />
    <relationship>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
            <code value="FTH" />
            <display value="father" />
        </coding>
    </relationship>
    <sex>
        <coding>
            <system value="http://hl7.org/fhir/administrative-gender" />
            <code value="male" />
            <display value="Male" />
        </coding>
    </sex>
    <bornDate value="1949-12-13" />
    <condition>
        <code>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="430678008" />
                <display value="Family history of diabetes mellitus type 1" />
            </coding>
            <text value="Diabetes Mellitues Type 1" />
        </code>
        <onsetAge>
            <value value="64" />
            <unit value="yr" />
            <system value="http://unitsofmeasure.org" />
            <code value="a" />
        </onsetAge>
    </condition>
</FamilyMemberHistory>

JSON View

{
    "resourceType": "FamilyMemberHistory",
    "id": "UKCore-FamilyMemberHistory-FatherDiabetes-Example",
    "status": "partial",
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example",
        "display": "Richard Smith"
    },
    "date": "2023-02-07",
    "relationship": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                "code": "FTH",
                "display": "father"
            }
        ]
    },
    "sex": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/administrative-gender",
                "code": "male",
                "display": "Male"
            }
        ]
    },
    "bornDate": "1949-12-13",
    "condition":  [
        {
            "code": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "430678008",
                        "display": "Family history of diabetes mellitus type 1"
                    }
                ],
                "text": "Diabetes Mellitues Type 1"
            },
            "onsetAge": {
                "value": 64,
                "unit": "yr",
                "system": "http://unitsofmeasure.org",
                "code": "a"
            }
        }
    ]
}

back to top