Examples


Table View

AuditEvent.id[0]UKCore-AuditEvent-Query-Example
AuditEvent.type[0].system[0]http://dicom.nema.org/resources/ontology/DCM
AuditEvent.type[0].code[0]110112
AuditEvent.type[0].display[0]Query
AuditEvent.subtype[0].system[0]http://hl7.org/fhir/restful-interaction
AuditEvent.subtype[0].code[0]search
AuditEvent.subtype[0].display[0]search
AuditEvent.recorded[0]2020-12-10T13:10:00+00:00
AuditEvent.agent[0].role[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
AuditEvent.agent[0].role[0].coding[0].code[0]RESPRSN
AuditEvent.agent[0].role[0].coding[0].display[0]responsible party
AuditEvent.agent[0].who[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
AuditEvent.agent[0].requestor[0]True
AuditEvent.agent[0].location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example
AuditEvent.source[0].observer[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
AuditEvent.source[0].type[0].system[0]http://terminology.hl7.org/CodeSystem/security-source-type
AuditEvent.source[0].type[0].code[0]1
AuditEvent.source[0].type[0].display[0]User Device
AuditEvent.entity[0].what[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AuditEvent.entity[0].type[0].system[0]http://hl7.org/fhir/resource-types
AuditEvent.entity[0].type[0].code[0]Patient
AuditEvent.entity[0].type[0].display[0]Patient

XML View

<AuditEvent xmlns="http://hl7.org/fhir">
    <id value="UKCore-AuditEvent-Query-Example" />
    <type>
        <system value="http://dicom.nema.org/resources/ontology/DCM" />
        <code value="110112" />
        <display value="Query" />
    </type>
    <subtype>
        <system value="http://hl7.org/fhir/restful-interaction" />
        <code value="search" />
        <display value="search" />
    </subtype>
    <recorded value="2020-12-10T13:10:00+00:00" />
    <agent>
        <role>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
                <code value="RESPRSN" />
                <display value="responsible party" />
            </coding>
        </role>
        <who>
            <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        </who>
        <requestor value="true" />
        <location>
            <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
        </location>
    </agent>
    <source>
        <observer>
            <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        </observer>
        <type>
            <system value="http://terminology.hl7.org/CodeSystem/security-source-type" />
            <code value="1" />
            <display value="User Device" />
        </type>
    </source>
    <entity>
        <what>
            <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        </what>
        <type>
            <system value="http://hl7.org/fhir/resource-types" />
            <code value="Patient" />
            <display value="Patient" />
        </type>
    </entity>
</AuditEvent>

JSON View

{
    "resourceType": "AuditEvent",
    "id": "UKCore-AuditEvent-Query-Example",
    "type": {
        "system": "http://dicom.nema.org/resources/ontology/DCM",
        "code": "110112",
        "display": "Query"
    },
    "subtype":  [
        {
            "system": "http://hl7.org/fhir/restful-interaction",
            "code": "search",
            "display": "search"
        }
    ],
    "recorded": "2020-12-10T13:10:00+00:00",
    "agent":  [
        {
            "role":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                            "code": "RESPRSN",
                            "display": "responsible party"
                        }
                    ]
                }
            ],
            "who": {
                "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
            },
            "requestor": true,
            "location": {
                "reference": "Location/UKCore-Location-CardiologySJUH-Example"
            }
        }
    ],
    "source": {
        "observer": {
            "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
        },
        "type":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
                "code": "1",
                "display": "User Device"
            }
        ]
    },
    "entity":  [
        {
            "what": {
                "reference": "Patient/UKCore-Patient-RichardSmith-Example"
            },
            "type": {
                "system": "http://hl7.org/fhir/resource-types",
                "code": "Patient",
                "display": "Patient"
            }
        }
    ]
}

Example to illustrate a bundled allergy list.

Table View

Bundle.id[0]UKCore-Bundle-AllergyList-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

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="UKCore-Bundle-AllergyList-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-AllergyList-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"
                    }
                ]
            }
        }
    ]
}

Example to illustrate a wellness plan for the management of Type 2 diabetes.

Table View

CarePlan.id[0]UKCore-CarePlan-WellnessPlan-Example
CarePlan.identifier[0].value[0]7d9955bc-afe0-11ea-b3de-0242ac130004
CarePlan.basedOn[0].display[0]Management of Type 2 Diabetes
CarePlan.partOf[0].display[0]Overall wellness plan
CarePlan.status[0]active
CarePlan.intent[0]plan
CarePlan.category[0].text[0]Weight management plan
CarePlan.description[0]Manage obesity and weight loss
CarePlan.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
CarePlan.subject[0].type[0]Patient
CarePlan.subject[0].display[0]Richard SMITH
CarePlan.period[0].end[0]2020-01-01
CarePlan.created[0]2020-02-01
CarePlan.author[0].reference[0]Practitioner/UKCore-Practitioner-PaulRastall-Example
CarePlan.activity[0].outcomeCodeableConcept[0].coding[0].system[0]http://snomed.info/sct
CarePlan.activity[0].outcomeCodeableConcept[0].coding[0].code[0]161832001
CarePlan.activity[0].outcomeCodeableConcept[0].coding[0].display[0]Progressive weight loss
CarePlan.activity[0].detail[0].code[0].coding[0].system[0]http://snomed.info/sct
CarePlan.activity[0].detail[0].code[0].coding[0].code[0]27113001
CarePlan.activity[0].detail[0].code[0].coding[0].display[0]Body weight
CarePlan.activity[0].detail[0].status[0]completed
CarePlan.activity[0].detail[0].statusReason[0].text[0]Achieved weight loss to mitigate diabetes risk.
CarePlan.activity[0].detail[0].doNotPerform[0]False
CarePlan.activity[0].detail[0].scheduled[0].repeat[0].frequency[0]1
CarePlan.activity[0].detail[0].scheduled[0].repeat[0].period[0]1
CarePlan.activity[0].detail[0].scheduled[0].repeat[0].periodUnit[0]d
CarePlan.activity[0].detail[0].location[0].display[0]Patient's home
CarePlan.activity[0].detail[0].performer[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

XML View

<CarePlan xmlns="http://hl7.org/fhir">
    <id value="UKCore-CarePlan-WellnessPlan-Example" />
    <identifier>
        <value value="7d9955bc-afe0-11ea-b3de-0242ac130004" />
    </identifier>
    <basedOn>
        <display value="Management of Type 2 Diabetes" />
    </basedOn>
    <partOf>
        <display value="Overall wellness plan" />
    </partOf>
    <status value="active" />
    <intent value="plan" />
    <category>
        <text value="Weight management plan" />
    </category>
    <description value="Manage obesity and weight loss" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        <type value="Patient" />
        <display value="Richard SMITH" />
    </subject>
    <period>
        <end value="2020-01-01" />
    </period>
    <created value="2020-02-01" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-PaulRastall-Example" />
    </author>
    <activity>
        <outcomeCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="161832001" />
                <display value="Progressive weight loss" />
            </coding>
        </outcomeCodeableConcept>
        <detail>
            <code>
                <coding>
                    <system value="http://snomed.info/sct" />
                    <code value="27113001" />
                    <display value="Body weight" />
                </coding>
            </code>
            <status value="completed" />
            <statusReason>
                <text value="Achieved weight loss to mitigate diabetes risk." />
            </statusReason>
            <doNotPerform value="false" />
            <scheduledTiming>
                <repeat>
                    <frequency value="1" />
                    <period value="1" />
                    <periodUnit value="d" />
                </repeat>
            </scheduledTiming>
            <location>
                <display value="Patient&#39;s home" />
            </location>
            <performer>
                <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
            </performer>
        </detail>
    </activity>
</CarePlan>

JSON View

{
    "resourceType": "CarePlan",
    "id": "UKCore-CarePlan-WellnessPlan-Example",
    "identifier":  [
        {
            "value": "7d9955bc-afe0-11ea-b3de-0242ac130004"
        }
    ],
    "basedOn":  [
        {
            "display": "Management of Type 2 Diabetes"
        }
    ],
    "partOf":  [
        {
            "display": "Overall wellness plan"
        }
    ],
    "status": "active",
    "intent": "plan",
    "category":  [
        {
            "text": "Weight management plan"
        }
    ],
    "description": "Manage obesity and weight loss",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example",
        "type": "Patient",
        "display": "Richard SMITH"
    },
    "period": {
        "end": "2020-01-01"
    },
    "created": "2020-02-01",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-PaulRastall-Example"
    },
    "activity":  [
        {
            "outcomeCodeableConcept":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "161832001",
                            "display": "Progressive weight loss"
                        }
                    ]
                }
            ],
            "detail": {
                "code": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "27113001",
                            "display": "Body weight"
                        }
                    ]
                },
                "status": "completed",
                "statusReason": {
                    "text": "Achieved weight loss to mitigate diabetes risk."
                },
                "doNotPerform": false,
                "scheduledTiming": {
                    "repeat": {
                        "frequency": 1,
                        "period": 1,
                        "periodUnit": "d"
                    }
                },
                "location": {
                    "display": "Patient's home"
                },
                "performer":  [
                    {
                        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
                    }
                ]
            }
        }
    ]
}

Example to illustrate a weight management care team.

Table View

CareTeam.id[0]UKCore-CareTeam-WeightManagementTeam-Example
CareTeam.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
CareTeam.identifier[0].value[0]0e7cc7b2-94b7-42c2-875b-56c921e4bcc2
CareTeam.status[0]inactive
CareTeam.name[0]Weight management team
CareTeam.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
CareTeam.participant[0].member[0].reference[0]Practitioner/UKCore-Practitioner-PaulRastall-Example
CareTeam.managingOrganization[0].reference[0]Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example

XML View

<CareTeam xmlns="http://hl7.org/fhir">
    <id value="UKCore-CareTeam-WeightManagementTeam-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="0e7cc7b2-94b7-42c2-875b-56c921e4bcc2" />
    </identifier>
    <status value="inactive" />
    <name value="Weight management team" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <participant>
        <member>
            <reference value="Practitioner/UKCore-Practitioner-PaulRastall-Example" />
        </member>
    </participant>
    <managingOrganization>
        <reference value="Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example" />
    </managingOrganization>
</CareTeam>

JSON View

{
    "resourceType": "CareTeam",
    "id": "UKCore-CareTeam-WeightManagementTeam-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "0e7cc7b2-94b7-42c2-875b-56c921e4bcc2"
        }
    ],
    "status": "inactive",
    "name": "Weight management team",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "participant":  [
        {
            "member": {
                "reference": "Practitioner/UKCore-Practitioner-PaulRastall-Example"
            }
        }
    ],
    "managingOrganization":  [
        {
            "reference": "Organization/UKCore-Organisation-WhiteRoseMedicalCentre-Example"
        }
    ]
}

Example to illustrate a communication to notify that a patient has had their first MMR Vaccination.

Table View

