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-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
NHSDigital-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.0" />
    <title value="Pharmacy/Treatment Order Response" />
    <status value="active" />
    <date value="2020-08-28" />
    <eventCoding>
        <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
        <code value="prescription-order-response" />
        <display value="Prescription Order Response" />
    </eventCoding>
    <category value="consequence" />
    <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-Outcome" />
        <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>
</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.0",
    "title": "Pharmacy/Treatment Order Response",
    "status": "active",
    "date": "2020-08-28",
    "eventCoding": {
        "system": "https://fhir.nhs.uk/CodeSystem/message-event",
        "code": "prescription-order-response",
        "display": "Prescription Order Response"
    },
    "category": "consequence",
    "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-Outcome",
            "min": 1,
            "max": "4"
        },
        {
            "code": "Patient",
            "profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient",
            "min": 1,
            "max": "1"
        }
    ]
}
back to top