NHS Digital FHIR Medicines

Prescription Dispense Notification

Note this example uses professional codes (https://fhir.hl7.org.uk/Id/gphc-number) for identification of the pharmacist.

{
"resourceType": "Bundle",
"id": "prescription-dispense-notification",
"system": "https://tools.ietf.org/html/rfc4122",
"value": "e9a71955-53ba-b15a-d4b6-bea99d5017b3"
},
"type": "message",
"entry": [
{
"fullUrl": "urn:uuid:e9a71955-53ba-b15a-d4b6-bea99d5017b3",
"resourceType": "MessageHeader",
"system": "https://fhir.nhs.uk/CodeSystem/message-event",
"code": "dispense-notification",
"display": "Dispense Notification"
},
"source": {
"endpoint": "https://directory.spineservices.nhs.uk/STU3/Organization/VNE51"
},
"focus": [
{
"reference": "urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29"
},
{
"reference": "urn:uuid:06167339-9337-d030-0366-514a6a46da17"
}
]
}
},
{
"fullUrl": "urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29",
"resourceType": "MedicationDispense",
{
"resourceType": "PractitionerRole",
"id": "performer",
{
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
"value": "741555508105"
}
],
"code": [
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
"code": "S0030:G0100:R0620"
}
]
}
],
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "7654321"
},
"display": "Mr Peter Potion"
},
"reference": "urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a"
},
"telecom": [
{
"system": "phone",
"use": "work",
"value": "0532567890"
}
]
},
{
"resourceType": "MedicationRequest",
"id": "request2",
"status": "active",
"intent": "order",
{
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "E76622AE-E2DB-5683-2045-D1C229EDA3A2"
}
],
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39692211000001107",
"display": "Flucloxacillin 500mg capsules"
}
]
},
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
"system": "https://fhir.nhs.uk/Id/prescription",
"value": "66317E0C-CE13-59AD-9979-9B568E080160"
}
}
],
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "3C2366-B81001-0A409U"
},
"subject": {
"type": "Patient",
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9300992742"
},
"display": "Mrs Chi Edinburgh"
},
"value": 21,
"unit": "tablet",
"system": "http://snomed.info/sct",
"code": "428673006"
}
},
}
}
],
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus",
"system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
"code": "0003",
"display": "With Dispenser - Active"
}
}
],
{
"system": "https://fhir.nhs.uk/Id/prescription-dispense-item-number",
"value": "4509b70d-d8b8-ea03-1105-64557cb54a29"
}
],
"status": "completed",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39692211000001107",
"display": "Flucloxacillin 500mg capsules"
}
]
},
"subject": {
"type": "Patient",
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9300992742"
},
"display": "Mrs Chi Edinburgh"
},
{
"actor": {
"reference": "#performer"
}
}
],
{
"reference": "#request2"
}
],
"type": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
"code": "0001",
"display": "Item fully dispensed"
}
]
},
"value": 28,
"unit": "capsule",
"system": "http://snomed.info/sct",
"code": "3316911000001105"
},
"value": 7,
"unit": "Day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"whenPrepared": "2004-09-16T16:30:00+00:00",
{
"text": "4 times a day for 7 days",
"timing": {
"repeat": {
"value": 7,
"unit": "d"
},
"frequency": 4,
"period": 1,
"periodUnit": "d"
}
},
{
"value": 1,
"unit": "capsule",
"system": "http://snomed.info/sct",
"code": "3316911000001105"
}
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:06167339-9337-d030-0366-514a6a46da17",
"resourceType": "MedicationDispense",
{
"resourceType": "PractitionerRole",
"id": "performer",
{
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
"value": "741555508105"
}
],
"code": [
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
"code": "S0030:G0100:R0620"
}
]
}
],
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "7654321"
},
"display": "Mr Peter Potion"
},
"reference": "urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a"
},
"telecom": [
{
"system": "phone",
"use": "work",
"value": "0532567890"
}
]
},
{
"resourceType": "MedicationRequest",
"id": "request1",
{
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "E76622AE-E2DB-5683-2045-D1C229EDA3A2"
}
],
"status": "active",
"intent": "order",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "585011000001109",
"display": "Metronidazole 400mg tablets (Teva UK Ltd)"
}
]
},
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
"system": "https://fhir.nhs.uk/Id/prescription",
"value": "66317E0C-CE13-59AD-9979-9B568E080160"
}
}
],
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "3C2366-B81001-0A409U"
},
"subject": {
"type": "Patient",
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9300992742"
},
"display": "Mrs Chi Edinburgh"
},
"value": 21,
"unit": "tablet",
"system": "http://snomed.info/sct",
"code": "428673006"
}
},
}
}
],
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus",
"system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
"code": "0003",
"display": "With Dispenser - Active"
}
}
],
{
"system": "https://fhir.nhs.uk/Id/prescription-dispense-item-number",
"value": "06167339-9337-d030-0366-514a6a46da17"
}
],
"status": "in-progress",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "585011000001109",
"display": "Metronidazole 400mg tablets (Teva UK Ltd)"
}
]
},
"subject": {
"type": "Patient",
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9300992742"
},
"display": "Mrs Chi Edinburgh"
},
{
"actor": {
"reference": "#performer"
}
}
],
{
"reference": "#request1"
}
],
"type": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
"code": "0003",
"display": "Item dispensed - partial"
}
]
},
"value": 21,
"unit": "tablet",
"system": "http://snomed.info/sct",
"code": "428673006"
},
"value": 7,
"unit": "Day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"whenPrepared": "2004-09-16T16:30:00+00:00",
{
"text": "3 times a day for 10 days",
"timing": {
"repeat": {
"value": 10,
"unit": "d"
},
"frequency": 3,
"period": 1,
"periodUnit": "d"
}
},
{
"value": 1,
"unit": "tablet",
"system": "http://snomed.info/sct",
"code": "428673006"
}
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a",
"resourceType": "Organization",
{
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "FK545"
}
],
"address": [
{
"city": "West Yorkshire",
"use": "work",
"line": [
"17 Austhorpe Road",
"Crossgates",
"Leeds"
],
"postalCode": "LS15 8BA"
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/organisation-role",
"code": "182",
"display": "PHARMACY"
}
]
}
],
"name": "Crossgates Day & Night Pharmacy",
"telecom": [
{
"system": "phone",
"use": "work",
"value": "0113 3180277"
}
]
}
}
]
}
<Bundle xmlns="http://hl7.org/fhir">
<id value="prescription-dispense-notification" />
<system value="https://tools.ietf.org/html/rfc4122" />
<value value="e9a71955-53ba-b15a-d4b6-bea99d5017b3" />
</identifier>
<type value="message" />
<fullUrl value="urn:uuid:e9a71955-53ba-b15a-d4b6-bea99d5017b3" />
<MessageHeader>
<system value="https://fhir.nhs.uk/CodeSystem/message-event" />
<code value="dispense-notification" />
<display value="Dispense Notification" />
</eventCoding>
<endpoint value="https://directory.spineservices.nhs.uk/STU3/Organization/VNE51" />
</source>
<reference value="urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29" />
</focus>
<reference value="urn:uuid:06167339-9337-d030-0366-514a6a46da17" />
</focus>
</MessageHeader>
</resource>
</entry>
<fullUrl value="urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29" />
<MedicationDispense>
<PractitionerRole>
<id value="performer" />
<system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
<value value="741555508105" />
</identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id" />
<value value="7654321" />
</identifier>
<display value="Mr Peter Potion" />
</practitioner>
<reference value="urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a" />
</organization>
<system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
<code value="S0030:G0100:R0620" />
</coding>
</code>
<system value="phone" />
<value value="0532567890" />
<use value="work" />
</telecom>
</PractitionerRole>
</contained>
<MedicationRequest>
<id value="request2" />
<system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
<value value="E76622AE-E2DB-5683-2045-D1C229EDA3A2" />
</identifier>
<status value="active" />
<intent value="order" />
<system value="http://snomed.info/sct" />
<code value="39692211000001107" />
<display value="Flucloxacillin 500mg capsules" />
</coding>
</medicationCodeableConcept>
<type value="Patient" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9300992742" />
</identifier>
<display value="Mrs Chi Edinburgh" />
</subject>
<extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
<system value="https://fhir.nhs.uk/Id/prescription" />
<value value="66317E0C-CE13-59AD-9979-9B568E080160" />
</valueIdentifier>
</extension>
<system value="https://fhir.nhs.uk/Id/prescription-order-number" />
<value value="3C2366-B81001-0A409U" />
</groupIdentifier>
<value value="21" />
<unit value="tablet" />
<system value="http://snomed.info/sct" />
<code value="428673006" />
</quantity>
</dispenseRequest>
<allowedBoolean value="false" />
</substitution>
</MedicationRequest>
</contained>
<extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus">
<system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
<code value="0003" />
<display value="With Dispenser - Active" />
</valueCoding>
</extension>
<system value="https://fhir.nhs.uk/Id/prescription-dispense-item-number" />
<value value="4509b70d-d8b8-ea03-1105-64557cb54a29" />
</identifier>
<status value="completed" />
<system value="http://snomed.info/sct" />
<code value="39692211000001107" />
<display value="Flucloxacillin 500mg capsules" />
</coding>
</medicationCodeableConcept>
<type value="Patient" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9300992742" />
</identifier>
<display value="Mrs Chi Edinburgh" />
</subject>
<reference value="#performer" />
</actor>
</performer>
<reference value="#request2" />
</authorizingPrescription>
<system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
<code value="0001" />
<display value="Item fully dispensed" />
</coding>
</type>
<value value="28" />
<unit value="capsule" />
<system value="http://snomed.info/sct" />
<code value="3316911000001105" />
</quantity>
<value value="7" />
<unit value="Day" />
<system value="http://unitsofmeasure.org" />
<code value="d" />
</daysSupply>
<whenPrepared value="2004-09-16T16:30:00+00:00" />
<text value="4 times a day for 7 days" />
<value value="7" />
<unit value="d" />
</boundsDuration>
<frequency value="4" />
<period value="1" />
<periodUnit value="d" />
</repeat>
</timing>
<value value="1" />
<unit value="capsule" />
<system value="http://snomed.info/sct" />
<code value="3316911000001105" />
</doseQuantity>
</doseAndRate>
</dosageInstruction>
</MedicationDispense>
</resource>
</entry>
<fullUrl value="urn:uuid:06167339-9337-d030-0366-514a6a46da17" />
<MedicationDispense>
<PractitionerRole>
<id value="performer" />
<system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
<value value="741555508105" />
</identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id" />
<value value="7654321" />
</identifier>
<display value="Mr Peter Potion" />
</practitioner>
<reference value="urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a" />
</organization>
<system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
<code value="S0030:G0100:R0620" />
</coding>
</code>
<system value="phone" />
<value value="0532567890" />
<use value="work" />
</telecom>
</PractitionerRole>
</contained>
<MedicationRequest>
<id value="request1" />
<system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
<value value="E76622AE-E2DB-5683-2045-D1C229EDA3A2" />
</identifier>
<status value="active" />
<intent value="order" />
<system value="http://snomed.info/sct" />
<code value="585011000001109" />
<display value="Metronidazole 400mg tablets (Teva UK Ltd)" />
</coding>
</medicationCodeableConcept>
<type value="Patient" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9300992742" />
</identifier>
<display value="Mrs Chi Edinburgh" />
</subject>
<extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
<system value="https://fhir.nhs.uk/Id/prescription" />
<value value="66317E0C-CE13-59AD-9979-9B568E080160" />
</valueIdentifier>
</extension>
<system value="https://fhir.nhs.uk/Id/prescription-order-number" />
<value value="3C2366-B81001-0A409U" />
</groupIdentifier>
<value value="21" />
<unit value="tablet" />
<system value="http://snomed.info/sct" />
<code value="428673006" />
</quantity>
</dispenseRequest>
<allowedBoolean value="false" />
</substitution>
</MedicationRequest>
</contained>
<extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus">
<system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
<code value="0003" />
<display value="With Dispenser - Active" />
</valueCoding>
</extension>
<system value="https://fhir.nhs.uk/Id/prescription-dispense-item-number" />
<value value="06167339-9337-d030-0366-514a6a46da17" />
</identifier>
<status value="in-progress" />
<system value="http://snomed.info/sct" />
<code value="585011000001109" />
<display value="Metronidazole 400mg tablets (Teva UK Ltd)" />
</coding>
</medicationCodeableConcept>
<type value="Patient" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9300992742" />
</identifier>
<display value="Mrs Chi Edinburgh" />
</subject>
<reference value="#performer" />
</actor>
</performer>
<reference value="#request1" />
</authorizingPrescription>
<system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
<code value="0003" />
<display value="Item dispensed - partial" />
</coding>
</type>
<value value="21" />
<unit value="tablet" />
<system value="http://snomed.info/sct" />
<code value="428673006" />
</quantity>
<value value="7" />
<unit value="Day" />
<system value="http://unitsofmeasure.org" />
<code value="d" />
</daysSupply>
<whenPrepared value="2004-09-16T16:30:00+00:00" />
<text value="3 times a day for 10 days" />
<value value="10" />
<unit value="d" />
</boundsDuration>
<frequency value="3" />
<period value="1" />
<periodUnit value="d" />
</repeat>
</timing>
<value value="1" />
<unit value="tablet" />
<system value="http://snomed.info/sct" />
<code value="428673006" />
</doseQuantity>
</doseAndRate>
</dosageInstruction>
</MedicationDispense>
</resource>
</entry>
<fullUrl value="urn:uuid:b70c1bf2-0c29-4f73-b041-708bd375a98a" />
<Organization>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="FK545" />
</identifier>
<active value="true" />
<system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
<code value="182" />
<display value="PHARMACY" />
</coding>
</type>
<name value="Crossgates Day & Night Pharmacy" />
<system value="phone" />
<value value="0113 3180277" />
<use value="work" />
</telecom>
<use value="work" />
<line value="17 Austhorpe Road" />
<line value="Crossgates" />
<line value="Leeds" />
<city value="West Yorkshire" />
<postalCode value="LS15 8BA" />
</address>
</Organization>
</resource>
</entry>
</Bundle>
Bundle
back to top