Communication.id[0]UKCore-Communication-FirstMMRVaccination-Example
Communication.text[0].status[0]generated
Communication.text[0].div[0]
First MMR vaccination administered to Melanie.
Communication.status[0]completed
Communication.category[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings
Communication.category[0].coding[0].code[0]immunisations
Communication.category[0].coding[0].display[0]Immunisations
Communication.category[1].coding[0].system[0]http://terminology.hl7.org/CodeSystem/communication-category
Communication.category[1].coding[0].code[0]notification
Communication.category[1].coding[0].display[0]Notification
Communication.medium[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-ParticipationMode
Communication.medium[0].coding[0].code[0]ELECTRONIC
Communication.medium[0].coding[0].display[0]electronic data
Communication.subject[0].reference[0]Patient/UKCore-Patient-BabyPatient-Example
Communication.subject[0].display[0]JONES, Melanie
Communication.sent[0]2022-12-11T13:00:00+00:00
Communication.received[0]2022-12-11T13:01:33+00:00
Communication.sender[0].reference[0]Practitioner/UKCore-Practitioner-PaulRastall-Example
Communication.sender[0].display[0]Dr Paul Rastall
Communication.payload[0].content[0]First MMR vaccination administered to Melanie

XML View

<Communication xmlns="http://hl7.org/fhir">
    <id value="UKCore-Communication-FirstMMRVaccination-Example" />
    <text>
        <status value="generated" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <status value="completed" />
    <category>
        <coding>
            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings" />
            <code value="immunisations" />
            <display value="Immunisations" />
        </coding>
    </category>
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/communication-category" />
            <code value="notification" />
            <display value="Notification" />
        </coding>
    </category>
    <medium>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationMode" />
            <code value="ELECTRONIC" />
            <display value="electronic data" />
        </coding>
    </medium>
    <subject>
        <reference value="Patient/UKCore-Patient-BabyPatient-Example" />
        <display value="JONES, Melanie" />
    </subject>
    <!--   <encounter>
    <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
  </encounter> -->
    <sent value="2022-12-11T13:00:00+00:00" />
    <received value="2022-12-11T13:01:33+00:00" />
    <sender>
        <reference value="Practitioner/UKCore-Practitioner-PaulRastall-Example" />
        <display value="Dr Paul Rastall" />
    </sender>
    <payload>
        <contentString value="First MMR vaccination administered to Melanie" />
    </payload>
</Communication>

JSON View

{
    "resourceType": "Communication",
    "id": "UKCore-Communication-FirstMMRVaccination-Example",
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "status": "completed",
    "category":  [
        {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-RecordStandardHeadings",
                    "code": "immunisations",
                    "display": "Immunisations"
                }
            ]
        },
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/communication-category",
                    "code": "notification",
                    "display": "Notification"
                }
            ]
        }
    ],
    "medium":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode",
                    "code": "ELECTRONIC",
                    "display": "electronic data"
                }
            ]
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-BabyPatient-Example",
        "display": "JONES, Melanie"
    },
    "sent": "2022-12-11T13:00:00+00:00",
    "received": "2022-12-11T13:01:33+00:00",
    "sender": {
        "reference": "Practitioner/UKCore-Practitioner-PaulRastall-Example",
        "display": "Dr Paul Rastall"
    },
    "payload":  [
        {
            "contentString": "First MMR vaccination administered to Melanie"
        }
    ]
}

Example to illustrate the use of a colostomy bag as a device in the provision of healthcare.

Table View

Device.id[0]UKCore-Device-ColostomyBag-Example
Device.identifier[0].system[0]https://www.leedsth.nhs.uk/identifier/devices
Device.identifier[0].value[0]DEV1999990567
Device.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.status[0]active
Device.type[0].coding[0].system[0]http://snomed.info/sct
Device.type[0].coding[0].code[0]7081011000001108
Device.type[0].coding[0].display[0]Ostopore KAV colostomy bag made to order 744045 45mm Opaque (DBT Medical Ltd) 30 device
Device.owner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example
Device.note[0].time[0]2021-01-10T16:10:00+00:00
Device.note[0].text[0]Pack of 50 currently stored in SJUH Cardiology.

XML View

<Device xmlns="http://hl7.org/fhir">
    <id value="UKCore-Device-ColostomyBag-Example" />
    <identifier>
        <system value="https://www.leedsth.nhs.uk/identifier/devices" />
        <value value="DEV1999990567" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <status value="active" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="7081011000001108" />
            <display value="Ostopore KAV colostomy bag made to order 744045 45mm Opaque (DBT Medical Ltd) 30 device" />
        </coding>
    </type>
    <owner>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </owner>
    <location>
        <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
    </location>
    <note>
        <time value="2021-01-10T16:10:00+00:00" />
        <text value="Pack of 50 currently stored in SJUH Cardiology." />
    </note>
</Device>

JSON View

{
    "resourceType": "Device",
    "id": "UKCore-Device-ColostomyBag-Example",
    "identifier":  [
        {
            "system": "https://www.leedsth.nhs.uk/identifier/devices",
            "value": "DEV1999990567",
            "assigner": {
                "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
            }
        }
    ],
    "status": "active",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "7081011000001108",
                "display": "Ostopore KAV colostomy bag made to order 744045 45mm Opaque (DBT Medical Ltd) 30 device"
            }
        ]
    },
    "owner": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    },
    "location": {
        "reference": "Location/UKCore-Location-CardiologySJUH-Example"
    },
    "note":  [
        {
            "time": "2021-01-10T16:10:00+00:00",
            "text": "Pack of 50 currently stored in SJUH Cardiology."
        }
    ]
}

Example to illustrate blood pressure monitoring device

Table View

Device.id[0]UKCore-Device-SoftwareAsAMedicalDevice-Example
Device.identifier[0].system[0]https://www.leedsth.nhs.uk/identifier/devices
Device.identifier[0].value[0]DEV1999990567
Device.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.status[0]active
Device.type[0].coding[0].system[0]http://snomed.info/sct
Device.type[0].coding[0].code[0]467892009
Device.type[0].coding[0].display[0]Cardiac mapping system application software
Device.owner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example

XML View

<Device xmlns="http://hl7.org/fhir">
    <id value="UKCore-Device-SoftwareAsAMedicalDevice-Example" />
    <identifier>
        <system value="https://www.leedsth.nhs.uk/identifier/devices" />
        <value value="DEV1999990567" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <status value="active" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="467892009" />
            <display value="Cardiac mapping system application software" />
        </coding>
    </type>
    <owner>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </owner>
    <location>
        <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
    </location>
</Device>

JSON View

{
    "resourceType": "Device",
    "id": "UKCore-Device-SoftwareAsAMedicalDevice-Example",
    "identifier":  [
        {
            "system": "https://www.leedsth.nhs.uk/identifier/devices",
            "value": "DEV1999990567",
            "assigner": {
                "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
            }
        }
    ],
    "status": "active",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "467892009",
                "display": "Cardiac mapping system application software"
            }
        ]
    },
    "owner": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    },
    "location": {
        "reference": "Location/UKCore-Location-CardiologySJUH-Example"
    }
}

Example to illustrate software as a medical device

Table View

Device.id[0]UKCore-Device-Sphygmomanometer-Example
Device.identifier[0].system[0]https://www.leedsth.nhs.uk/identifier/devices
Device.identifier[0].value[0]DEV1999998132
Device.identifier[0].assigner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.status[0]active
Device.type[0].coding[0].system[0]http://snomed.info/sct
Device.type[0].coding[0].code[0]466086009
Device.type[0].coding[0].display[0]Automatic-inflation electronic sphygmomanometer, portable, arm/wrist
Device.owner[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example
Device.location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example

XML View

<Device xmlns="http://hl7.org/fhir">
    <id value="UKCore-Device-Sphygmomanometer-Example" />
    <identifier>
        <system value="https://www.leedsth.nhs.uk/identifier/devices" />
        <value value="DEV1999998132" />
        <assigner>
            <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
        </assigner>
    </identifier>
    <status value="active" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="466086009" />
            <display value="Automatic-inflation electronic sphygmomanometer, portable, arm/wrist" />
        </coding>
    </type>
    <owner>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </owner>
    <location>
        <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
    </location>
</Device>

JSON View

{
    "resourceType": "Device",
    "id": "UKCore-Device-Sphygmomanometer-Example",
    "identifier":  [
        {
            "system": "https://www.leedsth.nhs.uk/identifier/devices",
            "value": "DEV1999998132",
            "assigner": {
                "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
            }
        }
    ],
    "status": "active",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "466086009",
                "display": "Automatic-inflation electronic sphygmomanometer, portable, arm/wrist"
            }
        ]
    },
    "owner": {
        "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
    },
    "location": {
        "reference": "Location/UKCore-Location-CardiologySJUH-Example"
    }
}

Example to illustrate a document reference for a care plan report PDF.

Table View

DocumentReference.id[0]UKCore-DocumentReference-CarePlanReportPDF-Example
DocumentReference.status[0]current
DocumentReference.type[0].coding[0].system[0]http://snomed.info/sct
DocumentReference.type[0].coding[0].code[0]734163000
DocumentReference.type[0].coding[0].display[0]Care plan
DocumentReference.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
DocumentReference.date[0]2016-03-08T15:26:00+01:00
DocumentReference.author[0].reference[0]Practitioner/UKCore-Practitioner-SandraGose-Example
DocumentReference.custodian[0].reference[0]Organization/UKCore-Organisation-LeedsTeachingHospital-Example
DocumentReference.content[0].attachment[0].contentType[0]application/pdf
DocumentReference.content[0].attachment[0].url[0]https://health.trust.uk/CarePlanReport_44301kfgd.pdf
DocumentReference.content[0].attachment[0].title[0]Care Plan Report
DocumentReference.content[0].attachment[0].creation[0]2016-03-08T15:26:00+01:00

XML View

<DocumentReference xmlns="http://hl7.org/fhir">
    <id value="UKCore-DocumentReference-CarePlanReportPDF-Example" />
    <status value="current" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="734163000" />
            <display value="Care plan" />
        </coding>
    </type>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <date value="2016-03-08T15:26:00+01:00" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-SandraGose-Example" />
    </author>
    <custodian>
        <reference value="Organization/UKCore-Organisation-LeedsTeachingHospital-Example" />
    </custodian>
    <content>
        <attachment>
            <contentType value="application/pdf" />
            <url value="https://health.trust.uk/CarePlanReport_44301kfgd.pdf" />
            <title value="Care Plan Report" />
            <creation value="2016-03-08T15:26:00+01:00" />
        </attachment>
    </content>
</DocumentReference>

JSON View

{
    "resourceType": "DocumentReference",
    "id": "UKCore-DocumentReference-CarePlanReportPDF-Example",
    "status": "current",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "734163000",
                "display": "Care plan"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "date": "2016-03-08T15:26:00+01:00",
    "author":  [
        {
            "reference": "Practitioner/UKCore-Practitioner-SandraGose-Example"
        }
    ],
    "custodian": {
        "reference": "Organization/UKCore-Organisation-LeedsTeachingHospital-Example"
    },
    "content":  [
        {
            "attachment": {
                "contentType": "application/pdf",
                "url": "https://health.trust.uk/CarePlanReport_44301kfgd.pdf",
                "title": "Care Plan Report",
                "creation": "2016-03-08T15:26:00+01:00"
            }
        }
    ]
}

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 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
                }
            ]
        }
    ]
}

Example to illustrate the administration of Ciprofloxacin via IV when prescribing multiple routes.

Table View

MedicationAdministration.id[0]UKCore-MedicationAdministration-CiprofloxacinIV-Example
MedicationAdministration.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
MedicationAdministration.identifier[0].value[0]504cdccf-203d-4023-af47-5351e283aee7
MedicationAdministration.status[0]completed
MedicationAdministration.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationAdministration.medication[0].coding[0].code[0]35831211000001109
MedicationAdministration.medication[0].coding[0].display[0]Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)
MedicationAdministration.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationAdministration.supportingInformation[0].reference[0]RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example
MedicationAdministration.supportingInformation[1].reference[0]MedicationDispense/UKCore-MedicationDispense-CiprofloxacinIV-Example
MedicationAdministration.effective[0]2023-06-30T13:00:00+00:00
MedicationAdministration.request[0].reference[0]MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example
MedicationAdministration.dosage[0].site[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].site[0].coding[0].code[0]49852007
MedicationAdministration.dosage[0].site[0].coding[0].display[0]Structure of median cubital vein
MedicationAdministration.dosage[0].site[0].text[0]left arm
MedicationAdministration.dosage[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].route[0].coding[0].code[0]47625008
MedicationAdministration.dosage[0].route[0].coding[0].display[0]Intravenous
MedicationAdministration.dosage[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationAdministration.dosage[0].method[0].coding[0].code[0]13283701000001109
MedicationAdministration.dosage[0].method[0].coding[0].display[0]Infusion
MedicationAdministration.dosage[0].dose[0].value[0]400
MedicationAdministration.dosage[0].dose[0].unit[0]milligram
MedicationAdministration.dosage[0].dose[0].system[0]http://unitsofmeasure.org
MedicationAdministration.dosage[0].dose[0].code[0]mg

XML View

<MedicationAdministration xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationAdministration-CiprofloxacinIV-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="504cdccf-203d-4023-af47-5351e283aee7" />
    </identifier>
    <status value="completed" />
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="35831211000001109" />
            <display value="Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <supportingInformation>
        <reference value="RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example" />
    </supportingInformation>
    <supportingInformation>
        <reference value="MedicationDispense/UKCore-MedicationDispense-CiprofloxacinIV-Example" />
    </supportingInformation>
    <effectiveDateTime value="2023-06-30T13:00:00+00:00" />
    <request>
        <reference value="MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example" />
    </request>
    <dosage>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="49852007" />
                <display value="Structure of median cubital vein" />
            </coding>
            <text value="left arm" />
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="47625008" />
                <display value="Intravenous" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="13283701000001109" />
                <display value="Infusion" />
            </coding>
        </method>
        <dose>
            <value value="400" />
            <unit value="milligram" />
            <system value="http://unitsofmeasure.org" />
            <code value="mg" />
        </dose>
    </dosage>
</MedicationAdministration>

JSON View

{
    "resourceType": "MedicationAdministration",
    "id": "UKCore-MedicationAdministration-CiprofloxacinIV-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "504cdccf-203d-4023-af47-5351e283aee7"
        }
    ],
    "status": "completed",
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "35831211000001109",
                "display": "Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "supportingInformation":  [
        {
            "reference": "RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example"
        },
        {
            "reference": "MedicationDispense/UKCore-MedicationDispense-CiprofloxacinIV-Example"
        }
    ],
    "effectiveDateTime": "2023-06-30T13:00:00+00:00",
    "request": {
        "reference": "MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example"
    },
    "dosage": {
        "site": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "49852007",
                    "display": "Structure of median cubital vein"
                }
            ],
            "text": "left arm"
        },
        "route": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "47625008",
                    "display": "Intravenous"
                }
            ]
        },
        "method": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "13283701000001109",
                    "display": "Infusion"
                }
            ]
        },
        "dose": {
            "value": 400,
            "unit": "milligram",
            "system": "http://unitsofmeasure.org",
            "code": "mg"
        }
    }
}

