NHS Digital FHIR Medicines

Prescription Order GP with patient notes
{
    "resourceType": "Bundle",
    "id": "0cb82cfa-76c8-4fb2-a08e-bf0e326e5487",
    "timestamp": "2022-10-21T13:47:00+00:00",
    "identifier": {
        "system": "https://tools.ietf.org/html/rfc4122",
        "value": "46183abc-9fad-4673-85db-ce2cb6614732"
    },
    "type": "message",
    "entry":  [
        {
            "fullUrl": "urn:uuid:17773b27-427e-4940-8c16-64cdac715001",
            "resource": {
                "resourceType": "MessageHeader",
                "eventCoding": {
                    "system": "https://fhir.nhs.uk/CodeSystem/message-event",
                    "code": "prescription-order-update",
                    "display": "Prescription Order Update"
                },
                "sender": {
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "A83008"
                    },
                    "display": "HALLGARTH SURGERY"
                },
                "source": {
                    "endpoint": "https://directory.spineservices.nhs.uk/STU3/Organization/A83008"
                },
                "reason": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                            "code": "cancel",
                            "display": "Cancel"
                        }
                    ]
                },
                "focus":  [
                    {
                        "reference": "urn:uuid:5cb17f5a-11ac-4e18-825f-6470467238b3"
                    },
                    {
                        "reference": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666"
                    },
                    {
                        "reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:5cb17f5a-11ac-4e18-825f-6470467238b3",
            "resource": {
                "resourceType": "MedicationRequest",
                "extension":  [
                    {
                        "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType",
                        "valueCoding": {
                            "system": "https://fhir.nhs.uk/CodeSystem/prescription-type",
                            "code": "0101",
                            "display": "Primary Care Prescriber - Medical Prescriber"
                        }
                    },
                    {
                        "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation",
                        "extension":  [
                            {
                                "url": "authorisationExpiryDate",
                                "valueDateTime": "2023-04-07"
                            }
                        ]
                    }
                ],
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                        "value": "5cb17f5a-11ac-4e18-825f-6470467238b3"
                    }
                ],
                "status": "cancelled",
                "statusReason": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason",
                            "code": "0002",
                            "display": "Clinical contra-indication"
                        }
                    ]
                },
                "intent": "original-order",
                "category":  [
                    {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                                "code": "community",
                                "display": "Community"
                            }
                        ]
                    }
                ],
                "medicationCodeableConcept": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "324252006",
                            "display": "Azithromycin 250mg capsules"
                        }
                    ]
                },
                "subject": {
                    "reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2"
                },
                "authoredOn": "2022-10-21T13:47:00+00:00",
                "requester": {
                    "reference": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666"
                },
                "groupIdentifier": {
                    "system": "https://fhir.nhs.uk/Id/prescription-order-number",
                    "value": "24F5DA-A83008-7EFE6Z",
                    "extension":  [
                        {
                            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
                            "valueIdentifier": {
                                "system": "https://fhir.nhs.uk/Id/prescription",
                                "value": "20ba5fb5-cb58-462c-923e-22d180b09356"
                            }
                        }
                    ]
                },
                "courseOfTherapyType": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-course-of-therapy",
                            "code": "continuous-repeat-dispensing",
                            "display": "Continuous long term (repeat dispensing)"
                        }
                    ]
                },
                "dosageInstruction":  [
                    {
                        "text": "3 times a day for 10 days",
                        "timing": {
                            "repeat": {
                                "frequency": 3,
                                "period": 1,
                                "periodUnit": "d"
                            }
                        },
                        "route": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "26643006",
                                    "display": "Oral"
                                }
                            ]
                        }
                    }
                ],
                "dispenseRequest": {
                    "extension":  [
                        {
                            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
                            "valueCoding": {
                                "system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
                                "code": "P1"
                            }
                        }
                    ],
                    "validityPeriod": {
                        "start": "2022-10-21"
                    },
                    "numberOfRepeatsAllowed": 6,
                    "quantity": {
                        "value": 30,
                        "unit": "tablet",
                        "system": "http://snomed.info/sct",
                        "code": "428673006"
                    },
                    "expectedSupplyDuration": {
                        "value": 10,
                        "unit": "day",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "performer": {
                        "identifier": {
                            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                            "value": "VNE51"
                        }
                    }
                },
                "substitution": {
                    "allowedBoolean": false
                }
            }
        },
        {
            "fullUrl": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2",
            "resource": {
                "resourceType": "Patient",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9449304130"
                    }
                ],
                "name":  [
                    {
                        "use": "usual",
                        "family": "TWITCHETT",
                        "given":  [
                            "STACEY",
                            "MARISA"
                        ],
                        "prefix":  [
                            "MS"
                        ]
                    }
                ],
                "gender": "female",
                "birthDate": "1948-04-30",
                "address":  [
                    {
                        "use": "home",
                        "line":  [
                            "10 HEATHFIELD",
                            "COBHAM",
                            "SURREY"
                        ],
                        "postalCode": "KT11 2QY"
                    }
                ],
                "generalPractitioner":  [
                    {
                        "identifier": {
                            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                            "value": "A83008"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666",
            "resource": {
                "resourceType": "PractitionerRole",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                        "value": "200102238987"
                    }
                ],
                "practitioner": {
                    "reference": "urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a"
                },
                "organization": {
                    "reference": "urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8"
                },
                "code":  [
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
                                "code": "R8000",
                                "display": "Clinical Practitioner Access Role"
                            },
                            {
                                "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName",
                                "code": "R8000",
                                "display": "Clinical Practitioner Access Role"
                            }
                        ]
                    }
                ],
                "telecom":  [
                    {
                        "system": "phone",
                        "use": "work",
                        "value": "01234567890"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a",
            "resource": {
                "resourceType": "Practitioner",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/sds-user-id",
                        "value": "555086689106"
                    },
                    {
                        "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                        "value": "C6095103"
                    },
                    {
                        "system": "https://fhir.hl7.org.uk/Id/din-number",
                        "value": "977677"
                    }
                ],
                "name":  [
                    {
                        "family": "BOIN",
                        "given":  [
                            "C"
                        ],
                        "prefix":  [
                            "DR"
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
            "resource": {
                "resourceType": "Organization",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "A83008"
                    }
                ],
                "type":  [
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.nhs.uk/CodeSystem/organisation-role",
                                "code": "76",
                                "display": "GP PRACTICE"
                            }
                        ]
                    }
                ],
                "name": "HALLGARTH SURGERY",
                "telecom":  [
                    {
                        "system": "phone",
                        "use": "work",
                        "value": "0115 9737320"
                    }
                ],
                "address":  [
                    {
                        "use": "work",
                        "type": "both",
                        "line":  [
                            "HALLGARTH SURGERY",
                            "CHEAPSIDE"
                        ],
                        "city": "SHILDON",
                        "district": "COUNTY DURHAM",
                        "postalCode": "DL4 2HP"
                    }
                ],
                "partOf": {
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "84H"
                    },
                    "display": "NHS COUNTY DURHAM CCG"
                }
            }
        }
    ]
}
<Bundle xmlns="http://hl7.org/fhir">
    <id value="0cb82cfa-76c8-4fb2-a08e-bf0e326e5487" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="46183abc-9fad-4673-85db-ce2cb6614732" />
    </identifier>
    <type value="message" />
    <timestamp value="2022-10-21T13:47:00+00:00" />
    <entry>
        <fullUrl value="urn:uuid:17773b27-427e-4940-8c16-64cdac715001" />
        <resource>
            <MessageHeader>
                <eventCoding>
                    <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
                    <code value="prescription-order-update" />
                    <display value="Prescription Order Update" />
                </eventCoding>
                <sender>
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="A83008" />
                    </identifier>
                    <display value="HALLGARTH SURGERY" />
                </sender>
                <source>
                    <endpoint value="https://directory.spineservices.nhs.uk/STU3/Organization/A83008" />
                </source>
                <reason>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
                        <code value="cancel" />
                        <display value="Cancel" />
                    </coding>
                </reason>
                <focus>
                    <reference value="urn:uuid:5cb17f5a-11ac-4e18-825f-6470467238b3" />
                </focus>
                <focus>
                    <reference value="urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666" />
                </focus>
                <focus>
                    <reference value="urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
                </focus>
            </MessageHeader>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:5cb17f5a-11ac-4e18-825f-6470467238b3" />
        <resource>
            <MedicationRequest>
                <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType">
                    <valueCoding>
                        <system value="https://fhir.nhs.uk/CodeSystem/prescription-type" />
                        <code value="0101" />
                        <display value="Primary Care Prescriber - Medical Prescriber" />
                    </valueCoding>
                </extension>
                <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation">
                    <extension url="authorisationExpiryDate">
                        <valueDateTime value="2023-04-07" />
                    </extension>
                </extension>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                    <value value="5cb17f5a-11ac-4e18-825f-6470467238b3" />
                </identifier>
                <status value="cancelled" />
                <statusReason>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason" />
                        <code value="0002" />
                        <display value="Clinical contra-indication" />
                    </coding>
                </statusReason>
                <intent value="original-order" />
                <category>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
                        <code value="community" />
                        <display value="Community" />
                    </coding>
                </category>
                <medicationCodeableConcept>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="324252006" />
                        <display value="Azithromycin 250mg capsules" />
                    </coding>
                </medicationCodeableConcept>
                <subject>
                    <reference value="urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
                </subject>
                <authoredOn value="2022-10-21T13:47:00+00:00" />
                <requester>
                    <reference value="urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666" />
                </requester>
                <groupIdentifier>
                    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
                        <valueIdentifier>
                            <system value="https://fhir.nhs.uk/Id/prescription" />
                            <value value="20ba5fb5-cb58-462c-923e-22d180b09356" />
                        </valueIdentifier>
                    </extension>
                    <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
                    <value value="24F5DA-A83008-7EFE6Z" />
                </groupIdentifier>
                <courseOfTherapyType>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-course-of-therapy" />
                        <code value="continuous-repeat-dispensing" />
                        <display value="Continuous long term (repeat dispensing)" />
                    </coding>
                </courseOfTherapyType>
                <dosageInstruction>
                    <text value="3 times a day for 10 days" />
                    <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>
                <dispenseRequest>
                    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType">
                        <valueCoding>
                            <system value="https://fhir.nhs.uk/CodeSystem/dispensing-site-preference" />
                            <code value="P1" />
                        </valueCoding>
                    </extension>
                    <validityPeriod>
                        <start value="2022-10-21" />
                    </validityPeriod>
                    <numberOfRepeatsAllowed value="6" />
                    <quantity>
                        <value value="30" />
                        <unit value="tablet" />
                        <system value="http://snomed.info/sct" />
                        <code value="428673006" />
                    </quantity>
                    <expectedSupplyDuration>
                        <value value="10" />
                        <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>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/nhs-number" />
                    <value value="9449304130" />
                </identifier>
                <name>
                    <use value="usual" />
                    <family value="TWITCHETT" />
                    <given value="STACEY" />
                    <given value="MARISA" />
                    <prefix value="MS" />
                </name>
                <gender value="female" />
                <birthDate value="1948-04-30" />
                <address>
                    <use value="home" />
                    <line value="10 HEATHFIELD" />
                    <line value="COBHAM" />
                    <line value="SURREY" />
                    <postalCode value="KT11 2QY" />
                </address>
                <generalPractitioner>
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="A83008" />
                    </identifier>
                </generalPractitioner>
            </Patient>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666" />
        <resource>
            <PractitionerRole>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                    <value value="200102238987" />
                </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.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                        <code value="R8000" />
                        <display value="Clinical Practitioner Access Role" />
                    </coding>
                    <coding>
                        <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName" />
                        <code value="R8000" />
                        <display value="Clinical Practitioner Access Role" />
                    </coding>
                </code>
                <telecom>
                    <system value="phone" />
                    <value value="01234567890" />
                    <use value="work" />
                </telecom>
            </PractitionerRole>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:a8c85454-f8cb-498d-9629-78e2cb5fa47a" />
        <resource>
            <Practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="555086689106" />
                </identifier>
                <identifier>
                    <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
                    <value value="C6095103" />
                </identifier>
                <identifier>
                    <system value="https://fhir.hl7.org.uk/Id/din-number" />
                    <value value="977677" />
                </identifier>
                <name>
                    <family value="BOIN" />
                    <given value="C" />
                    <prefix value="DR" />
                </name>
            </Practitioner>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
        <resource>
            <Organization>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="A83008" />
                </identifier>
                <type>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
                        <code value="76" />
                        <display value="GP PRACTICE" />
                    </coding>
                </type>
                <name value="HALLGARTH SURGERY" />
                <telecom>
                    <system value="phone" />
                    <value value="0115 9737320" />
                    <use value="work" />
                </telecom>
                <address>
                    <use value="work" />
                    <type value="both" />
                    <line value="HALLGARTH SURGERY" />
                    <line value="CHEAPSIDE" />
                    <city value="SHILDON" />
                    <district value="COUNTY DURHAM" />
                    <postalCode value="DL4 2HP" />
                </address>
                <partOf>
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="84H" />
                    </identifier>
                    <display value="NHS COUNTY DURHAM CCG" />
                </partOf>
            </Organization>
        </resource>
    </entry>
</Bundle>
Bundle
back to top