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.

3rd dispense event - completed

{
    "resourceType": "Bundle",
    "id": "334a3195-1f6c-497a-8efe-d272ca9c4e38",
    "identifier": {
        "system": "https://tools.ietf.org/html/rfc4122",
        "value": "334a3195-1f6c-497a-8efe-d272ca9c4e38"
    },
    "type": "message",
    "entry":  [
        {
            "fullUrl": "urn:uuid:e9a71955-53ba-b15a-d4b6-bea99d5017b3",
            "resource": {
                "resourceType": "MessageHeader",
                "eventCoding": {
                    "system": "https://fhir.nhs.uk/CodeSystem/message-event",
                    "code": "dispense-notification",
                    "display": "Dispense Notification"
                },
                "source": {
                    "name": "The Simple Pharmacy",
                    "endpoint": "https://directory.spineservices.nhs.uk/STU3/Organization/VNE51"
                },
                "reason": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                            "code": "notification",
                            "display": "Notification"
                        }
                    ]
                },
                "response": {
                    "identifier": "6b1d6d0f-f154-48c9-80e5-48f041585185",
                    "code": "ok"
                },
                "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",
            "resource": {
                "resourceType": "MedicationDispense",
                "contained":  [
                    {
                        "resourceType": "PractitionerRole",
                        "id": "performer",
                        "identifier":  [
                            {
                                "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"
                                    }
                                ]
                            }
                        ],
                        "practitioner": {
                            "identifier": {
                                "system": "https://fhir.nhs.uk/Id/sds-user-id",
                                "value": "7654321"
                            },
                            "display": "Mr Peter Potion"
                        },
                        "organization": {
                            "reference": "urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b"
                        },
                        "telecom":  [
                            {
                                "system": "phone",
                                "use": "work",
                                "value": "0532567890"
                            }
                        ]
                    },
                    {
                        "resourceType": "MedicationRequest",
                        "id": "m1",
                        "identifier":  [
                            {
                                "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                                "value": "299c610b-f4f1-4eac-a7d7-4fb6b0556e11"
                            }
                        ],
                        "status": "active",
                        "intent": "order",
                        "medicationCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "39720311000001101",
                                    "display": "Paracetamol 500mg soluble tablets"
                                }
                            ]
                        },
                        "subject": {
                            "identifier": {
                                "system": "https://fhir.nhs.uk/Id/nhs-number",
                                "value": "9876543210"
                            }
                        },
                        "groupIdentifier": {
                            "extension":  [
                                {
                                    "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
                                    "valueIdentifier": {
                                        "system": "https://fhir.nhs.uk/Id/prescription",
                                        "value": "b2fc79f0-2793-4736-9b2d-0976c21e73a5"
                                    }
                                }
                            ],
                            "system": "https://fhir.nhs.uk/Id/prescription-order-number",
                            "value": "82D996-C81010-11DB12"
                        },
                        "dispenseRequest": {
                            "quantity": {
                                "value": 100,
                                "unit": "tablet",
                                "system": "http://snomed.info/sct",
                                "code": "732936001"
                            }
                        },
                        "substitution": {
                            "allowedBoolean": false
                        }
                    }
                ],
                "extension":  [
                    {
                        "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus",
                        "valueCoding": {
                            "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
                            "code": "0006",
                            "display": "Dispensed"
                        }
                    }
                ],
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/prescription-dispense-item-number",
                        "value": "228e8360-c490-4de6-a33b-daeb6a8d904a"
                    }
                ],
                "status": "completed",
                "medicationCodeableConcept": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "2274211000001101",
                            "display": "Paracetamol 500mg soluble tablets (Kent Pharma (UK) Ltd) 16 tablet 2 x 8 tablets"
                        }
                    ]
                },
                "subject": {
                    "type": "Patient",
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9876543210"
                    },
                    "display": "Miss Bernie Kanfeld"
                },
                "performer":  [
                    {
                        "actor": {
                            "reference": "#performer"
                        }
                    }
                ],
                "authorizingPrescription":  [
                    {
                        "reference": "#m1"
                    }
                ],
                "type": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
                            "code": "0001",
                            "display": "Item fully dispensed"
                        }
                    ]
                },
                "quantity": {
                    "value": 16,
                    "unit": "tablet",
                    "system": "http://snomed.info/sct",
                    "code": "732936001"
                },
                "daysSupply": {
                    "value": 4,
                    "unit": "Day",
                    "system": "http://unitsofmeasure.org",
                    "code": "d"
                },
                "whenPrepared": "2020-06-25T15:30:00+00:00",
                "dosageInstruction":  [
                    {
                        "text": "100 tablets. One tablet to be taken four times a day",
                        "timing": {
                            "repeat": {
                                "frequency": 5,
                                "period": 1,
                                "periodUnit": "d"
                            }
                        },
                        "route": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "26643006",
                                    "display": "Oral"
                                }
                            ]
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:06167339-9337-d030-0366-514a6a46da17",
            "resource": {
                "resourceType": "MedicationDispense",
                "contained":  [
                    {
                        "resourceType": "PractitionerRole",
                        "id": "performer",
                        "identifier":  [
                            {
                                "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"
                                    }
                                ]
                            }
                        ],
                        "practitioner": {
                            "identifier": {
                                "system": "https://fhir.nhs.uk/Id/sds-user-id",
                                "value": "7654321"
                            },
                            "display": "Mr Peter Potion"
                        },
                        "organization": {
                            "reference": "urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b"
                        },
                        "telecom":  [
                            {
                                "system": "phone",
                                "use": "work",
                                "value": "0532567890"
                            }
                        ]
                    },
                    {
                        "resourceType": "MedicationRequest",
                        "id": "m2",
                        "identifier":  [
                            {
                                "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                                "value": "5cb17f5a-11ac-4e18-825f-6470467238b3"
                            }
                        ],
                        "status": "active",
                        "intent": "order",
                        "medicationCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "35936511000001108",
                                    "display": "Salbutamol 100micrograms/dose inhaler"
                                }
                            ]
                        },
                        "subject": {
                            "identifier": {
                                "system": "https://fhir.nhs.uk/Id/nhs-number",
                                "value": "9876543210"
                            }
                        },
                        "groupIdentifier": {
                            "extension":  [
                                {
                                    "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
                                    "valueIdentifier": {
                                        "system": "https://fhir.nhs.uk/Id/prescription",
                                        "value": "b2fc79f0-2793-4736-9b2d-0976c21e73a5"
                                    }
                                }
                            ],
                            "system": "https://fhir.nhs.uk/Id/prescription-order-number",
                            "value": "82D996-C81010-11DB12"
                        },
                        "dispenseRequest": {
                            "quantity": {
                                "value": 200,
                                "unit": "dose",
                                "system": "http://snomed.info/sct",
                                "code": "3317411000001100"
                            }
                        },
                        "substitution": {
                            "allowedBoolean": false
                        }
                    }
                ],
                "extension":  [
                    {
                        "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus",
                        "valueCoding": {
                            "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
                            "code": "0006",
                            "display": "Dispensed"
                        }
                    }
                ],
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/prescription-dispense-item-number",
                        "value": "06167339-9337-d030-0366-514a6a46da17"
                    }
                ],
                "status": "completed",
                "medicationCodeableConcept": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "35936511000001108",
                            "display": "Salbutamol 100micrograms/dose inhaler"
                        }
                    ]
                },
                "subject": {
                    "type": "Patient",
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9876543210"
                    },
                    "display": "Miss Bernie Kanfeld"
                },
                "performer":  [
                    {
                        "actor": {
                            "reference": "#performer"
                        }
                    }
                ],
                "authorizingPrescription":  [
                    {
                        "reference": "#m2"
                    }
                ],
                "quantity": {
                    "value": 0,
                    "unit": "unit dose",
                    "system": "http://snomed.info/sct",
                    "code": "408102007"
                },
                "type": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
                            "code": "0001",
                            "display": "Item fully dispensed"
                        }
                    ]
                }
            }
        },
        {
            "fullUrl": "urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b",
            "resource": {
                "resourceType": "Organization",
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "VNE51"
                    }
                ],
                "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": "The Simple Pharmacy",
                "telecom":  [
                    {
                        "system": "phone",
                        "use": "work",
                        "value": "0113 3180277"
                    }
                ]
            }
        }
    ]
}
<Bundle xmlns="http://hl7.org/fhir">
    <id value="334a3195-1f6c-497a-8efe-d272ca9c4e38" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="334a3195-1f6c-497a-8efe-d272ca9c4e38" />
    </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="dispense-notification" />
                    <display value="Dispense Notification" />
                </eventCoding>
                <source>
                    <name value="The Simple Pharmacy" />
                    <endpoint value="https://directory.spineservices.nhs.uk/STU3/Organization/VNE51" />
                </source>
                <reason>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
                        <code value="notification" />
                        <display value="Notification" />
                    </coding>
                </reason>
                <response>
                    <identifier value="6b1d6d0f-f154-48c9-80e5-48f041585185" />
                    <code value="ok" />
                </response>
                <focus>
                    <reference value="urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29" />
                </focus>
                <focus>
                    <reference value="urn:uuid:06167339-9337-d030-0366-514a6a46da17" />
                </focus>
            </MessageHeader>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:4509b70d-d8b8-ea03-1105-64557cb54a29" />
        <resource>
            <MedicationDispense>
                <contained>
                    <PractitionerRole>
                        <id value="performer" />
                        <identifier>
                            <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                            <value value="741555508105" />
                        </identifier>
                        <practitioner>
                            <identifier>
                                <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                                <value value="7654321" />
                            </identifier>
                            <display value="Mr Peter Potion" />
                        </practitioner>
                        <organization>
                            <reference value="urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b" />
                        </organization>
                        <code>
                            <coding>
                                <system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                                <code value="S0030:G0100:R0620" />
                            </coding>
                        </code>
                        <telecom>
                            <system value="phone" />
                            <value value="0532567890" />
                            <use value="work" />
                        </telecom>
                    </PractitionerRole>
                </contained>
                <contained>
                    <MedicationRequest>
                        <id value="m1" />
                        <identifier>
                            <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                            <value value="299c610b-f4f1-4eac-a7d7-4fb6b0556e11" />
                        </identifier>
                        <status value="active" />
                        <intent value="order" />
                        <medicationCodeableConcept>
                            <coding>
                                <system value="http://snomed.info/sct" />
                                <code value="39720311000001101" />
                                <display value="Paracetamol 500mg soluble tablets" />
                            </coding>
                        </medicationCodeableConcept>
                        <subject>
                            <identifier>
                                <system value="https://fhir.nhs.uk/Id/nhs-number" />
                                <value value="9876543210" />
                            </identifier>
                        </subject>
                        <groupIdentifier>
                            <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
                                <valueIdentifier>
                                    <system value="https://fhir.nhs.uk/Id/prescription" />
                                    <value value="b2fc79f0-2793-4736-9b2d-0976c21e73a5" />
                                </valueIdentifier>
                            </extension>
                            <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
                            <value value="82D996-C81010-11DB12" />
                        </groupIdentifier>
                        <dispenseRequest>
                            <quantity>
                                <value value="100" />
                                <unit value="tablet" />
                                <system value="http://snomed.info/sct" />
                                <code value="732936001" />
                            </quantity>
                        </dispenseRequest>
                        <substitution>
                            <allowedBoolean value="false" />
                        </substitution>
                    </MedicationRequest>
                </contained>
                <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus">
                    <valueCoding>
                        <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
                        <code value="0006" />
                        <display value="Dispensed" />
                    </valueCoding>
                </extension>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/prescription-dispense-item-number" />
                    <value value="228e8360-c490-4de6-a33b-daeb6a8d904a" />
                </identifier>
                <status value="completed" />
                <medicationCodeableConcept>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="2274211000001101" />
                        <display value="Paracetamol 500mg soluble tablets (Kent Pharma (UK) Ltd) 16 tablet 2 x 8 tablets" />
                    </coding>
                </medicationCodeableConcept>
                <subject>
                    <type value="Patient" />
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/nhs-number" />
                        <value value="9876543210" />
                    </identifier>
                    <display value="Miss Bernie Kanfeld" />
                </subject>
                <performer>
                    <actor>
                        <reference value="#performer" />
                    </actor>
                </performer>
                <authorizingPrescription>
                    <reference value="#m1" />
                </authorizingPrescription>
                <type>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
                        <code value="0001" />
                        <display value="Item fully dispensed" />
                    </coding>
                </type>
                <quantity>
                    <value value="16" />
                    <unit value="tablet" />
                    <system value="http://snomed.info/sct" />
                    <code value="732936001" />
                </quantity>
                <daysSupply>
                    <value value="4" />
                    <unit value="Day" />
                    <system value="http://unitsofmeasure.org" />
                    <code value="d" />
                </daysSupply>
                <whenPrepared value="2020-06-25T15:30:00+00:00" />
                <dosageInstruction>
                    <text value="100 tablets. One tablet to be taken four times a day" />
                    <timing>
                        <repeat>
                            <frequency value="5" />
                            <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>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:06167339-9337-d030-0366-514a6a46da17" />
        <resource>
            <MedicationDispense>
                <contained>
                    <PractitionerRole>
                        <id value="performer" />
                        <identifier>
                            <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                            <value value="741555508105" />
                        </identifier>
                        <practitioner>
                            <identifier>
                                <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                                <value value="7654321" />
                            </identifier>
                            <display value="Mr Peter Potion" />
                        </practitioner>
                        <organization>
                            <reference value="urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b" />
                        </organization>
                        <code>
                            <coding>
                                <system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                                <code value="S0030:G0100:R0620" />
                            </coding>
                        </code>
                        <telecom>
                            <system value="phone" />
                            <value value="0532567890" />
                            <use value="work" />
                        </telecom>
                    </PractitionerRole>
                </contained>
                <contained>
                    <MedicationRequest>
                        <id value="m2" />
                        <identifier>
                            <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                            <value value="5cb17f5a-11ac-4e18-825f-6470467238b3" />
                        </identifier>
                        <status value="active" />
                        <intent value="order" />
                        <medicationCodeableConcept>
                            <coding>
                                <system value="http://snomed.info/sct" />
                                <code value="35936511000001108" />
                                <display value="Salbutamol 100micrograms/dose inhaler" />
                            </coding>
                        </medicationCodeableConcept>
                        <subject>
                            <identifier>
                                <system value="https://fhir.nhs.uk/Id/nhs-number" />
                                <value value="9876543210" />
                            </identifier>
                        </subject>
                        <groupIdentifier>
                            <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
                                <valueIdentifier>
                                    <system value="https://fhir.nhs.uk/Id/prescription" />
                                    <value value="b2fc79f0-2793-4736-9b2d-0976c21e73a5" />
                                </valueIdentifier>
                            </extension>
                            <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
                            <value value="82D996-C81010-11DB12" />
                        </groupIdentifier>
                        <dispenseRequest>
                            <quantity>
                                <value value="200" />
                                <unit value="dose" />
                                <system value="http://snomed.info/sct" />
                                <code value="3317411000001100" />
                            </quantity>
                        </dispenseRequest>
                        <substitution>
                            <allowedBoolean value="false" />
                        </substitution>
                    </MedicationRequest>
                </contained>
                <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-TaskBusinessStatus">
                    <valueCoding>
                        <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
                        <code value="0006" />
                        <display value="Dispensed" />
                    </valueCoding>
                </extension>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/prescription-dispense-item-number" />
                    <value value="06167339-9337-d030-0366-514a6a46da17" />
                </identifier>
                <status value="completed" />
                <medicationCodeableConcept>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="35936511000001108" />
                        <display value="Salbutamol 100micrograms/dose inhaler" />
                    </coding>
                </medicationCodeableConcept>
                <subject>
                    <type value="Patient" />
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/nhs-number" />
                        <value value="9876543210" />
                    </identifier>
                    <display value="Miss Bernie Kanfeld" />
                </subject>
                <performer>
                    <actor>
                        <reference value="#performer" />
                    </actor>
                </performer>
                <authorizingPrescription>
                    <reference value="#m2" />
                </authorizingPrescription>
                <type>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
                        <code value="0001" />
                        <display value="Item fully dispensed" />
                    </coding>
                </type>
                <quantity>
                    <value value="0" />
                    <unit value="unit dose" />
                    <system value="http://snomed.info/sct" />
                    <code value="408102007" />
                </quantity>
            </MedicationDispense>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:2bf9f37c-d88b-4f86-ad5f-373c1416e04b" />
        <resource>
            <Organization>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="VNE51" />
                </identifier>
                <active value="true" />
                <type>
                    <coding>
                        <system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
                        <code value="182" />
                        <display value="PHARMACY" />
                    </coding>
                </type>
                <name value="The Simple Pharmacy" />
                <telecom>
                    <system value="phone" />
                    <value value="0113 3180277" />
                    <use value="work" />
                </telecom>
                <address>
                    <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