NHS Digital FHIR Medicines

Task Prescription Cancel

A cancel prescription order, cancels the prescription fulfilment request.

{
    "resourceType": "Task",
    "id": "1291fcca-902b-48f3-9d07-1be9ea30d7a0",
    "contained":  [
        {
            "resourceType": "PractitionerRole",
            "id": "requester",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                    "value": "741555508105"
                }
            ],
            "code":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
                            "code": "S0030:G0100:R0620"
                        }
                    ]
                }
            ],
            "practitioner": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/sds-user-id",
                    "value": "2238910010"
                },
                "display": "Dr Liz Scott"
            },
            "organization": {
                "reference": "Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "RBA"
                },
                "display": "The Acute Trust"
            },
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "01234567890"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "ADD2E9DD-DA0A-C266-A4E3-447C68239525"
        }
    ],
    "status": "cancelled",
    "statusReason": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason",
                "code": "0001",
                "display": "Prescribing Error"
            }
        ]
    },
    "intent": "order",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "abort",
                "display": "Mark the focal resource as no longer active"
            }
        ]
    },
    "focus": {
        "reference": "MedicationRequest/ee86a018-779c-4809-999f-a9d89cdfd30f"
    },
    "for": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9453740519"
        },
        "display": "MISS ETTA CORY"
    },
    "authoredOn": "2019-12-30T12:00:00+00:00",
    "requester": {
        "reference": "#requester"
    },
    "note":  [
        {
            "text": "Prescription cancellation reason - missing in nextgen"
        }
    ]
}
<Task xmlns="http://hl7.org/fhir">
    <id value="1291fcca-902b-48f3-9d07-1be9ea30d7a0" />
    <contained>
        <PractitionerRole>
            <id value="requester" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                <value value="741555508105" />
            </identifier>
            <practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="2238910010" />
                </identifier>
                <display value="Dr Liz Scott" />
            </practitioner>
            <organization>
                <reference value="Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="RBA" />
                </identifier>
                <display value="The Acute Trust" />
            </organization>
            <code>
                <coding>
                    <system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                    <code value="S0030:G0100:R0620" />
                </coding>
            </code>
            <telecom>
                <system value="phone" />
                <value value="01234567890" />
                <use value="work" />
            </telecom>
        </PractitionerRole>
    </contained>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="ADD2E9DD-DA0A-C266-A4E3-447C68239525" />
    </identifier>
    <status value="cancelled" />
    <statusReason>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason" />
            <code value="0001" />
            <display value="Prescribing Error" />
        </coding>
    </statusReason>
    <intent value="order" />
    <code>
        <coding>
            <system value="http://hl7.org/fhir/CodeSystem/task-code" />
            <code value="abort" />
            <display value="Mark the focal resource as no longer active" />
        </coding>
    </code>
    <focus>
        <reference value="MedicationRequest/ee86a018-779c-4809-999f-a9d89cdfd30f" />
    </focus>
    <for>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9453740519" />
        </identifier>
        <display value="MISS ETTA CORY" />
    </for>
    <authoredOn value="2019-12-30T12:00:00+00:00" />
    <requester>
        <reference value="#requester" />
    </requester>
    <note>
        <text value="Prescription cancellation reason - missing in nextgen" />
    </note>
</Task>
Task
back to top