Example to illustrate the despensing of Amoxicillin when prescribing multiple routes.

Table View

MedicationDispense.id[0]UKCore-MedicationDispense-Amoxicillin-Example
MedicationDispense.status[0]completed
MedicationDispense.category[0].coding[0].system[0]http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category
MedicationDispense.category[0].coding[0].code[0]inpatient
MedicationDispense.category[0].coding[0].display[0]Inpatient
MedicationDispense.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationDispense.medication[0].coding[0].code[0]22608811000001102
MedicationDispense.medication[0].coding[0].display[0]Amoxicillin 500mg capsules (DE Pharmaceuticals)
MedicationDispense.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.supportingInformation[0].reference[0]RequestGroup/UKCore-RequestGroup-MultipleAnitibiotics-Example
MedicationDispense.performer[0].actor[0].reference[0]Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example
MedicationDispense.authorizingPrescription[0].reference[0]UKCore-MedicationRequest-Amoxicillin-Example
MedicationDispense.quantity[0].value[0]21
MedicationDispense.quantity[0].unit[0]capsule
MedicationDispense.quantity[0].system[0]http://snomed.info/sct
MedicationDispense.quantity[0].code[0]732937005
MedicationDispense.daysSupply[0].value[0]7
MedicationDispense.daysSupply[0].unit[0]Day
MedicationDispense.daysSupply[0].system[0]http://unitsofmeasure.org
MedicationDispense.daysSupply[0].code[0]d
MedicationDispense.whenPrepared[0]2023-06-15T18:00:00+00:00
MedicationDispense.receiver[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.dosageInstruction[0].text[0]Take 1 capsule, 3 times a day.
MedicationDispense.dosageInstruction[0].additionalInstruction[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].additionalInstruction[0].coding[0].code[0]890458001
MedicationDispense.dosageInstruction[0].additionalInstruction[0].coding[0].display[0]Penicillin-containing product
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].frequency[0]3
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationDispense.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationDispense.dosageInstruction[0].route[0].coding[0].display[0]Oral

XML View

<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationDispense-Amoxicillin-Example" />
    <status value="completed" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="22608811000001102" />
            <display value="Amoxicillin 500mg capsules (DE Pharmaceuticals)" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <supportingInformation>
        <reference value="RequestGroup/UKCore-RequestGroup-MultipleAnitibiotics-Example" />
    </supportingInformation>
    <performer>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example" />
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="UKCore-MedicationRequest-Amoxicillin-Example" />
    </authorizingPrescription>
    <quantity>
        <value value="21" />
        <unit value="capsule" />
        <system value="http://snomed.info/sct" />
        <code value="732937005" />
    </quantity>
    <daysSupply>
        <value value="7" />
        <unit value="Day" />
        <system value="http://unitsofmeasure.org" />
        <code value="d" />
    </daysSupply>
    <whenPrepared value="2023-06-15T18:00:00+00:00" />
    <receiver>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </receiver>
    <dosageInstruction>
        <text value="Take 1 capsule, 3 times a day." />
        <additionalInstruction>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="890458001" />
                <display value="Penicillin-containing product" />
            </coding>
        </additionalInstruction>
        <timing>
            <repeat>
                <frequency value="3" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
    </dosageInstruction>
</MedicationDispense>

JSON View

{
    "resourceType": "MedicationDispense",
    "id": "UKCore-MedicationDispense-Amoxicillin-Example",
    "status": "completed",
    "category": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category",
                "code": "inpatient",
                "display": "Inpatient"
            }
        ]
    },
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "22608811000001102",
                "display": "Amoxicillin 500mg capsules (DE Pharmaceuticals)"
            }
        ]
    },
    "supportingInformation":  [
        {
            "reference": "RequestGroup/UKCore-RequestGroup-MultipleAnitibiotics-Example"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example"
            }
        }
    ],
    "authorizingPrescription":  [
        {
            "reference": "UKCore-MedicationRequest-Amoxicillin-Example"
        }
    ],
    "quantity": {
        "value": 21,
        "unit": "capsule",
        "system": "http://snomed.info/sct",
        "code": "732937005"
    },
    "daysSupply": {
        "value": 7,
        "unit": "Day",
        "system": "http://unitsofmeasure.org",
        "code": "d"
    },
    "whenPrepared": "2023-06-15T18:00:00+00:00",
    "receiver":  [
        {
            "reference": "Patient/UKCore-Patient-RichardSmith-Example"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "Take 1 capsule, 3 times a day.",
            "additionalInstruction":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "890458001",
                            "display": "Penicillin-containing product"
                        }
                    ]
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 3,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            }
        }
    ]
}

Example to illustrate the despensing of Ciprofloxacin via IV when prescribing multiple routes.

Table View

MedicationDispense.id[0]UKCore-MedicationDispense-CiprofloxacinIV-Example
MedicationDispense.status[0]completed
MedicationDispense.category[0].coding[0].system[0]http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category
MedicationDispense.category[0].coding[0].code[0]inpatient
MedicationDispense.category[0].coding[0].display[0]Inpatient
MedicationDispense.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationDispense.medication[0].coding[0].code[0]35831211000001109
MedicationDispense.medication[0].coding[0].display[0]Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)
MedicationDispense.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.supportingInformation[0].reference[0]RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example
MedicationDispense.performer[0].actor[0].reference[0]Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example
MedicationDispense.authorizingPrescription[0].reference[0]UKCore-MedicationRequest-CiprofloxacinIV-Example
MedicationDispense.quantity[0].value[0]10
MedicationDispense.quantity[0].unit[0]Bag
MedicationDispense.quantity[0].system[0]http://snomed.info/sct
MedicationDispense.quantity[0].code[0]732982009
MedicationDispense.daysSupply[0].value[0]5
MedicationDispense.daysSupply[0].unit[0]Day
MedicationDispense.daysSupply[0].system[0]http://unitsofmeasure.org
MedicationDispense.daysSupply[0].code[0]d
MedicationDispense.whenPrepared[0]2023-06-15T18:00:00+00:00
MedicationDispense.receiver[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.dosageInstruction[0].text[0]1 bag, twice daily
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].frequency[0]2
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationDispense.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].route[0].coding[0].code[0]47625008
MedicationDispense.dosageInstruction[0].route[0].coding[0].display[0]Intravenous
MedicationDispense.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].method[0].coding[0].code[0]13283701000001109
MedicationDispense.dosageInstruction[0].method[0].coding[0].display[0]Infusion

XML View

<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationDispense-CiprofloxacinIV-Example" />
    <status value="completed" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="35831211000001109" />
            <display value="Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <supportingInformation>
        <reference value="RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example" />
    </supportingInformation>
    <performer>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example" />
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="UKCore-MedicationRequest-CiprofloxacinIV-Example" />
    </authorizingPrescription>
    <quantity>
        <value value="10" />
        <unit value="Bag" />
        <system value="http://snomed.info/sct" />
        <code value="732982009" />
    </quantity>
    <daysSupply>
        <value value="5" />
        <unit value="Day" />
        <system value="http://unitsofmeasure.org" />
        <code value="d" />
    </daysSupply>
    <whenPrepared value="2023-06-15T18:00:00+00:00" />
    <receiver>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </receiver>
    <dosageInstruction>
        <text value="1 bag, twice daily" />
        <timing>
            <repeat>
                <frequency value="2" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="47625008" />
                <display value="Intravenous" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="13283701000001109" />
                <display value="Infusion" />
            </coding>
        </method>
    </dosageInstruction>
</MedicationDispense>

JSON View

{
    "resourceType": "MedicationDispense",
    "id": "UKCore-MedicationDispense-CiprofloxacinIV-Example",
    "status": "completed",
    "category": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category",
                "code": "inpatient",
                "display": "Inpatient"
            }
        ]
    },
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "35831211000001109",
                "display": "Ciprofloxacin 400mg/200ml infusion bags (Consilient Health Ltd)"
            }
        ]
    },
    "supportingInformation":  [
        {
            "reference": "RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example"
            }
        }
    ],
    "authorizingPrescription":  [
        {
            "reference": "UKCore-MedicationRequest-CiprofloxacinIV-Example"
        }
    ],
    "quantity": {
        "value": 10,
        "unit": "Bag",
        "system": "http://snomed.info/sct",
        "code": "732982009"
    },
    "daysSupply": {
        "value": 5,
        "unit": "Day",
        "system": "http://unitsofmeasure.org",
        "code": "d"
    },
    "whenPrepared": "2023-06-15T18:00:00+00:00",
    "receiver":  [
        {
            "reference": "Patient/UKCore-Patient-RichardSmith-Example"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "1 bag, twice daily",
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "47625008",
                        "display": "Intravenous"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "13283701000001109",
                        "display": "Infusion"
                    }
                ]
            }
        }
    ]
}

Example to illustrate the despensing of Ciprofloxacin orally when prescribing multiple routes.

Table View

MedicationDispense.id[0]UKCore-MedicationDispense-CiprofloxacinOral-Example
MedicationDispense.status[0]completed
MedicationDispense.category[0].coding[0].system[0]http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category
MedicationDispense.category[0].coding[0].code[0]inpatient
MedicationDispense.category[0].coding[0].display[0]Inpatient
MedicationDispense.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationDispense.medication[0].coding[0].code[0]18460411000001105
MedicationDispense.medication[0].coding[0].display[0]Ciprofloxacin 500mg tablets (Accord-UK Ltd)
MedicationDispense.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.supportingInformation[0].reference[0]RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example
MedicationDispense.performer[0].actor[0].reference[0]Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example
MedicationDispense.authorizingPrescription[0].reference[0]UKCore-MedicationRequest-CiprofloxacinOral-Example
MedicationDispense.quantity[0].value[0]20
MedicationDispense.quantity[0].unit[0]capsule
MedicationDispense.quantity[0].system[0]http://snomed.info/sct
MedicationDispense.quantity[0].code[0]732937005
MedicationDispense.daysSupply[0].value[0]5
MedicationDispense.daysSupply[0].unit[0]Day
MedicationDispense.daysSupply[0].system[0]http://unitsofmeasure.org
MedicationDispense.daysSupply[0].code[0]d
MedicationDispense.whenPrepared[0]2023-06-15T18:00:00+00:00
MedicationDispense.receiver[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.dosageInstruction[0].text[0]Take 1 capsule, twice daily.
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].frequency[0]2
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationDispense.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationDispense.dosageInstruction[0].route[0].coding[0].display[0]Oral

