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.
Task

Task EPS Prescription Tracker 1

Command 'json' could not render: File was not found for Task-bd1ca5c4-ff49-4f2a-9db4-f5dda0112084
Command 'xml' could not render: File was not found for Task-bd1ca5c4-ff49-4f2a-9db4-f5dda0112084
Command 'tree' could not render: File was not found for Task-bd1ca5c4-ff49-4f2a-9db4-f5dda0112084

Task EPS Prescription Tracker 2

Command 'json' could not render: File was not found for Task-1828584c-55cb-4888-9529-c85499888188
Command 'xml' could not render: File was not found for Task-1828584c-55cb-4888-9529-c85499888188
Command 'tree' could not render: File was not found for Task-1828584c-55cb-4888-9529-c85499888188

Task Cancel Dispense Notification

On HL7v3 EPS this is called ETPWithdraw. This Task can cancel a previous dispense-notification message.

{
    "resourceType": "Task",
    "id": "6a2624a2-321b-470e-91a6-8ae7a065e2f0",
    "contained":  [
        {
            "resourceType": "PractitionerRole",
            "id": "16708936-6397-4e03-b84f-4aaa790633e0",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                    "value": "555086415105"
                }
            ],
            "practitioner": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/sds-user-id",
                    "value": "3415870201"
                },
                "display": "Jackie Clark"
            },
            "organization": {
                "reference": "#org"
            },
            "code":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
                            "code": "R8000",
                            "display": "Clinical Practitioner Access Role"
                        }
                    ]
                }
            ],
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "02380798431"
                }
            ]
        },
        {
            "resourceType": "Organization",
            "id": "org",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "VNE51"
                }
            ],
            "address":  [
                {
                    "city": "West Yorkshire",
                    "use": "work",
                    "line":  [
                        "17 Austhorpe Road",
                        "Crossgates",
                        "Leeds"
                    ],
                    "postalCode": "LS15 8BA"
                }
            ],
            "active": true,
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/organisation-role",
                            "code": "182",
                            "display": "PHARMACY"
                        }
                    ]
                }
            ],
            "name": "The Simple Pharmacy",
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "0113 3180277"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "5ac84c11-db8b-44da-8fcf-8980b3d13596"
        }
    ],
    "status": "in-progress",
    "intent": "order",
    "groupIdentifier": {
        "system": "https://fhir.nhs.uk/Id/prescription-order-number",
        "value": "C2782B-A99968-4E4E9Z"
    },
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "abort",
                "display": "Mark the focal resource as no longer active"
            }
        ]
    },
    "focus": {
        "type": "Bundle",
        "identifier": {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "602159ee-1678-41ec-a100-7b3dd04c1d84"
        }
    },
    "for": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9990548609"
        }
    },
    "authoredOn": "2020-12-21T17:03:20+00:00",
    "owner": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "VN6XW"
        }
    },
    "statusReason": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason",
                "code": "DA",
                "display": "Dosage Amendments"
            }
        ]
    },
    "requester": {
        "reference": "#16708936-6397-4e03-b84f-4aaa790633e0"
    }
}
<Task xmlns="http://hl7.org/fhir">
    <id value="6a2624a2-321b-470e-91a6-8ae7a065e2f0" />
    <contained>
        <PractitionerRole>
            <id value="16708936-6397-4e03-b84f-4aaa790633e0" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                <value value="555086415105" />
            </identifier>
            <practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="3415870201" />
                </identifier>
                <display value="Jackie Clark" />
            </practitioner>
            <organization>
                <reference value="#org" />
            </organization>
            <code>
                <coding>
                    <system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                    <code value="R8000" />
                    <display value="Clinical Practitioner Access Role" />
                </coding>
            </code>
            <telecom>
                <system value="phone" />
                <value value="02380798431" />
                <use value="work" />
            </telecom>
        </PractitionerRole>
    </contained>
    <contained>
        <Organization>
            <id value="org" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="VNE51" />
            </identifier>
            <active value="true" />
            <type>
                <coding>
                    <system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
                    <code value="182" />
                    <display value="PHARMACY" />
                </coding>
            </type>
            <name value="The Simple Pharmacy" />
            <telecom>
                <system value="phone" />
                <value value="0113 3180277" />
                <use value="work" />
            </telecom>
            <address>
                <use value="work" />
                <line value="17 Austhorpe Road" />
                <line value="Crossgates" />
                <line value="Leeds" />
                <city value="West Yorkshire" />
                <postalCode value="LS15 8BA" />
            </address>
        </Organization>
    </contained>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="5ac84c11-db8b-44da-8fcf-8980b3d13596" />
    </identifier>
    <groupIdentifier>
        <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
        <value value="C2782B-A99968-4E4E9Z" />
    </groupIdentifier>
    <status value="in-progress" />
    <statusReason>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason" />
            <code value="DA" />
            <display value="Dosage Amendments" />
        </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>
        <type value="Bundle" />
        <identifier>
            <system value="https://tools.ietf.org/html/rfc4122" />
            <value value="602159ee-1678-41ec-a100-7b3dd04c1d84" />
        </identifier>
    </focus>
    <for>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9990548609" />
        </identifier>
    </for>
    <authoredOn value="2020-12-21T17:03:20+00:00" />
    <requester>
        <reference value="#16708936-6397-4e03-b84f-4aaa790633e0" />
    </requester>
    <owner>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="VN6XW" />
        </identifier>
    </owner>
