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

This message definition describes the rules for a Prescription Order interactions used in a FHIR Messaging exchange.


Event Coding

System Code
Message Events prescription-order
Category
consequence

MessageHeader

The FHIR Message Bundle MUST contain one MessageHeader resource conforming to NHSDigital-MessageHeader


Focus

Profile Min Max Notes
NHSDigital-MedicationRequest 1 4
NHSDigital-Patient 1 1
NHSDigital-PractitionerRole 1 *
NHSDigital-CommunicationRequest 0 * This is for legacy support of patient messages (e.g. surgery opening times and repeat medication lists) as would appear on printed prescriptions. It is also used in primary care to communicate repeat medication lists.
NHSDigital-Provenance 0 1 MUST for $process-message API. This holds the electronic prescription signature.
NHSDigital-Location 1 * Prescription Address
Response Required
on-error
Allowed Responses
prescription-order-update
Prescription Order Homecare Prepare homecare example (used with `prepare` endpoint to obtain digital signature
Prescription Order Homecare Repeat Medication homecare repeat medication example with digital signature
Prescription Order Homecare using Medication resource homecare example using a Medication resource instead of a CodeableConcept.
Prescription Order Outpatient Acute Medication Outpatient example with acute medication.
Prescription Order Outpatient Multiple Medications Outpatient acute four item prescription, including one Schedule 2 controlled drug
Prescription Order Outpatient Endorsement Outpatient example with endorsed acute medication.
Prescription Order Community No Nominated Pharmacy Community repeat dispensing prescription with no nominated pharmacy.
Prescription Order Community Nurse Prescriber Community acute prescription, nurse prescriber with legal authenticator.
Prescription Order GP with patient notes GP acutue prescription with patient notes and repeat medications list.
<MessageDefinition xmlns="http://hl7.org/fhir">
    <id value="prescription-order" />
    <url value="https://fhir.nhs.uk/MessageDefinition/prescription-order" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="c81b88dc-760e-4b1e-9cdb-c5f853630664" />
    </identifier>
    <version value="1.0.0" />
    <title value="Pharmacy/Treatment Order" />
    <status value="active" />
    <date value="2020-05-27" />
    <eventCoding>
        <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
        <code value="prescription-order" />
        <display value="Prescription Order" />
    </eventCoding>
    <category value="notification" />
    <focus>
        <code value="MedicationRequest" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest" />
        <min value="1" />
        <max value="4" />
    </focus>
    <focus>
        <code value="Patient" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient" />
        <min value="1" />
        <max value="1" />
    </focus>
    <focus>
        <code value="CommunicationRequest" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-CommunicationRequest" />
        <min value="0" />
        <max value="*" />
    </focus>
    <responseRequired value="on-error" />
    <allowedResponse>
        <message value="https://fhir.nhs.uk/MessageDefinition/prescription-order-update" />
    </allowedResponse>
</MessageDefinition>
{
    "resourceType": "MessageDefinition",
    "id": "prescription-order",
    "url": "https://fhir.nhs.uk/MessageDefinition/prescription-order",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "c81b88dc-760e-4b1e-9cdb-c5f853630664"
        }
    ],
    "version": "1.0.0",
    "title": "Pharmacy/Treatment Order",
    "status": "active",
    "date": "2020-05-27",
    "eventCoding": {
        "system": "https://fhir.nhs.uk/CodeSystem/message-event",
        "code": "prescription-order",
        "display": "Prescription Order"
    },
    "category": "notification",
    "focus":  [
        {
            "code": "MedicationRequest",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest",
            "min": 1,
            "max": "4"
        },
        {
            "code": "Patient",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient",
            "min": 1,
            "max": "1"
        },
        {
            "code": "CommunicationRequest",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-CommunicationRequest",
            "min": 0,
            "max": "*"
        }
    ],
    "responseRequired": "on-error",
    "allowedResponse":  [
        {
            "message": "https://fhir.nhs.uk/MessageDefinition/prescription-order-update"
        }
    ]
}
back to top