XML View

<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationDispense-CiprofloxacinOral-Example" />
    <status value="completed" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="18460411000001105" />
            <display value="Ciprofloxacin 500mg tablets (Accord-UK Ltd)" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <supportingInformation>
        <reference value="RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example" />
    </supportingInformation>
    <performer>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example" />
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="UKCore-MedicationRequest-CiprofloxacinOral-Example" />
    </authorizingPrescription>
    <quantity>
        <value value="20" />
        <unit value="capsule" />
        <system value="http://snomed.info/sct" />
        <code value="732937005" />
    </quantity>
    <daysSupply>
        <value value="5" />
        <unit value="Day" />
        <system value="http://unitsofmeasure.org" />
        <code value="d" />
    </daysSupply>
    <whenPrepared value="2023-06-15T18:00:00+00:00" />
    <receiver>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </receiver>
    <dosageInstruction>
        <text value="Take 1 capsule, twice daily." />
        <timing>
            <repeat>
                <frequency value="2" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
    </dosageInstruction>
</MedicationDispense>

JSON View

{
    "resourceType": "MedicationDispense",
    "id": "UKCore-MedicationDispense-CiprofloxacinOral-Example",
    "status": "completed",
    "category": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category",
                "code": "inpatient",
                "display": "Inpatient"
            }
        ]
    },
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "18460411000001105",
                "display": "Ciprofloxacin 500mg tablets (Accord-UK Ltd)"
            }
        ]
    },
    "supportingInformation":  [
        {
            "reference": "RequestGroup/UKCore-RequestGroup-Ciprofloxacin-Example"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example"
            }
        }
    ],
    "authorizingPrescription":  [
        {
            "reference": "UKCore-MedicationRequest-CiprofloxacinOral-Example"
        }
    ],
    "quantity": {
        "value": 20,
        "unit": "capsule",
        "system": "http://snomed.info/sct",
        "code": "732937005"
    },
    "daysSupply": {
        "value": 5,
        "unit": "Day",
        "system": "http://unitsofmeasure.org",
        "code": "d"
    },
    "whenPrepared": "2023-06-15T18:00:00+00:00",
    "receiver":  [
        {
            "reference": "Patient/UKCore-Patient-RichardSmith-Example"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "Take 1 capsule, twice daily.",
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            }
        }
    ]
}

Example to illustrate the despensing of Paracetamol orally when prescribing multiple routes.

Table View

MedicationDispense.id[0]UKCore-MedicationDispense-ParacetamolOral-Example
MedicationDispense.status[0]completed
MedicationDispense.category[0].coding[0].system[0]http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category
MedicationDispense.category[0].coding[0].code[0]inpatient
MedicationDispense.category[0].coding[0].display[0]Inpatient
MedicationDispense.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationDispense.medication[0].coding[0].code[0]558911000001105
MedicationDispense.medication[0].coding[0].display[0]Paracetamol 500mg capsules (A A H Pharmaceuticals Ltd)
MedicationDispense.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.supportingInformation[0].reference[0]RequestGroup/UKCore-RequestGroup-Paracetamol-Example
MedicationDispense.performer[0].actor[0].reference[0]Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example
MedicationDispense.authorizingPrescription[0].reference[0]MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example
MedicationDispense.quantity[0].value[0]16
MedicationDispense.quantity[0].unit[0]capsule
MedicationDispense.quantity[0].system[0]http://snomed.info/sct
MedicationDispense.quantity[0].code[0]732937005
MedicationDispense.daysSupply[0].value[0]4
MedicationDispense.daysSupply[0].unit[0]Day
MedicationDispense.daysSupply[0].system[0]http://unitsofmeasure.org
MedicationDispense.daysSupply[0].code[0]d
MedicationDispense.whenPrepared[0]2023-06-15T18:00:00+00:00
MedicationDispense.receiver[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationDispense.dosageInstruction[0].text[0]Take 1 capsule, 4 times a day.
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].frequency[0]4
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationDispense.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationDispense.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationDispense.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationDispense.dosageInstruction[0].route[0].coding[0].display[0]Oral

XML View

<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationDispense-ParacetamolOral-Example" />
    <status value="completed" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="558911000001105" />
            <display value="Paracetamol 500mg capsules (A A H Pharmaceuticals Ltd)" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <supportingInformation>
        <reference value="RequestGroup/UKCore-RequestGroup-Paracetamol-Example" />
    </supportingInformation>
    <performer>
        <actor>
            <reference value="Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example" />
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example" />
    </authorizingPrescription>
    <quantity>
        <value value="16" />
        <unit value="capsule" />
        <system value="http://snomed.info/sct" />
        <code value="732937005" />
    </quantity>
    <daysSupply>
        <value value="4" />
        <unit value="Day" />
        <system value="http://unitsofmeasure.org" />
        <code value="d" />
    </daysSupply>
    <whenPrepared value="2023-06-15T18:00:00+00:00" />
    <receiver>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </receiver>
    <dosageInstruction>
        <text value="Take 1 capsule, 4 times a day." />
        <timing>
            <repeat>
                <frequency value="4" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
    </dosageInstruction>
</MedicationDispense>

JSON View

{
    "resourceType": "MedicationDispense",
    "id": "UKCore-MedicationDispense-ParacetamolOral-Example",
    "status": "completed",
    "category": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category",
                "code": "inpatient",
                "display": "Inpatient"
            }
        ]
    },
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "558911000001105",
                "display": "Paracetamol 500mg capsules (A A H Pharmaceuticals Ltd)"
            }
        ]
    },
    "supportingInformation":  [
        {
            "reference": "RequestGroup/UKCore-RequestGroup-Paracetamol-Example"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "actor": {
                "reference": "Practitioner/UKCore-Practitioner-PharmacistJimmyChuck-Example"
            }
        }
    ],
    "authorizingPrescription":  [
        {
            "reference": "MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example"
        }
    ],
    "quantity": {
        "value": 16,
        "unit": "capsule",
        "system": "http://snomed.info/sct",
        "code": "732937005"
    },
    "daysSupply": {
        "value": 4,
        "unit": "Day",
        "system": "http://unitsofmeasure.org",
        "code": "d"
    },
    "whenPrepared": "2023-06-15T18:00:00+00:00",
    "receiver":  [
        {
            "reference": "Patient/UKCore-Patient-RichardSmith-Example"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "Take 1 capsule, 4 times a day.",
            "timing": {
                "repeat": {
                    "frequency": 4,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            }
        }
    ]
}

Example to illustrate the option for Amoxicillin when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-Amoxicillin-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]39732411000001106
MedicationRequest.medication[0].coding[0].display[0]Amoxicillin 500mg capsules
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]500mg - three times a day.
MedicationRequest.dosageInstruction[0].additionalInstruction[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].additionalInstruction[0].coding[0].code[0]890458001
MedicationRequest.dosageInstruction[0].additionalInstruction[0].coding[0].display[0]Penicillin-containing product
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]3
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]738956005
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]500
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-Amoxicillin-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39732411000001106" />
            <display value="Amoxicillin 500mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="500mg - three times a day." />
        <additionalInstruction>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="890458001" />
                <display value="Penicillin-containing product" />
            </coding>
        </additionalInstruction>
        <timing>
            <repeat>
                <frequency value="3" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-Amoxicillin-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39732411000001106",
                "display": "Amoxicillin 500mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "500mg - three times a day.",
            "additionalInstruction":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "890458001",
                            "display": "Penicillin-containing product"
                        }
                    ]
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 3,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Ciprofloxacin via IV when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-CiprofloxacinIV-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]36141511000001100
MedicationRequest.medication[0].coding[0].display[0]Ciprofloxacin 400mg/200ml infusion bags
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]Ciprofloxacin 400mg, twice daily.
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].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]47625008
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Intravenous
MedicationRequest.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].method[0].coding[0].code[0]13283701000001109
MedicationRequest.dosageInstruction[0].method[0].coding[0].display[0]Infusion
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]400
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-CiprofloxacinIV-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="36141511000001100" />
            <display value="Ciprofloxacin 400mg/200ml infusion bags" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="Ciprofloxacin 400mg, twice daily." />
        <timing>
            <repeat>
                <frequency value="2" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="47625008" />
                <display value="Intravenous" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="13283701000001109" />
                <display value="Infusion" />
            </coding>
        </method>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="400" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-CiprofloxacinIV-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "36141511000001100",
                "display": "Ciprofloxacin 400mg/200ml infusion bags"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "Ciprofloxacin 400mg, twice daily.",
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "47625008",
                        "display": "Intravenous"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "13283701000001109",
                        "display": "Infusion"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 400,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Ciprofloxacin orally when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-CiprofloxacinOral-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]39687811000001107
MedicationRequest.medication[0].coding[0].display[0]Ciprofloxacin 500mg tablets
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]Ciprofloxacin 500mg, twice daily.
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]738956005
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]500
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-CiprofloxacinOral-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="39687811000001107" />
            <display value="Ciprofloxacin 500mg tablets" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="Ciprofloxacin 500mg, twice daily." />
        <timing>
            <repeat>
                <frequency value="2" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-CiprofloxacinOral-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "39687811000001107",
                "display": "Ciprofloxacin 500mg tablets"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "Ciprofloxacin 500mg, twice daily.",
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Clarithromycin when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-Clarithromycin-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]41946511000001109
MedicationRequest.medication[0].coding[0].display[0]Clarithromycin 500mg tablets
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]500mg - three times a day.
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]3
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]738956005
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]500
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-Clarithromycin-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="41946511000001109" />
            <display value="Clarithromycin 500mg tablets" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="500mg - three times a day." />
        <timing>
            <repeat>
                <frequency value="3" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-Clarithromycin-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "41946511000001109",
                "display": "Clarithromycin 500mg tablets"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "500mg - three times a day.",
            "timing": {
                "repeat": {
                    "frequency": 3,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Doxycycline when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-Doxycycline-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]41948311000001104
MedicationRequest.medication[0].coding[0].display[0]Doxycycline 100mg capsules
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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].sequence[0]1
MedicationRequest.dosageInstruction[0].text[0]200mg - once a day - for 1 day
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].bounds[0].value[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].bounds[0].unit[0]day
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].bounds[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].bounds[0].code[0]d
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]1
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]738956005
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]200
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.dosageInstruction[1].sequence[0]2
MedicationRequest.dosageInstruction[1].text[0]100mg - once a day.
MedicationRequest.dosageInstruction[1].timing[0].repeat[0].frequency[0]1
MedicationRequest.dosageInstruction[1].timing[0].repeat[0].period[0]1
MedicationRequest.dosageInstruction[1].timing[0].repeat[0].periodUnit[0]d
MedicationRequest.dosageInstruction[1].site[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[1].site[0].coding[0].code[0]738956005
MedicationRequest.dosageInstruction[1].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[1].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[1].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[1].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[1].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[1].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[1].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[1].doseAndRate[0].dose[0].value[0]100
MedicationRequest.dosageInstruction[1].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[1].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[1].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-Doxycycline-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="41948311000001104" />
            <display value="Doxycycline 100mg capsules" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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>
        <sequence value="1" />
        <text value="200mg - once a day - for 1 day" />
        <timing>
            <repeat>
                <boundsDuration>
                    <value value="1" />
                    <unit value="day" />
                    <system value="http://unitsofmeasure.org" />
                    <code value="d" />
                </boundsDuration>
                <frequency value="1" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="200" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <dosageInstruction>
        <sequence value="2" />
        <text value="100mg - once a day." />
        <timing>
            <repeat>
                <frequency value="1" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="100" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-Doxycycline-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "41948311000001104",
                "display": "Doxycycline 100mg capsules"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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":  [
        {
            "sequence": 1,
            "text": "200mg - once a day - for 1 day",
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 1,
                        "unit": "day",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 200,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        },
        {
            "sequence": 2,
            "text": "100mg - once a day.",
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 100,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Paracetamol via IV when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-ParacetamolIV-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]777067000
MedicationRequest.medication[0].coding[0].display[0]Paracetamol
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]Paracetamol 500mg, four times a day.
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]4
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].period[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]47625008
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Intravenous
MedicationRequest.dosageInstruction[0].method[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].method[0].coding[0].code[0]13283701000001109
MedicationRequest.dosageInstruction[0].method[0].coding[0].display[0]Infusion
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]500
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-ParacetamolIV-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="777067000" />
            <display value="Paracetamol" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="Paracetamol 500mg, four times a day." />
        <timing>
            <repeat>
                <frequency value="4" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="47625008" />
                <display value="Intravenous" />
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="13283701000001109" />
                <display value="Infusion" />
            </coding>
        </method>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-ParacetamolIV-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "777067000",
                "display": "Paracetamol"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "Paracetamol 500mg, four times a day.",
            "timing": {
                "repeat": {
                    "frequency": 4,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "47625008",
                        "display": "Intravenous"
                    }
                ]
            },
            "method": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "13283701000001109",
                        "display": "Infusion"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

