NHS Digital FHIR Medicines

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

prescription-order-response

This message definition describes the rules for a Prescription Order Response interactions used in a FHIR Messaging exchange. This is used as a response to the prescription-order-update message.


Event Coding

System Code
Message Events prescription-order-response
Category
consequence

MessageHeader

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


Focus

Profile Min Max
DM-MedicationRequest-Outcome 1 4
<MessageDefinition xmlns="http://hl7.org/fhir">
    <id value="prescription-order-response" />
    <url value="https://fhir.nhs.uk/MessageDefinition/prescription-order-response" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="c81b88dc-760e-4b1e-9cdb-c5f853630664" />
    </identifier>
    <version value="1.0.1" />
    <name value="NHSDigitalPrescriptionOrderResponse" />
    <title value="Pharmacy/Treatment Order Response" />
    <status value="retired" />
    <date value="2022-03-01" />
    <description value="response to a prescription-order-update message" />
    <eventCoding>
        <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
        <code value="prescription-order-response" />
        <display value="Prescription Order Response" />
    </eventCoding>
    <category value="notification" />
    <focus>
        <code value="MedicationRequest" />
        <profile value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-Outcome" />
        <min value="1" />
        <max value="4" />
    </focus>
</MessageDefinition>
{
    "resourceType": "MessageDefinition",
    "id": "prescription-order-response",
    "url": "https://fhir.nhs.uk/MessageDefinition/prescription-order-response",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "c81b88dc-760e-4b1e-9cdb-c5f853630664"
        }
    ],
    "version": "1.0.1",
    "name": "NHSDigitalPrescriptionOrderResponse",
    "title": "Pharmacy/Treatment Order Response",
    "status": "retired",
    "date": "2022-03-01",
    "description": "response to a prescription-order-update message",
    "eventCoding": {
        "system": "https://fhir.nhs.uk/CodeSystem/message-event",
        "code": "prescription-order-response",
        "display": "Prescription Order Response"
    },
    "category": "notification",
    "focus":  [
        {
            "code": "MedicationRequest",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-Outcome",
            "min": 1,
            "max": "4"
        }
    ]
}
back to top