NHS Digital FHIR Medicines (Retired - 2.1.14)

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

Prescription Order Homecare Prepare

Outpatient repeat disensing single item prescription for 4 x weekly issues. This example lacks a digital signature and which is returned via the prepare endpoint.

{
    "resourceType": "Bundle",
    "id": "homecare-prepare",
    "identifier": {
        "system": "https://tools.ietf.org/html/rfc4122",
        "value": "ad945a29-85f8-439a-b590-6789719adc16"
    },
    "type": "message",
    "entry":  [
        {
            "fullUrl": "urn:uuid:e9a71955-53ba-b15a-d4b6-bea99d5017b3",
            "resource": {
                "resourceType": "MessageHeader",
                "eventCoding": {
                    "system": "https://fhir.nhs.uk/CodeSystem/message-event",
                    "code": "prescription-order",
                    "display": "Prescription Order"
                },
                "source": {
                    "endpoint": "https://directory.spineservices.nhs.uk/STU3/Organization/VNE51"
                },
                "focus":  [
                    {
                        "reference": "urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6",
            "resource": {
                "resourceType": "MedicationRequest",
                "id": "a54219b8-f741-4c47-b662-e4f8dfa49ab6",
                "extension":  [
                    {
                        "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType",
                        "valueCoding": {
                            "system": "https://fhir.nhs.uk/CodeSystem/prescription-type",
                            "code": "1201",
                            "display": "Outpatient Homecare Prescriber - Medical Prescriber"
                        }
                    },
                    {
                        "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation",
                        "extension":  [
                            {
                                "url": "numberOfPrescriptionsIssued",
                                "valueUnsignedInt": 1
                            },
                            {
                                "url": "authorisationExpiryDate",
                                "valueDateTime": "2020-08-07"
                            }
                        ]
                    }
                ],
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                        "value": "a54219b8-f741-4c47-b662-e4f8dfa49ab6"
                    }
                ],
                "status": "active",
                "intent": "original-order",
                "category":  [
                    {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                                "code": "outpatient",
                                "display": "Outpatient"
                            }
                        ]
                    }
                ],
                "medicationCodeableConcept": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "15517911000001104",
                            "display": "Methotrexate 10mg/0.2ml solution for injection pre-filled syringes"
                        }
                    ]
                },
                "subject": {
                    "reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2"
                },
                "authoredOn": "2020-07-13T12:00:00+00:00",
                "requester": {
                    "reference": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666"
                },
                "basedOn":  [
                    {
                        "reference": "https://elmpt-hospitals.nhs.uk/MedicationRequest/654321"
                    }
                ],
                "groupIdentifier": {
                    "extension":  [
                        {
                            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
                            "valueIdentifier": {
                                "system": "https://fhir.nhs.uk/Id/prescription",
                                "value": "ad945a29-85f8-439a-b590-6789719adc16"
                            }
                        }
                    ],
                    "system": "https://fhir.nhs.uk/Id/prescription-order-number",
                    "value": "DC2C66-A1B2C3-23407B"
                },
                "courseOfTherapyType": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
                            "code": "continuous",
                            "display": "Continuous long term therapy"
                        }
                    ]
                },
                "dosageInstruction":  [
                    {
                        "text": "10 milligram, Inject, Subcutaneous route, once weekly.",
                        "timing": {
                            "repeat": {
                                "frequency": 5,
                                "period": 1,
                                "periodUnit": "d",
                                "boundsDuration": {
                                    "value": 10,
                                    "unit": "day",
                                    "system": "http://unitsofmeasure.org",
                                    "code": "d"
                                }
                            }
                        },
                        "method": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "422145002",
                                    "display": "Inject"
                                }
                            ]
                        },
                        "route": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "34206005",
                                    "display": "Subcutaneous route"
                                }
                            ]
                        },
                        "doseAndRate":  [
                            {
                                "doseQuantity": {
                                    "value": 10,
                                    "unit": "milligram",
                                    "system": "http://unitsofmeasure.org",
                                    "code": "mg"
                                }
                            }
                        ]
                    }
                ],
                "dispenseRequest": {
                    "extension":  [
                        {
                            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
                            "valueCoding": {
                                "system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
                                "code": "P2"
                            }
                        }
                    ],
                    "validityPeriod": {
                        "start": "2020-07-13T12:00:00+00:00",
                        "end": "2020-08-07T12:00:00+00:00"
                    },
                    "numberOfRepeatsAllowed": 0,
                    "expectedSupplyDuration": {
                        "value": 7,
                        "unit": "day",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "performer": {
                        "identifier": {
                            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                            "value": "VNE51"
                        }
                    },
                    "quantity": {
                        "value": 1,
                        "unit": "Injection",
                        "system": "http://snomed.info/sct",
                        "code": "3092611000001103"
                    }
                },
                "substitution": {
                    "allowedBoolean": false
                }
            }
        },
        {
            "fullUrl": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2",
            "resource": {
                "resourceType": "Patient",
                "id": "78d3c2eb-009e-4ec8-a358-b042954aa9b2",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9453740519"
                    }
                ],
                "name":  [
                    {
                        "use": "official",
                        "family": "CORY",
                        "given":  [
                            "ETTA"
                        ],
                        "prefix":  [
                            "MISS"
                        ]
                    }
                ],
                "gender": "female",
                "birthDate": "1999-01-04",
                "address":  [
                    {
                        "use": "home",
                        "line":  [
                            "123 Dale Avenue",
                            "Long Eaton",
                            "Nottingham"
                        ],
                        "postalCode": "NG10 1NP"
                    }
                ],
                "generalPractitioner":  [
                    {
                        "identifier": {
                            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                            "value": "B81001"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666",
            "resource": {
                "resourceType": "PractitionerRole",
                "id": "56166769-c1c4-4d07-afa8-132b5dfca666",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                        "value": "100102238986"
                    },
                    {
                        "system": "https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code",
                        "value": "G7345213"
                    }
                ],
                "code":  [
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName",
                                "code": "R8000"
                            }
                        ]
                    }
                ],
                "practitioner": {
                    "reference": "urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a"
                },
                "organization": {
                    "reference": "urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8"
                },
                "healthcareService":  [
                    {
                        "reference": "urn:uuid:54b0506d-49af-4245-9d40-d7d64902055e"
                    }
                ],
                "telecom":  [
                    {
                        "system": "phone",
                        "value": "01823 333444",
                        "use": "work"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:044e7916-c697-4072-880e-ef44d3032962",
            "resource": {
                "resourceType": "Location",
                "identifier":  [
                    {
                        "use": "official",
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "RBA11"
                    }
                ],
                "status": "active",
                "mode": "instance",
                "address": {
                    "use": "work",
                    "line":  [
                        "MUSGROVE PARK HOSPITAL"
                    ],
                    "city": "TAUNTON",
                    "postalCode": "TA1 5DA",
                    "country": "NLD"
                }
            }
        },
        {
            "fullUrl": "urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a",
            "resource": {
                "resourceType": "Practitioner",
                "id": "a8c85454-f8cb-498d-9629-78e2cb5fa47a",
                "identifier":  [
                    {
                        "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                        "value": "C1234567"
                    }
                ],
                "name":  [
                    {
                        "family": "ALI",
                        "given":  [
                            "RAZIA"
                        ],
                        "prefix":  [
                            "DR"
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
            "resource": {
                "resourceType": "Organization",
                "id": "3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "RBA"
                    }
                ],
                "name": "TAUNTON AND SOMERSET NHS FOUNDATION TRUST",
                "address":  [
                    {
                        "line":  [
                            "MUSGROVE PARK HOSPITAL",
                            "PARKFIELD DRIVE",
                            "TAUNTON"
                        ],
                        "postalCode": "TA1 5DA"
                    }
                ],
                "telecom":  [
                    {
                        "system": "phone",
                        "value": "01823333444",
                        "use": "work"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:54b0506d-49af-4245-9d40-d7d64902055e",
            "resource": {
                "resourceType": "HealthcareService",
                "id": "54b0506d-49af-4245-9d40-d7d64902055e",
                "identifier":  [
                    {
                        "use": "official",
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "A99968"
                    }
                ],
                "active": true,
                "location":  [
                    {
                        "reference": "urn:uuid:044e7916-c697-4072-880e-ef44d3032962"
                    }
                ],
                "name": "SOMERSET BOWEL CANCER SCREENING CENTRE",
                "telecom":  [
                    {
                        "system": "phone",
                        "value": "01823 333444",
                        "use": "work"
                    }
                ]
            }
        }
    ]
}
<Bundle xmlns="http://hl7.org/fhir">
    <id value="homecare-prepare" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="ad945a29-85f8-439a-b590-6789719adc16" />
    </identifier>
    <type value="message" />
    <entry>
        <fullUrl value="urn:uuid:e9a71955-53ba-b15a-d4b6-bea99d5017b3" />
        <resource>
            <MessageHeader>
                <eventCoding>
                    <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
                    <code value="prescription-order" />
                    <display value="Prescription Order" />
                </eventCoding>
                <source>
                    <endpoint value="https://directory.spineservices.nhs.uk/STU3/Organization/VNE51" />
                </source>
                <focus>
                    <reference value="urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6" />
                </focus>
            </MessageHeader>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6" />
        <resource>
            <MedicationRequest>
                <id value="a54219b8-f741-4c47-b662-e4f8dfa49ab6" />
                <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType">
                    <valueCoding>
                        <system value="https://fhir.nhs.uk/CodeSystem/prescription-type" />
                        <code value="1201" />
                        <display value="Outpatient Homecare Prescriber - Medical Prescriber" />
                    </valueCoding>
                </extension>
                <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation">
                    <extension url="numberOfPrescriptionsIssued">
                        <valueUnsignedInt value="1" />
                    </extension>
                    <extension url="authorisationExpiryDate">
                        <valueDateTime value="2020-08-07" />
                    </extension>
                </extension>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                    <value value="a54219b8-f741-4c47-b662-e4f8dfa49ab6" />
                </identifier>
                <status value="active" />
                <intent value="original-order" />
                <category>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
                        <code value="outpatient" />
                        <display value="Outpatient" />
                    </coding>
                </category>
                <medicationCodeableConcept>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="15517911000001104" />
                        <display value="Methotrexate 10mg/0.2ml solution for injection pre-filled syringes" />
                    </coding>
                </medicationCodeableConcept>
                <subject>
                    <reference value="urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
                </subject>
                <authoredOn value="2020-07-13T12:00:00+00:00" />
                <requester>
                    <reference value="urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666" />
                </requester>
                <basedOn>
                    <reference value="https://elmpt-hospitals.nhs.uk/MedicationRequest/654321" />
                </basedOn>
                <groupIdentifier>
                    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
                        <valueIdentifier>
                            <system value="https://fhir.nhs.uk/Id/prescription" />
                            <value value="ad945a29-85f8-439a-b590-6789719adc16" />
                        </valueIdentifier>
                    </extension>
                    <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
                    <value value="DC2C66-A1B2C3-23407B" />
                </groupIdentifier>
                <courseOfTherapyType>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" />
                        <code value="continuous" />
                        <display value="Continuous long term therapy" />
                    </coding>
                </courseOfTherapyType>
                <dosageInstruction>
                    <text value="10 milligram, Inject, Subcutaneous route, once weekly." />
                    <timing>
                        <repeat>
                            <boundsDuration>
                                <value value="10" />
                                <unit value="day" />
                                <system value="http://unitsofmeasure.org" />
                                <code value="d" />
                            </boundsDuration>
                            <frequency value="5" />
                            <period value="1" />
                            <periodUnit value="d" />
                        </repeat>
                    </timing>
                    <route>
                        <coding>
                            <system value="http://snomed.info/sct" />
                            <code value="34206005" />
                            <display value="Subcutaneous route" />
                        </coding>
                    </route>
                    <method>
                        <coding>
                            <system value="http://snomed.info/sct" />
                            <code value="422145002" />
                            <display value="Inject" />
                        </coding>
                    </method>
                    <doseAndRate>
                        <doseQuantity>
                            <value value="10" />
                            <unit value="milligram" />
                            <system value="http://unitsofmeasure.org" />
                            <code value="mg" />
                        </doseQuantity>
                    </doseAndRate>
                </dosageInstruction>
                <dispenseRequest>
                    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType">
                        <valueCoding>
                            <system value="https://fhir.nhs.uk/CodeSystem/dispensing-site-preference" />
                            <code value="P2" />
                        </valueCoding>
                    </extension>
                    <validityPeriod>
                        <start value="2020-07-13T12:00:00+00:00" />
                        <end value="2020-08-07T12:00:00+00:00" />
                    </validityPeriod>
                    <numberOfRepeatsAllowed value="0" />
                    <quantity>
                        <value value="1" />
                        <unit value="Injection" />
                        <system value="http://snomed.info/sct" />
                        <code value="3092611000001103" />
                    </quantity>
                    <expectedSupplyDuration>
                        <value value="7" />
                        <unit value="day" />
                        <system value="http://unitsofmeasure.org" />
                        <code value="d" />
                    </expectedSupplyDuration>
                    <performer>
                        <identifier>
                            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                            <value value="VNE51" />
                        </identifier>
                    </performer>
                </dispenseRequest>
                <substitution>
                    <allowedBoolean value="false" />
                </substitution>
            </MedicationRequest>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
        <resource>
            <Patient>
                <id value="78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/nhs-number" />
                    <value value="9453740519" />
                </identifier>
                <name>
                    <use value="official" />
                    <family value="CORY" />
                    <given value="ETTA" />
                    <prefix value="MISS" />
                </name>
                <gender value="female" />
                <birthDate value="1999-01-04" />
                <address>
                    <use value="home" />
                    <line value="123 Dale Avenue" />
                    <line value="Long Eaton" />
                    <line value="Nottingham" />
                    <postalCode value="NG10 1NP" />
                </address>
                <generalPractitioner>
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="B81001" />
                    </identifier>
                </generalPractitioner>
            </Patient>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666" />
        <resource>
            <PractitionerRole>
                <id value="56166769-c1c4-4d07-afa8-132b5dfca666" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                    <value value="100102238986" />
                </identifier>
                <identifier>
                    <system value="https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code" />
                    <value value="G7345213" />
                </identifier>
                <practitioner>
                    <reference value="urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a" />
                </practitioner>
                <organization>
                    <reference value="urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
                </organization>
                <code>
                    <coding>
                        <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName" />
                        <code value="R8000" />
                    </coding>
                </code>
                <healthcareService>
                    <reference value="urn:uuid:54b0506d-49af-4245-9d40-d7d64902055e" />
                </healthcareService>
                <telecom>
                    <system value="phone" />
                    <value value="01823 333444" />
                    <use value="work" />
                </telecom>
            </PractitionerRole>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:044e7916-c697-4072-880e-ef44d3032962" />
        <resource>
            <Location>
                <identifier>
                    <use value="official" />
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="RBA11" />
                </identifier>
                <status value="active" />
                <mode value="instance" />
                <address>
                    <use value="work" />
                    <line value="MUSGROVE PARK HOSPITAL" />
                    <city value="TAUNTON" />
                    <postalCode value="TA1 5DA" />
                    <country value="NLD" />
                </address>
            </Location>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a" />
        <resource>
            <Practitioner>
                <id value="a8c85454-f8cb-498d-9629-78e2cb5fa47a" />
                <identifier>
                    <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
                    <value value="C1234567" />
                </identifier>
                <name>
                    <family value="ALI" />
                    <given value="RAZIA" />
                    <prefix value="DR" />
                </name>
            </Practitioner>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
        <resource>
            <Organization>
                <id value="3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="RBA" />
                </identifier>
                <name value="TAUNTON AND SOMERSET NHS FOUNDATION TRUST" />
                <telecom>
                    <system value="phone" />
                    <value value="01823333444" />
                    <use value="work" />
                </telecom>
                <address>
                    <line value="MUSGROVE PARK HOSPITAL" />
                    <line value="PARKFIELD DRIVE" />
                    <line value="TAUNTON" />
                    <postalCode value="TA1 5DA" />
                </address>
            </Organization>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:54b0506d-49af-4245-9d40-d7d64902055e" />
        <resource>
            <HealthcareService>
                <id value="54b0506d-49af-4245-9d40-d7d64902055e" />
                <identifier>
                    <use value="official" />
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="A99968" />
                </identifier>
                <active value="true" />
                <location>
                    <reference value="urn:uuid:044e7916-c697-4072-880e-ef44d3032962" />
                </location>
                <name value="SOMERSET BOWEL CANCER SCREENING CENTRE" />
                <telecom>
                    <system value="phone" />
                    <value value="01823 333444" />
                    <use value="work" />
                </telecom>
            </HealthcareService>
        </resource>
    </entry>
</Bundle>
Bundle
back to top