Example to illustrate the option for Paracetamol orally when prescribing multiple routes.

Table View

MedicationRequest.id[0]UKCore-MedicationRequest-ParacetamolOral-Example
MedicationRequest.status[0]completed
MedicationRequest.intent[0]option
MedicationRequest.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/medicationrequest-category
MedicationRequest.category[0].coding[0].code[0]inpatient
MedicationRequest.category[0].coding[0].display[0]Inpatient
MedicationRequest.medication[0].coding[0].system[0]https://dmd.nhs.uk
MedicationRequest.medication[0].coding[0].code[0]777067000
MedicationRequest.medication[0].coding[0].display[0]Paracetamol
MedicationRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
MedicationRequest.authoredOn[0]2023-06-15T15: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]Paracetamol 500mg, four times a day.
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]4
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]738956005
MedicationRequest.dosageInstruction[0].site[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Oral
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/dose-rate-type
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].code[0]ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].type[0].coding[0].display[0]Ordered
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].value[0]500
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].doseAndRate[0].dose[0].code[0]mg
MedicationRequest.substitution[0].allowed[0]False

XML View

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationRequest-ParacetamolOral-Example" />
    <status value="completed" />
    <intent value="option" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="https://dmd.nhs.uk" />
            <code value="777067000" />
            <display value="Paracetamol" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15: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="Paracetamol 500mg, four times a day." />
        <timing>
            <repeat>
                <frequency value="4" />
                <period value="1" />
                <periodUnit value="d" />
            </repeat>
        </timing>
        <site>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="738956005" />
                <display value="Oral" />
            </coding>
        </site>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="26643006" />
                <display value="Oral" />
            </coding>
        </route>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type" />
                    <code value="ordered" />
                    <display value="Ordered" />
                </coding>
            </type>
            <doseQuantity>
                <value value="500" />
                <unit value="milligram" />
                <system value="http://unitsofmeasure.org" />
                <code value="mg" />
            </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>

JSON View

{
    "resourceType": "MedicationRequest",
    "id": "UKCore-MedicationRequest-ParacetamolOral-Example",
    "status": "completed",
    "intent": "option",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ]
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "https://dmd.nhs.uk",
                "code": "777067000",
                "display": "Paracetamol"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15: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": "Paracetamol 500mg, four times a day.",
            "timing": {
                "repeat": {
                    "frequency": 4,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "site": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "738956005",
                        "display": "Oral"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "26643006",
                        "display": "Oral"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                                "code": "ordered",
                                "display": "Ordered"
                            }
                        ]
                    },
                    "doseQuantity": {
                        "value": 500,
                        "unit": "milligram",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "substitution": {
        "allowedBoolean": false
    }
}

An example to illustrate a message header for a discharge summary

Table View

MessageHeader.id[0]UKCore-MessageHeader-Discharge-Example
MessageHeader.event[0].system[0]http://snomed.info/sct
MessageHeader.event[0].code[0]306689006
MessageHeader.event[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 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"
            ]
        }
    ]
}

Table View

Provenance.id[0]UKCore-Provenance-RARecordConsent-Example
Provenance.target[0].reference[0]Consent/UKCore-Consent-ForInformationAccess-Example
Provenance.recorded[0]2022-03-01T10:05:33+00:00
Provenance.agent[0].role[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName
Provenance.agent[0].role[0].coding[0].code[0]R0260
Provenance.agent[0].role[0].coding[0].display[0]General Medical Practitioner
Provenance.agent[0].who[0].reference[0]Practitioner/UKCore-Practitioner-PaulRastall-Example
Provenance.agent[0].who[0].display[0]Dr Paul Rastall
Provenance.agent[0].onBehalfOf[0].reference[0]Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
Provenance.agent[0].onBehalfOf[0].display[0]White Rose Medical Centre

XML View

<Provenance xmlns="http://hl7.org/fhir">
    <id value="UKCore-Provenance-RARecordConsent-Example" />
    <target>
        <reference value="Consent/UKCore-Consent-ForInformationAccess-Example" />
    </target>
    <recorded value="2022-03-01T10:05:33+00:00" />
    <agent>
        <!-- The actor who has some responsibility for the activity taking place -->
        <role>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName" />
                <code value="R0260" />
                <display value="General Medical Practitioner" />
            </coding>
        </role>
        <who>
            <reference value="Practitioner/UKCore-Practitioner-PaulRastall-Example" />
            <display value="Dr Paul Rastall" />
        </who>
        <onBehalfOf>
            <reference value="Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            <display value="White Rose Medical Centre" />
        </onBehalfOf>
    </agent>
</Provenance>

JSON View

{
    "resourceType": "Provenance",
    "id": "UKCore-Provenance-RARecordConsent-Example",
    "target":  [
        {
            "reference": "Consent/UKCore-Consent-ForInformationAccess-Example"
        }
    ],
    "recorded": "2022-03-01T10:05:33+00:00",
    "agent":  [
        {
            "role":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName",
                            "code": "R0260",
                            "display": "General Medical Practitioner"
                        }
                    ]
                }
            ],
            "who": {
                "reference": "Practitioner/UKCore-Practitioner-PaulRastall-Example",
                "display": "Dr Paul Rastall"
            },
            "onBehalfOf": {
                "reference": "Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
                "display": "White Rose Medical Centre"
            }
        }
    ]
}

An example to illustrate a questionnaire regarding an end of life plan

Table View

Questionnaire.id[0]UKCore-Questionnaire-EOLPlan-Example
Questionnaire.url[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-Example
Questionnaire.title[0]End of Life Care Plan (Mock up)
Questionnaire.status[0]draft
Questionnaire.experimental[0]True
Questionnaire.subjectType[0]Patient
Questionnaire.date[0]2023-11-13T13:32:13+00:00
Questionnaire.description[0]This is an End of Life plan, purely for demonstration purposes
Questionnaire.code[0].system[0]http://snomed.info/sct
Questionnaire.code[0].code[0]861411000000103
Questionnaire.code[0].display[0]End of Life Care Document
Questionnaire.item[0].linkId[0]Q1
Questionnaire.item[0].text[0]Advanced Treatment Preferences
Questionnaire.item[0].type[0]group
Questionnaire.item[0].enableBehavior[0]any
Questionnaire.item[0].item[0].linkId[0]Q1.1
Questionnaire.item[0].item[0].text[0]Clinical Problems and Advised Interventions
Questionnaire.item[0].item[0].type[0]group
Questionnaire.item[0].item[0].enableBehavior[0]any
Questionnaire.item[0].item[0].repeats[0]True
Questionnaire.item[0].item[0].item[0].extension[0].url[0]http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Questionnaire.item[0].item[0].item[0].extension[0].value[0].coding[0].system[0]http://hl7.org/fhir/questionnaire-item-control
Questionnaire.item[0].item[0].item[0].extension[0].value[0].coding[0].code[0]autocomplete
Questionnaire.item[0].item[0].item[0].extension[0].value[0].coding[0].display[0]Auto-complete
Questionnaire.item[0].item[0].item[0].linkId[0]Q1.1g
Questionnaire.item[0].item[0].item[0].text[0]ATP Problems
Questionnaire.item[0].item[0].item[0].type[0]choice
Questionnaire.item[0].item[0].item[0].enableBehavior[0]any
Questionnaire.item[0].item[0].item[0].required[0]True
Questionnaire.item[0].item[0].item[0].answerValueSet[0]https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode
Questionnaire.item[0].item[1].linkId[0]Q1.2
Questionnaire.item[0].item[1].text[0]Anticipatory medicines/just in case box issued
Questionnaire.item[0].item[1].type[0]string
Questionnaire.item[0].item[1].enableBehavior[0]any
Questionnaire.item[0].item[1].required[0]True
Questionnaire.item[0].item[2].linkId[0]Q1.3
Questionnaire.item[0].item[2].text[0]Advance Decision to Refuse Treatment
Questionnaire.item[0].item[2].type[0]string
Questionnaire.item[0].item[2].enableBehavior[0]any
Questionnaire.item[0].item[2].required[0]True
Questionnaire.item[1].linkId[0]Q2
Questionnaire.item[1].text[0]Consent
Questionnaire.item[1].type[0]group
Questionnaire.item[1].enableBehavior[0]any
Questionnaire.item[1].item[0].linkId[0]Q2g
Questionnaire.item[1].item[0].code[0].system[0]http://snomed.info/sct
Questionnaire.item[1].item[0].code[0].code[0]887031000000108
Questionnaire.item[1].item[0].code[0].display[0]Consent for information sharing
Questionnaire.item[1].item[0].text[0]Consent for Information Sharing
Questionnaire.item[1].item[0].type[0]date
Questionnaire.item[2].linkId[0]Q3
Questionnaire.item[2].text[0]EOL Register
Questionnaire.item[2].type[0]group
Questionnaire.item[2].enableBehavior[0]any
Questionnaire.item[2].repeats[0]False
Questionnaire.item[2].item[0].linkId[0]Q3g
Questionnaire.item[2].item[0].code[0].system[0]http://snomed.info/sct
Questionnaire.item[2].item[0].code[0].code[0]526631000000108
Questionnaire.item[2].item[0].code[0].display[0]On end of life care register
Questionnaire.item[2].item[0].text[0]On End Of Life Register
Questionnaire.item[2].item[0].type[0]dateTime

XML View

<Questionnaire xmlns="http://hl7.org/fhir">
    <id value="UKCore-Questionnaire-EOLPlan-Example" />
    <url value="https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-Example" />
    <title value="End of Life Care Plan (Mock up)" />
    <status value="draft" />
    <experimental value="true" />
    <subjectType value="Patient" />
    <date value="2023-11-13T13:32:13+00:00" />
    <description value="This is an End of Life plan, purely for demonstration purposes" />
    <code>
        <system value="http://snomed.info/sct" />
        <code value="861411000000103" />
        <display value="End of Life Care Document" />
    </code>
    <item>
        <linkId value="Q1" />
        <text value="Advanced Treatment Preferences" />
        <type value="group" />
        <enableBehavior value="any" />
        <item>
            <linkId value="Q1.1" />
            <text value="Clinical Problems and Advised Interventions" />
            <type value="group" />
            <enableBehavior value="any" />
            <repeats value="true" />
            <item>
                <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                    <valueCodeableConcept>
                        <coding>
                            <system value="http://hl7.org/fhir/questionnaire-item-control" />
                            <code value="autocomplete" />
                            <display value="Auto-complete" />
                        </coding>
                    </valueCodeableConcept>
                </extension>
                <linkId value="Q1.1g" />
                <text value="ATP Problems" />
                <type value="choice" />
                <enableBehavior value="any" />
                <required value="true" />
                <answerValueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode" />
            </item>
        </item>
        <item>
            <linkId value="Q1.2" />
            <text value="Anticipatory medicines/just in case box issued" />
            <type value="string" />
            <enableBehavior value="any" />
            <required value="true" />
        </item>
        <item>
            <linkId value="Q1.3" />
            <text value="Advance Decision to Refuse Treatment" />
            <type value="string" />
            <enableBehavior value="any" />
            <required value="true" />
        </item>
    </item>
    <item>
        <linkId value="Q2" />
        <text value="Consent" />
        <type value="group" />
        <enableBehavior value="any" />
        <item>
            <linkId value="Q2g" />
            <code>
                <system value="http://snomed.info/sct" />
                <code value="887031000000108" />
                <display value="Consent for information sharing" />
            </code>
            <text value="Consent for Information Sharing" />
            <type value="date" />
        </item>
    </item>
    <item>
        <linkId value="Q3" />
        <text value="EOL Register" />
        <type value="group" />
        <enableBehavior value="any" />
        <repeats value="false" />
        <item>
            <linkId value="Q3g" />
            <code>
                <system value="http://snomed.info/sct" />
                <code value="526631000000108" />
                <display value="On end of life care register" />
            </code>
            <text value="On End Of Life Register" />
            <type value="dateTime" />
        </item>
    </item>
</Questionnaire>

JSON View

{
    "resourceType": "Questionnaire",
    "id": "UKCore-Questionnaire-EOLPlan-Example",
    "url": "https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-Example",
    "title": "End of Life Care Plan (Mock up)",
    "status": "draft",
    "experimental": true,
    "subjectType":  [
        "Patient"
    ],
    "description": "This is an End of Life plan, purely for demonstration purposes",
    "date": "2023-11-13T13:32:13+00:00",
    "code":  [
        {
            "system": "http://snomed.info/sct",
            "code": "861411000000103",
            "display": "End of Life Care Document"
        }
    ],
    "item":  [
        {
            "linkId": "Q1",
            "text": "Advanced Treatment Preferences",
            "type": "group",
            "enableBehavior": "any",
            "item":  [
                {
                    "linkId": "Q1.1",
                    "text": "Clinical Problems and Advised Interventions",
                    "type": "group",
                    "enableBehavior": "any",
                    "repeats": true,
                    "item":  [
                        {
                            "linkId": "Q1.1g",
                            "extension":  [
                                {
                                    "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                                    "valueCodeableConcept": {
                                        "coding":  [
                                            {
                                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                                "code": "autocomplete",
                                                "display": "Auto-complete"
                                            }
                                        ]
                                    }
                                }
                            ],
                            "text": "ATP Problems",
                            "type": "choice",
                            "enableBehavior": "any",
                            "required": true,
                            "answerValueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode"
                        }
                    ]
                },
                {
                    "linkId": "Q1.2",
                    "text": "Anticipatory medicines/just in case box issued",
                    "type": "string",
                    "enableBehavior": "any",
                    "required": true
                },
                {
                    "linkId": "Q1.3",
                    "text": "Advance Decision to Refuse Treatment",
                    "type": "string",
                    "enableBehavior": "any",
                    "required": true
                }
            ]
        },
        {
            "linkId": "Q2",
            "text": "Consent",
            "type": "group",
            "enableBehavior": "any",
            "item":  [
                {
                    "linkId": "Q2g",
                    "code":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "887031000000108",
                            "display": "Consent for information sharing"
                        }
                    ],
                    "text": "Consent for Information Sharing",
                    "type": "date"
                }
            ]
        },
        {
            "linkId": "Q3",
            "text": "EOL Register",
            "type": "group",
            "enableBehavior": "any",
            "repeats": false,
            "item":  [
                {
                    "linkId": "Q3g",
                    "code":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "526631000000108",
                            "display": "On end of life care register"
                        }
                    ],
                    "text": "On End Of Life Register",
                    "type": "dateTime"
                }
            ]
        }
    ]
}

