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-update

This message definition describes the rules for a Prescription Order Update interactions used in a FHIR Messaging exchange. It us used to cancel a prescription.


Event Coding

System Code
Message Events prescription-order-update
Category
consequence

Reason


Any code from Message Reason Code Prescription.


Prescription - Cancel

The MessageHeader.reason should be cancel


MessageHeader

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


Focus

Profile Min Max
NHSDigital-MedicationRequest 1 1
NHSDigital-Patient 1 1
NHSDigital-PractitionerRole 1 *
Response Required
always
Allowed Responses
prescription-order-response
<MessageDefinition xmlns="http://hl7.org/fhir">
    <id value="prescription-order-update" />
    <url value="https://fhir.nhs.uk/MessageDefinition/prescription-order-update" />
    <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 Update" />
    <status value="active" />
    <date value="2020-08-28" />
    <eventCoding>
        <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
        <code value="prescription-order-update" />
        <display value="Prescription Order Update" />
    </eventCoding>
    <category value="notification" />
    <focus>
        <code value="MessageHeader" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-MessageHeader" />
        <min value="1" />
        <max value="1" />
    </focus>
    <focus>
        <code value="MedicationRequest" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest" />
        <min value="1" />
        <max value="1" />
    </focus>
    <focus>
        <code value="Patient" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient" />
        <min value="1" />
        <max value="1" />
    </focus>
    <focus>
        <code value="Practitioner" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner" />
        <min value="1" />
        <max value="*" />
    </focus>
    <focus>
        <code value="PractitionerRole" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole" />
        <min value="1" />
        <max value="*" />
    </focus>
    <focus>
        <code value="Organization" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization" />
        <min value="1" />
        <max value="*" />
    </focus>
    <responseRequired value="always" />
    <allowedResponse>
        <message value="https://fhir.nhs.uk/MessageDefinition/prescription-order-response" />
    </allowedResponse>
</MessageDefinition>
{
    "resourceType": "MessageDefinition",
    "id": "prescription-order-update",
    "url": "https://fhir.nhs.uk/MessageDefinition/prescription-order-update",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "c81b88dc-760e-4b1e-9cdb-c5f853630664"
        }
    ],
    "version": "1.0.0",
    "title": "Pharmacy/Treatment Order Update",
    "status": "active",
    "date": "2020-08-28",
    "eventCoding": {
        "system": "https://fhir.nhs.uk/CodeSystem/message-event",
        "code": "prescription-order-update",
        "display": "Prescription Order Update"
    },
    "category": "notification",
    "focus":  [
        {
            "code": "MessageHeader",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MessageHeader",
            "min": 1,
            "max": "1"
        },
        {
            "code": "MedicationRequest",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest",
            "min": 1,
            "max": "1"
        },
        {
            "code": "Patient",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient",
            "min": 1,
            "max": "1"
        },
        {
            "code": "Practitioner",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner",
            "min": 1,
            "max": "*"
        },
        {
            "code": "PractitionerRole",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole",
            "min": 1,
            "max": "*"
        },
        {
            "code": "Organization",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization",
            "min": 1,
            "max": "*"
        }
    ],
    "responseRequired": "always",
    "allowedResponse":  [
        {
            "message": "https://fhir.nhs.uk/MessageDefinition/prescription-order-response"
        }
    ]
}
back to top