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.

DM-Prescription-Task-status-reason

Url
https://fhir.nhs.uk/ValueSet/DM-prescription-task-status-reason

ValueSet 'Task (MedicationRequest) Status Reason'

Version1.1.5
StatusDraft

Task (MedicationRequest) Status Reason

This value set includes codes from the following code systems:

  • Import all codes from CodeSystem

Expansion

This expansion was generated on 2021-04-13T12:00:00+00:00

CodeSystemDisplay
R-5000https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyUnable to process message. [Additional Information (if any)]
R-0001https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item was cancelled
R-0099https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyIncompatible version of Request. [Additional Information (if any)]
R-5006https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyFormat of date passed is invalid
R-0010https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item was not cancelled. Prescription has been not dispensed.
R-5888https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyInvalid message
R-0005https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription item had expired
R-0004https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item was not cancelled – Dispensed to Patient
R-0003https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription item was not cancelled – With dispenser active
R-0002https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item was not cancelled – With dispenser
R-0009https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyCancellation functionality disabled in Spine
R-0008https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item not found
R-0007https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item cancellation requested by another prescriber
R-0006https://fhir.nhs.uk/CodeSystem/medicationrequest-status-historyPrescription/item had already been cancelled
{
    "resourceType": "ValueSet",
    "id": "DM-prescription-task-status-reason",
    "url": "https://fhir.nhs.uk/ValueSet/DM-prescription-task-status-reason",
    "version": "1.1.5",
    "name": "Task (MedicationRequest) Status Reason",
    "status": "draft",
    "description": "Task (MedicationRequest) Status Reason",
    "compose": {
        "include":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "version": "1.1.4"
            }
        ]
    },
    "expansion": {
        "timestamp": "2021-04-13T12:00:00+00:00",
        "contains":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-5000",
                "display": "Unable to process message. [Additional Information (if any)]"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0001",
                "display": "Prescription/item was cancelled"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0099",
                "display": "Incompatible version of Request. [Additional Information (if any)]"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-5006",
                "display": "Format of date passed is invalid"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0010",
                "display": "Prescription/item was not cancelled. Prescription has been not dispensed."
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-5888",
                "display": "Invalid message"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0005",
                "display": "Prescription item had expired"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0004",
                "display": "Prescription/item was not cancelled – Dispensed to Patient"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0003",
                "display": "Prescription item was not cancelled – With dispenser active"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0002",
                "display": "Prescription/item was not cancelled – With dispenser"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0009",
                "display": "Cancellation functionality disabled in Spine"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0008",
                "display": "Prescription/item not found"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0007",
                "display": "Prescription/item cancellation requested by another prescriber"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
                "code": "R-0006",
                "display": "Prescription/item had already been cancelled"
            }
        ]
    }
}
<ValueSet xmlns="http://hl7.org/fhir">
    <id value="DM-prescription-task-status-reason" />
    <url value="https://fhir.nhs.uk/ValueSet/DM-prescription-task-status-reason" />
    <version value="1.1.5" />
    <name value="Task (MedicationRequest) Status Reason" />
    <status value="draft" />
    <description value="Task (MedicationRequest) Status Reason" />
    <compose>
        <include>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <version value="1.1.4" />
        </include>
    </compose>
    <expansion>
        <timestamp value="2021-04-13T12:00:00+00:00" />
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-5000" />
            <display value="Unable to process message. [Additional Information (if any)]" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0001" />
            <display value="Prescription/item was cancelled" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0099" />
            <display value="Incompatible version of Request. [Additional Information (if any)]" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-5006" />
            <display value="Format of date passed is invalid" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0010" />
            <display value="Prescription/item was not cancelled. Prescription has been not dispensed." />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-5888" />
            <display value="Invalid message" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0005" />
            <display value="Prescription item had expired" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0004" />
            <display value="Prescription/item was not cancelled – Dispensed to Patient" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0003" />
            <display value="Prescription item was not cancelled – With dispenser active" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0002" />
            <display value="Prescription/item was not cancelled – With dispenser" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0009" />
            <display value="Cancellation functionality disabled in Spine" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0008" />
            <display value="Prescription/item not found" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0007" />
            <display value="Prescription/item cancellation requested by another prescriber" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history" />
            <code value="R-0006" />
            <display value="Prescription/item had already been cancelled" />
        </contains>
    </expansion>
</ValueSet>
back to top