An example to illustrate a questionnaire regarding a fitness for work survey

Table View

Questionnaire.id[0]UKCore-Questionnaire-FitnessForWork-Example
Questionnaire.url[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-Example
Questionnaire.title[0]Statement of Fitness for Work (Mock up)
Questionnaire.status[0]draft
Questionnaire.experimental[0]True
Questionnaire.subjectType[0]Patient
Questionnaire.description[0]This is based on Med 3 from DWP purely for demonstration purposes
Questionnaire.code[0].system[0]http://snomed.info/sct
Questionnaire.code[0].code[0]18381000000107
Questionnaire.code[0].display[0]Sickness certificates
Questionnaire.item[0].linkId[0]Q1
Questionnaire.item[0].text[0]Assessment Date
Questionnaire.item[0].type[0]date
Questionnaire.item[0].required[0]True
Questionnaire.item[1].linkId[0]Q2
Questionnaire.item[1].text[0]Condition(s)
Questionnaire.item[1].type[0]group
Questionnaire.item[1].item[0].extension[0].url[0]http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Questionnaire.item[1].item[0].extension[0].value[0].coding[0].system[0]http://hl7.org/fhir/questionnaire-item-control
Questionnaire.item[1].item[0].extension[0].value[0].coding[0].code[0]autocomplete
Questionnaire.item[1].item[0].extension[0].value[0].coding[0].display[0]Auto-complete
Questionnaire.item[1].item[0].linkId[0]Q2g
Questionnaire.item[1].item[0].text[0]Condition (Coded)
Questionnaire.item[1].item[0].type[0]choice
Questionnaire.item[1].item[0].repeats[0]True
Questionnaire.item[1].item[0].answerValueSet[0]https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode
Questionnaire.item[2].linkId[0]Q3
Questionnaire.item[2].code[0].system[0]http://snomed.info/sct
Questionnaire.item[2].code[0].code[0]365524007
Questionnaire.item[2].code[0].display[0]Fitness for work - finding
Questionnaire.item[2].text[0]I find you
Questionnaire.item[2].type[0]choice
Questionnaire.item[2].required[0]True
Questionnaire.item[2].answerOption[0].value[0].system[0]http://snomed.info/sct
Questionnaire.item[2].answerOption[0].value[0].code[0]160910001
Questionnaire.item[2].answerOption[0].value[0].display[0]Unfit for work
Questionnaire.item[2].answerOption[1].value[0].system[0]http://snomed.info/sct
Questionnaire.item[2].answerOption[1].value[0].code[0]225891002
Questionnaire.item[2].answerOption[1].value[0].display[0]Fit for work with restrictions

XML View

<Questionnaire xmlns="http://hl7.org/fhir">
    <id value="UKCore-Questionnaire-FitnessForWork-Example" />
    <url value="https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-Example" />
    <title value="Statement of Fitness for Work (Mock up)" />
    <status value="draft" />
    <experimental value="true" />
    <subjectType value="Patient" />
    <description value="This is based on Med 3 from DWP purely for demonstration purposes" />
    <code>
        <system value="http://snomed.info/sct" />
        <code value="18381000000107" />
        <display value="Sickness certificates" />
    </code>
    <item>
        <linkId value="Q1" />
        <text value="Assessment Date" />
        <type value="date" />
        <required value="true" />
    </item>
    <item>
        <linkId value="Q2" />
        <text value="Condition(s)" />
        <type value="group" />
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                <valueCodeableConcept>
                    <coding>
                        <system value="http://hl7.org/fhir/questionnaire-item-control" />
                        <code value="autocomplete" />
                        <display value="Auto-complete" />
                    </coding>
                </valueCodeableConcept>
            </extension>
            <linkId value="Q2g" />
            <text value="Condition (Coded)" />
            <type value="choice" />
            <repeats value="true" />
            <answerValueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode" />
        </item>
    </item>
    <item>
        <linkId value="Q3" />
        <code>
            <system value="http://snomed.info/sct" />
            <code value="365524007" />
            <display value="Fitness for work - finding" />
        </code>
        <text value="I find you" />
        <type value="choice" />
        <required value="true" />
        <answerOption>
            <valueCoding>
                <system value="http://snomed.info/sct" />
                <code value="160910001" />
                <display value="Unfit for work" />
            </valueCoding>
        </answerOption>
        <answerOption>
            <valueCoding>
                <system value="http://snomed.info/sct" />
                <code value="225891002" />
                <display value="Fit for work with restrictions" />
            </valueCoding>
        </answerOption>
    </item>
</Questionnaire>

JSON View

{
    "resourceType": "Questionnaire",
    "id": "UKCore-Questionnaire-FitnessForWork-Example",
    "url": "https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-Example",
    "title": "Statement of Fitness for Work (Mock up)",
    "status": "draft",
    "experimental": true,
    "subjectType":  [
        "Patient"
    ],
    "description": "This is based on Med 3 from DWP purely for demonstration purposes",
    "code":  [
        {
            "system": "http://snomed.info/sct",
            "code": "18381000000107",
            "display": "Sickness certificates"
        }
    ],
    "item":  [
        {
            "linkId": "Q1",
            "text": "Assessment Date",
            "type": "date",
            "required": true
        },
        {
            "linkId": "Q2",
            "text": "Condition(s)",
            "type": "group",
            "item":  [
                {
                    "linkId": "Q2g",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                            "valueCodeableConcept": {
                                "coding":  [
                                    {
                                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                                        "code": "autocomplete",
                                        "display": "Auto-complete"
                                    }
                                ]
                            }
                        }
                    ],
                    "text": "Condition (Coded)",
                    "type": "choice",
                    "repeats": true,
                    "answerValueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionCode"
                }
            ]
        },
        {
            "linkId": "Q3",
            "code":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "365524007",
                    "display": "Fitness for work - finding"
                }
            ],
            "text": "I find you",
            "type": "choice",
            "required": true,
            "answerOption":  [
                {
                    "valueCoding": {
                        "system": "http://snomed.info/sct",
                        "code": "160910001",
                        "display": "Unfit for work"
                    }
                },
                {
                    "valueCoding": {
                        "system": "http://snomed.info/sct",
                        "code": "225891002",
                        "display": "Fit for work with restrictions"
                    }
                }
            ]
        }
    ]
}

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.title[0]Inpatient Survey (Mock up)
Questionnaire.status[0]draft
Questionnaire.experimental[0]True
Questionnaire.subjectType[0]Patient
Questionnaire.date[0]2023-11-13T11:50:00+00:00
Questionnaire.purpose[0]A questionnaire used as part of a survey of new patient admissions to Acute Medicine. Purely for demonstration purposes.
Questionnaire.effectivePeriod[0].start[0]2023-11-13T11:50:00+00:00
Questionnaire.effectivePeriod[0].end[0]2023-12-13T11: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 alcohol?
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" />
    <title value="Inpatient Survey (Mock up)" />
    <status value="draft" />
    <experimental value="true" />
    <subjectType value="Patient" />
    <date value="2023-11-13T11:50:00+00:00" />
    <purpose value="A questionnaire used as part of a survey of new patient admissions to Acute Medicine. Purely for demonstration purposes." />
    <effectivePeriod>
        <start value="2023-11-13T11:50:00+00:00" />
        <end value="2023-12-13T11: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 alcohol?" />
            <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",
    "title": "Inpatient Survey (Mock up)",
    "status": "draft",
    "experimental": true,
    "subjectType":  [
        "Patient"
    ],
    "date": "2023-11-13T11:50:00+00:00",
    "purpose": "A questionnaire used as part of a survey of new patient admissions to Acute Medicine. Purely for demonstration purposes.",
    "effectivePeriod": {
        "start": "2023-11-13T11:50:00+00:00",
        "end": "2023-12-13T11: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 alcohol?",
                    "type": "boolean"
                }
            ]
        }
    ]
}

Example to illustrate a questionnaire response regarding a baby patient survey

Table View