</Task>
Task

Task Return Prescription Order

A return prescription order, returns the prescription to the prescription-tracker (EPS). Medications will not have been dispensed.

{
    "resourceType": "Task",
    "id": "ee1b55f8-113c-4725-99a3-25fbad366dd6",
    "contained":  [
        {
            "resourceType": "PractitionerRole",
            "id": "16708936-6397-4e03-b84f-4aaa790633e0",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                    "value": "555086415105"
                }
            ],
            "practitioner": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/sds-user-id",
                    "value": "3415870201"
                },
                "display": "Jackie Clark"
            },
            "organization": {
                "reference": "#organisation"
            },
            "code":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
                            "code": "R8000",
                            "display": "Clinical Practitioner Access Role"
                        }
                    ]
                }
            ],
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "02380798431"
                }
            ]
        },
        {
            "resourceType": "Organization",
            "id": "organisation",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "VNE51"
                }
            ],
            "address":  [
                {
                    "city": "West Yorkshire",
                    "use": "work",
                    "line":  [
                        "17 Austhorpe Road",
                        "Crossgates",
                        "Leeds"
                    ],
                    "postalCode": "LS15 8BA"
                }
            ],
            "active": true,
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/CodeSystem/organisation-role",
                            "code": "182",
                            "display": "PHARMACY"
                        }
                    ]
                }
            ],
            "name": "The Simple Pharmacy",
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "0113 3180277"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "add2e9dd-da0a-c266-a4e3-447c68239525"
        }
    ],
    "status": "rejected",
    "intent": "order",
    "groupIdentifier": {
        "system": "https://fhir.nhs.uk/Id/prescription-order-number",
        "value": "18B064-A99968-4BCAA3"
    },
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "abort",
                "display": "Mark the focal resource as no longer active"
            }
        ]
    },
    "focus": {
        "type": "Bundle",
        "identifier": {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "67c585f6-f4b5-4f53-861a-50c07ecff5d4"
        }
    },
    "for": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9449304289"
        }
    },
    "authoredOn": "2016-03-10T22:39:32+00:00",
    "owner": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "VNFKT"
        }
    },
    "statusReason": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-return-status-reason",
                "code": "0002",
                "display": "Unable to dispense medication on prescriptions"
            }
        ]
    },
    "requester": {
        "reference": "#16708936-6397-4e03-b84f-4aaa790633e0"
    }
}
<Task xmlns="http://hl7.org/fhir">
    <id value="ee1b55f8-113c-4725-99a3-25fbad366dd6" />
    <contained>
        <PractitionerRole>
            <id value="16708936-6397-4e03-b84f-4aaa790633e0" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                <value value="555086415105" />
            </identifier>
            <practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="3415870201" />
                </identifier>
                <display value="Jackie Clark" />
            </practitioner>
            <organization>
                <reference value="#organisation" />
            </organization>
            <code>
                <coding>
                    <system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
                    <code value="R8000" />
                    <display value="Clinical Practitioner Access Role" />
                </coding>
            </code>
            <telecom>
                <system value="phone" />
                <value value="02380798431" />
                <use value="work" />
            </telecom>
        </PractitionerRole>
    </contained>
    <contained>
        <Organization>
            <id value="organisation" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="VNE51" />
            </identifier>
            <active value="true" />
            <type>
                <coding>
                    <system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
                    <code value="182" />
                    <display value="PHARMACY" />
                </coding>
            </type>
            <name value="The Simple Pharmacy" />
            <telecom>
                <system value="phone" />
                <value value="0113 3180277" />
                <use value="work" />
            </telecom>
            <address>
                <use value="work" />
                <line value="17 Austhorpe Road" />
                <line value="Crossgates" />
                <line value="Leeds" />
                <city value="West Yorkshire" />
                <postalCode value="LS15 8BA" />
            </address>
        </Organization>
    </contained>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="add2e9dd-da0a-c266-a4e3-447c68239525" />
    </identifier>
    <groupIdentifier>
        <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
        <value value="18B064-A99968-4BCAA3" />
    </groupIdentifier>
    <status value="rejected" />
    <statusReason>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-return-status-reason" />
            <code value="0002" />
            <display value="Unable to dispense medication on prescriptions" />
        </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>
        <type value="Bundle" />
        <identifier>
            <system value="https://tools.ietf.org/html/rfc4122" />
            <value value="67c585f6-f4b5-4f53-861a-50c07ecff5d4" />
        </identifier>
    </focus>
    <for>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9449304289" />
        </identifier>
    </for>
    <authoredOn value="2016-03-10T22:39:32+00:00" />
    <requester>
        <reference value="#16708936-6397-4e03-b84f-4aaa790633e0" />
    </requester>
    <owner>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="VNFKT" />
        </identifier>
    </owner>
</Task>
Task

Task Prescription Cancel

A cancel prescription order, cancels the prescription fulfilment request.

Command 'json' could not render: File was not found for Task-1291fcca-902b-48f3-9d07-1be9ea30d7a0
Command 'xml' could not render: File was not found for Task-1291fcca-902b-48f3-9d07-1be9ea30d7a0
Command 'tree' could not render: File was not found for Task-1291fcca-902b-48f3-9d07-1be9ea30d7a0
back to top