AuditEvent.id[0]UKCore-AuditEvent-Query-Example
AuditEvent.type[0].system[0]http://dicom.nema.org/resources/ontology/DCM
AuditEvent.type[0].code[0]110112
AuditEvent.type[0].display[0]Query
AuditEvent.subtype[0].system[0]http://hl7.org/fhir/restful-interaction
AuditEvent.subtype[0].code[0]search
AuditEvent.subtype[0].display[0]search
AuditEvent.recorded[0]2020-12-10T13:10:00+00:00
AuditEvent.agent[0].role[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-RoleCode
AuditEvent.agent[0].role[0].coding[0].code[0]RESPRSN
AuditEvent.agent[0].role[0].coding[0].display[0]responsible party
AuditEvent.agent[0].who[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
AuditEvent.agent[0].requestor[0]True
AuditEvent.agent[0].location[0].reference[0]Location/UKCore-Location-CardiologySJUH-Example
AuditEvent.source[0].observer[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
AuditEvent.source[0].type[0].system[0]http://terminology.hl7.org/CodeSystem/security-source-type
AuditEvent.source[0].type[0].code[0]1
AuditEvent.source[0].type[0].display[0]User Device
AuditEvent.entity[0].what[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
AuditEvent.entity[0].type[0].system[0]http://hl7.org/fhir/resource-types
AuditEvent.entity[0].type[0].code[0]Patient
AuditEvent.entity[0].type[0].display[0]Patient

XML View

<AuditEvent xmlns="http://hl7.org/fhir">
    <id value="UKCore-AuditEvent-Query-Example" />
    <type>
        <system value="http://dicom.nema.org/resources/ontology/DCM" />
        <code value="110112" />
        <display value="Query" />
    </type>
    <subtype>
        <system value="http://hl7.org/fhir/restful-interaction" />
        <code value="search" />
        <display value="search" />
    </subtype>
    <recorded value="2020-12-10T13:10:00+00:00" />
    <agent>
        <role>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
                <code value="RESPRSN" />
                <display value="responsible party" />
            </coding>
        </role>
        <who>
            <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        </who>
        <requestor value="true" />
        <location>
            <reference value="Location/UKCore-Location-CardiologySJUH-Example" />
        </location>
    </agent>
    <source>
        <observer>
            <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
        </observer>
        <type>
            <system value="http://terminology.hl7.org/CodeSystem/security-source-type" />
            <code value="1" />
            <display value="User Device" />
        </type>
    </source>
    <entity>
        <what>
            <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        </what>
        <type>
            <system value="http://hl7.org/fhir/resource-types" />
            <code value="Patient" />
            <display value="Patient" />
        </type>
    </entity>
</AuditEvent>

JSON View

{
    "resourceType": "AuditEvent",
    "id": "UKCore-AuditEvent-Query-Example",
    "type": {
        "system": "http://dicom.nema.org/resources/ontology/DCM",
        "code": "110112",
        "display": "Query"
    },
    "subtype":  [
        {
            "system": "http://hl7.org/fhir/restful-interaction",
            "code": "search",
            "display": "search"
        }
    ],
    "recorded": "2020-12-10T13:10:00+00:00",
    "agent":  [
        {
            "role":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                            "code": "RESPRSN",
                            "display": "responsible party"
                        }
                    ]
                }
            ],
            "who": {
                "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
            },
            "requestor": true,
            "location": {
                "reference": "Location/UKCore-Location-CardiologySJUH-Example"
            }
        }
    ],
    "source": {
        "observer": {
            "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
        },
        "type":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
                "code": "1",
                "display": "User Device"
            }
        ]
    },
    "entity":  [
        {
            "what": {
                "reference": "Patient/UKCore-Patient-RichardSmith-Example"
            },
            "type": {
                "system": "http://hl7.org/fhir/resource-types",
                "code": "Patient",
                "display": "Patient"
            }
        }
    ]
}

Example to illustrate a questionnaire response for an end of life survey

Table View

QuestionnaireResponse.id[0]UKCore-QuestionnaireResponse-EOLPlan-Example
QuestionnaireResponse.questionnaire[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-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]2023-11-14T08:07: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]Q1
QuestionnaireResponse.item[0].text[0]Advanced Treatment Preferences
QuestionnaireResponse.item[0].item[0].linkId[0]Q1.1
QuestionnaireResponse.item[0].item[0].text[0]Clinical Problems and Advised Interventions
QuestionnaireResponse.item[0].item[0].item[0].linkId[0]Q1.1g
QuestionnaireResponse.item[0].item[0].item[0].text[0]ATP Problems
QuestionnaireResponse.item[0].item[0].item[0].answer[0].value[0].system[0]http://snomed.info/sct
QuestionnaireResponse.item[0].item[0].item[0].answer[0].value[0].code[0]95417003
QuestionnaireResponse.item[0].item[0].item[0].answer[0].value[0].display[0]Primary fibromyalgia syndrome
QuestionnaireResponse.item[0].item[1].linkId[0]Q1.2
QuestionnaireResponse.item[0].item[1].text[0]Anticipatory medicines/just in case box issued
QuestionnaireResponse.item[0].item[1].answer[0].value[0]Yes
QuestionnaireResponse.item[0].item[2].linkId[0]Q1.3
QuestionnaireResponse.item[0].item[2].text[0]Advance Decision to Refuse Treatment
QuestionnaireResponse.item[0].item[2].answer[0].value[0]Yes
QuestionnaireResponse.item[1].linkId[0]Q2
QuestionnaireResponse.item[1].text[0]Consent
QuestionnaireResponse.item[1].item[0].linkId[0]Q2g
QuestionnaireResponse.item[1].item[0].text[0]Consent for Information Sharing
QuestionnaireResponse.item[1].item[0].answer[0].value[0]2023-11-13
QuestionnaireResponse.item[2].linkId[0]Q3
QuestionnaireResponse.item[2].text[0]EOL Register
QuestionnaireResponse.item[2].item[0].linkId[0]Q3g
QuestionnaireResponse.item[2].item[0].text[0]On End Of Life Register
QuestionnaireResponse.item[2].item[0].answer[0].value[0]2023-11-13T16:07:00+00:00

XML View

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
    <id value="UKCore-QuestionnaireResponse-EOLPlan-Example" />
    <questionnaire value="https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-Example" />
    <status value="completed" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <authored value="2023-11-14T08:07:00+00:00" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </author>
    <source>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </source>
    <item>
        <linkId value="Q1" />
        <text value="Advanced Treatment Preferences" />
        <item>
            <linkId value="Q1.1" />
            <text value="Clinical Problems and Advised Interventions" />
            <item>
                <linkId value="Q1.1g" />
                <text value="ATP Problems" />
                <answer>
                    <valueCoding>
                        <system value="http://snomed.info/sct" />
                        <code value="95417003" />
                        <display value="Primary fibromyalgia syndrome" />
                    </valueCoding>
                </answer>
            </item>
        </item>
        <item>
            <linkId value="Q1.2" />
            <text value="Anticipatory medicines/just in case box issued" />
            <answer>
                <valueString value="Yes" />
            </answer>
        </item>
        <item>
            <linkId value="Q1.3" />
            <text value="Advance Decision to Refuse Treatment" />
            <answer>
                <valueString value="Yes" />
            </answer>
        </item>
    </item>
    <item>
        <linkId value="Q2" />
        <text value="Consent" />
        <item>
            <linkId value="Q2g" />
            <text value="Consent for Information Sharing" />
            <answer>
                <valueDate value="2023-11-13" />
            </answer>
        </item>
    </item>
    <item>
        <linkId value="Q3" />
        <text value="EOL Register" />
        <item>
            <linkId value="Q3g" />
            <text value="On End Of Life Register" />
            <answer>
                <valueDateTime value="2023-11-13T16:07:00+00:00" />
            </answer>
        </item>
    </item>
</QuestionnaireResponse>

JSON View

{
    "resourceType": "QuestionnaireResponse",
    "id": "UKCore-QuestionnaireResponse-EOLPlan-Example",
    "questionnaire": "https://example.com/base/Questionnaire/UKCore-Questionnaire-EOLPlan-Example",
    "status": "completed",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "authored": "2023-11-14T08:07:00+00:00",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "source": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "item":  [
        {
            "linkId": "Q1",
            "text": "Advanced Treatment Preferences",
            "item":  [
                {
                    "linkId": "Q1.1",
                    "text": "Clinical Problems and Advised Interventions",
                    "item":  [
                        {
                            "linkId": "Q1.1g",
                            "text": "ATP Problems",
                            "answer":  [
                                {
                                    "valueCoding": {
                                        "system": "http://snomed.info/sct",
                                        "code": "95417003",
                                        "display": "Primary fibromyalgia syndrome"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "linkId": "Q1.2",
                    "text": "Anticipatory medicines/just in case box issued",
                    "answer":  [
                        {
                            "valueString": "Yes"
                        }
                    ]
                },
                {
                    "linkId": "Q1.3",
                    "text": "Advance Decision to Refuse Treatment",
                    "answer":  [
                        {
                            "valueString": "Yes"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "Q2",
            "text": "Consent",
            "item":  [
                {
                    "linkId": "Q2g",
                    "text": "Consent for Information Sharing",
                    "answer":  [
                        {
                            "valueDate": "2023-11-13"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "Q3",
            "text": "EOL Register",
            "item":  [
                {
                    "linkId": "Q3g",
                    "text": "On End Of Life Register",
                    "answer":  [
                        {
                            "valueDateTime": "2023-11-13T16:07:00+00:00"
                        }
                    ]
                }
            ]
        }
    ]
}

Example to illustrate a questionnaire response for a fitness for work survey

Table View

QuestionnaireResponse.id[0]UKCore-QuestionnaireResponse-FitnessForWork-Example
QuestionnaireResponse.questionnaire[0]https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-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]2023-11-13T16: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]Q1
QuestionnaireResponse.item[0].text[0]Assessment Date
QuestionnaireResponse.item[0].answer[0].value[0]2023-11-13
QuestionnaireResponse.item[1].linkId[0]Q2
QuestionnaireResponse.item[1].text[0]Condition(s)
QuestionnaireResponse.item[1].item[0].linkId[0]Q2g
QuestionnaireResponse.item[1].item[0].text[0]Condition (Coded)
QuestionnaireResponse.item[1].item[0].answer[0].value[0].system[0]http://snomed.info/sct
QuestionnaireResponse.item[1].item[0].answer[0].value[0].code[0]203082005
QuestionnaireResponse.item[1].item[0].answer[0].value[0].display[0]Fibromyalgia
QuestionnaireResponse.item[2].linkId[0]Q3
QuestionnaireResponse.item[2].text[0]I find you
QuestionnaireResponse.item[2].answer[0].value[0].system[0]http://snomed.info/sct
QuestionnaireResponse.item[2].answer[0].value[0].code[0]225891002
QuestionnaireResponse.item[2].answer[0].value[0].display[0]Fit for work with restrictions

XML View

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
    <id value="UKCore-QuestionnaireResponse-FitnessForWork-Example" />
    <questionnaire value="https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-Example" />
    <status value="completed" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <encounter>
        <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" />
    </encounter>
    <authored value="2023-11-13T16: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="Q1" />
        <text value="Assessment Date" />
        <answer>
            <valueDate value="2023-11-13" />
        </answer>
    </item>
    <item>
        <linkId value="Q2" />
        <text value="Condition(s)" />
        <item>
            <linkId value="Q2g" />
            <text value="Condition (Coded)" />
            <answer>
                <valueCoding>
                    <system value="http://snomed.info/sct" />
                    <code value="203082005" />
                    <display value="Fibromyalgia" />
                </valueCoding>
            </answer>
        </item>
    </item>
    <item>
        <linkId value="Q3" />
        <text value="I find you" />
        <answer>
            <valueCoding>
                <system value="http://snomed.info/sct" />
                <code value="225891002" />
                <display value="Fit for work with restrictions" />
            </valueCoding>
        </answer>
    </item>
</QuestionnaireResponse>

JSON View

{
    "resourceType": "QuestionnaireResponse",
    "id": "UKCore-QuestionnaireResponse-FitnessForWork-Example",
    "questionnaire": "https://example.com/base/Questionnaire/UKCore-Questionnaire-FitnessForWork-Example",
    "status": "completed",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "encounter": {
        "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example"
    },
    "authored": "2023-11-13T16:00:00+00:00",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "source": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "item":  [
        {
            "linkId": "Q1",
            "text": "Assessment Date",
            "answer":  [
                {
                    "valueDate": "2023-11-13"
                }
            ]
        },
        {
            "linkId": "Q2",
            "text": "Condition(s)",
            "item":  [
                {
                    "linkId": "Q2g",
                    "text": "Condition (Coded)",
                    "answer":  [
                        {
                            "valueCoding": {
                                "system": "http://snomed.info/sct",
                                "code": "203082005",
                                "display": "Fibromyalgia"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "Q3",
            "text": "I find you",
            "answer":  [
                {
                    "valueCoding": {
                        "system": "http://snomed.info/sct",
                        "code": "225891002",
                        "display": "Fit for work with restrictions"
                    }
                }
            ]
        }
    ]
}

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].value[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].value[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].value[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].value[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].value[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].value[0]True
QuestionnaireResponse.item[2].item[1].linkId[0]3.2
QuestionnaireResponse.item[2].item[1].text[0]Do you drink alcohol?
QuestionnaireResponse.item[2].item[1].answer[0].value[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 alcohol?" />
            <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 alcohol?",
                    "answer":  [
                        {
                            "valueBoolean": false
                        }
                    ]
                }
            ]
        }
    ]
}

Example to illustrate the options for Ciprofloxacin when prescribing multiple routes.

Table View

RequestGroup.id[0]UKCore-RequestGroup-Ciprofloxacin-Example
RequestGroup.status[0]completed
RequestGroup.intent[0]order
RequestGroup.priority[0]routine
RequestGroup.code[0].coding[0].system[0]http://snomed.info/sct
RequestGroup.code[0].coding[0].code[0]33633005
RequestGroup.code[0].coding[0].display[0]Prescription of drug
RequestGroup.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
RequestGroup.authoredOn[0]2023-06-15T15:00:00.000Z
RequestGroup.author[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
RequestGroup.action[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/action-type
RequestGroup.action[0].type[0].coding[0].code[0]create
RequestGroup.action[0].selectionBehavior[0]any
RequestGroup.action[0].action[0].id[0]UKCore-MedicationRequest-CiprofloxacinOral-Example
RequestGroup.action[0].action[0].description[0]Ciprofloxacin 500mg, twice daily orally.
RequestGroup.action[0].action[0].resource[0].reference[0]MedicationRequest/UKCore-MedicationRequest-CiprofloxacinOral-Example
RequestGroup.action[0].action[1].id[0]UKCore-MedicationRequest-CiprofloxacinIV-Example
RequestGroup.action[0].action[1].description[0]Ciprofloxacin 400mg, twice daily as IV.
RequestGroup.action[0].action[1].resource[0].reference[0]MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example

XML View

<RequestGroup xmlns="http://hl7.org/fhir">
    <id value="UKCore-RequestGroup-Ciprofloxacin-Example" />
    <status value="completed" />
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="33633005" />
            <display value="Prescription of drug" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15:00:00.000Z" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </author>
    <action>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/action-type" />
                <code value="create" />
            </coding>
        </type>
        <selectionBehavior value="any" />
        <action id="UKCore-MedicationRequest-CiprofloxacinOral-Example">
            <description value="Ciprofloxacin 500mg, twice daily orally." />
            <resource>
                <reference value="MedicationRequest/UKCore-MedicationRequest-CiprofloxacinOral-Example" />
            </resource>
        </action>
        <action id="UKCore-MedicationRequest-CiprofloxacinIV-Example">
            <description value="Ciprofloxacin 400mg, twice daily as IV." />
            <resource>
                <reference value="MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example" />
            </resource>
        </action>
    </action>
</RequestGroup>

JSON View

{
    "resourceType": "RequestGroup",
    "id": "UKCore-RequestGroup-Ciprofloxacin-Example",
    "status": "completed",
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "33633005",
                "display": "Prescription of drug"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15:00:00.000Z",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "action":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/action-type",
                        "code": "create"
                    }
                ]
            },
            "selectionBehavior": "any",
            "action":  [
                {
                    "id": "UKCore-MedicationRequest-CiprofloxacinOral-Example",
                    "description": "Ciprofloxacin 500mg, twice daily orally.",
                    "resource": {
                        "reference": "MedicationRequest/UKCore-MedicationRequest-CiprofloxacinOral-Example"
                    }
                },
                {
                    "id": "UKCore-MedicationRequest-CiprofloxacinIV-Example",
                    "description": "Ciprofloxacin 400mg, twice daily as IV.",
                    "resource": {
                        "reference": "MedicationRequest/UKCore-MedicationRequest-CiprofloxacinIV-Example"
                    }
                }
            ]
        }
    ]
}

Example to illustrate the options for multiple antibiotics when prescribing multiple routes.

Table View

RequestGroup.id[0]UKCore-RequestGroup-MultipleAnitibiotics-Example
RequestGroup.status[0]completed
RequestGroup.intent[0]order
RequestGroup.priority[0]routine
RequestGroup.code[0].coding[0].system[0]http://snomed.info/sct
RequestGroup.code[0].coding[0].code[0]33633005
RequestGroup.code[0].coding[0].display[0]Prescription of drug
RequestGroup.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
RequestGroup.authoredOn[0]2023-06-15T15:00:00.000Z
RequestGroup.author[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
RequestGroup.note[0].text[0]The preferred option is Amoxicillin 500mg capsules, three times a day.
RequestGroup.action[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/action-type
RequestGroup.action[0].type[0].coding[0].code[0]create
RequestGroup.action[0].selectionBehavior[0]at-most-one
RequestGroup.action[0].action[0].id[0]UKCore-MedicationRequest-Amoxicillin-Example
RequestGroup.action[0].action[0].description[0]Amoxicillin 500mg capsules, three times a day. This is the preferred option.
RequestGroup.action[0].action[0].resource[0].reference[0]MedicationRequest/UKCore-MedicationRequest-Amoxicillin-Example
RequestGroup.action[0].action[1].id[0]UKCore-MedicationRequest-Clarithromycin-Example
RequestGroup.action[0].action[1].description[0]Clarithromycin 500mg tablet, three times a day.
RequestGroup.action[0].action[1].resource[0].reference[0]UKCore-MedicationRequest-Clarithromycin-Example
RequestGroup.action[0].action[2].id[0]UKCore-MedicationRequest-Doxycycline-Example
RequestGroup.action[0].action[2].description[0]Doxycycline 200mg stat (now), followed by 100mg daily.
RequestGroup.action[0].action[2].resource[0].reference[0]UKCore-MedicationRequest-Doxycycline-Example

XML View

<RequestGroup xmlns="http://hl7.org/fhir">
    <id value="UKCore-RequestGroup-MultipleAnitibiotics-Example" />
    <status value="completed" />
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="33633005" />
            <display value="Prescription of drug" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15:00:00.000Z" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </author>
    <note>
        <text value="The preferred option is Amoxicillin 500mg capsules, three times a day." />
    </note>
    <action>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/action-type" />
                <code value="create" />
            </coding>
        </type>
        <selectionBehavior value="at-most-one" />
        <action id="UKCore-MedicationRequest-Amoxicillin-Example">
            <description value="Amoxicillin 500mg capsules, three times a day. This is the preferred option." />
            <resource>
                <reference value="MedicationRequest/UKCore-MedicationRequest-Amoxicillin-Example" />
            </resource>
        </action>
        <action id="UKCore-MedicationRequest-Clarithromycin-Example">
            <description value="Clarithromycin 500mg tablet, three times a day." />
            <resource>
                <reference value="UKCore-MedicationRequest-Clarithromycin-Example" />
            </resource>
        </action>
        <action id="UKCore-MedicationRequest-Doxycycline-Example">
            <description value="Doxycycline 200mg stat (now), followed by 100mg daily." />
            <resource>
                <reference value="UKCore-MedicationRequest-Doxycycline-Example" />
            </resource>
        </action>
    </action>
</RequestGroup>

JSON View

{
    "resourceType": "RequestGroup",
    "id": "UKCore-RequestGroup-MultipleAnitibiotics-Example",
    "status": "completed",
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "33633005",
                "display": "Prescription of drug"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15:00:00.000Z",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "note":  [
        {
            "text": "The preferred option is Amoxicillin 500mg capsules, three times a day."
        }
    ],
    "action":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/action-type",
                        "code": "create"
                    }
                ]
            },
            "selectionBehavior": "at-most-one",
            "action":  [
                {
                    "id": "UKCore-MedicationRequest-Amoxicillin-Example",
                    "description": "Amoxicillin 500mg capsules, three times a day. This is the preferred option.",
                    "resource": {
                        "reference": "MedicationRequest/UKCore-MedicationRequest-Amoxicillin-Example"
                    }
                },
                {
                    "id": "UKCore-MedicationRequest-Clarithromycin-Example",
                    "description": "Clarithromycin 500mg tablet, three times a day.",
                    "resource": {
                        "reference": "UKCore-MedicationRequest-Clarithromycin-Example"
                    }
                },
                {
                    "id": "UKCore-MedicationRequest-Doxycycline-Example",
                    "description": "Doxycycline 200mg stat (now), followed by 100mg daily.",
                    "resource": {
                        "reference": "UKCore-MedicationRequest-Doxycycline-Example"
                    }
                }
            ]
        }
    ]
}

Example to illustrate the options for Paracetamol when prescribing multiple routes.

Table View

RequestGroup.id[0]UKCore-RequestGroup-Paracetamol-Example
RequestGroup.status[0]completed
RequestGroup.intent[0]order
RequestGroup.priority[0]routine
RequestGroup.code[0].coding[0].system[0]http://snomed.info/sct
RequestGroup.code[0].coding[0].code[0]33633005
RequestGroup.code[0].coding[0].display[0]Prescription of drug
RequestGroup.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
RequestGroup.authoredOn[0]2023-06-15T15:00:00.000Z
RequestGroup.author[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
RequestGroup.action[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/action-type
RequestGroup.action[0].type[0].coding[0].code[0]create
RequestGroup.action[0].selectionBehavior[0]at-most-one
RequestGroup.action[0].action[0].id[0]UKCore-MedicationRequest-ParacetamolOral-Example
RequestGroup.action[0].action[0].description[0]Paracetamol 500mg, four times a day orally.
RequestGroup.action[0].action[0].resource[0].reference[0]MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example
RequestGroup.action[0].action[1].id[0]UKCore-MedicationRequest-ParacetamolIV-Example
RequestGroup.action[0].action[1].description[0]Paracetamol 500mg, four times a day via IV.
RequestGroup.action[0].action[1].resource[0].reference[0]MedicationRequest/UKCore-MedicationRequest-ParacetamolIV-Example

XML View

<RequestGroup xmlns="http://hl7.org/fhir">
    <id value="UKCore-RequestGroup-Paracetamol-Example" />
    <status value="completed" />
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="33633005" />
            <display value="Prescription of drug" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <authoredOn value="2023-06-15T15:00:00.000Z" />
    <author>
        <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
    </author>
    <action>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/action-type" />
                <code value="create" />
            </coding>
        </type>
        <selectionBehavior value="at-most-one" />
        <action id="UKCore-MedicationRequest-ParacetamolOral-Example">
            <description value="Paracetamol 500mg, four times a day orally." />
            <resource>
                <reference value="MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example" />
            </resource>
        </action>
        <action id="UKCore-MedicationRequest-ParacetamolIV-Example">
            <description value="Paracetamol 500mg, four times a day via IV." />
            <resource>
                <reference value="MedicationRequest/UKCore-MedicationRequest-ParacetamolIV-Example" />
            </resource>
        </action>
    </action>
</RequestGroup>

JSON View

{
    "resourceType": "RequestGroup",
    "id": "UKCore-RequestGroup-Paracetamol-Example",
    "status": "completed",
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "33633005",
                "display": "Prescription of drug"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "authoredOn": "2023-06-15T15:00:00.000Z",
    "author": {
        "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
    },
    "action":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/action-type",
                        "code": "create"
                    }
                ]
            },
            "selectionBehavior": "at-most-one",
            "action":  [
                {
                    "id": "UKCore-MedicationRequest-ParacetamolOral-Example",
                    "description": "Paracetamol 500mg, four times a day orally.",
                    "resource": {
                        "reference": "MedicationRequest/UKCore-MedicationRequest-ParacetamolOral-Example"
                    }
                },
                {
                    "id": "UKCore-MedicationRequest-ParacetamolIV-Example",
                    "description": "Paracetamol 500mg, four times a day via IV.",
                    "resource": {
                        "reference": "MedicationRequest/UKCore-MedicationRequest-ParacetamolIV-Example"
                    }
                }
            ]
        }
    ]
}

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].value[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"
            }
        }
    ]
}