NHS Digital FHIR Medicines

Task EPS Prescription Tracker 2

{
    "resourceType": "Task",
    "id": "1828584c-55cb-4888-9529-c85499888188",
    "meta": {
        "lastUpdated": "2018-04-22T09:57:03+00:00"
    },
    "extension":  [
        {
            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-RepeatInformation",
            "extension":  [
                {
                    "url": "numberOfRepeatsAllowed",
                    "valueInteger": 6
                },
                {
                    "url": "numberOfRepeatsIssued",
                    "valueInteger": 2
                }
            ]
        },
        {
            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-Prescription",
            "extension":  [
                {
                    "url": "courseOfTherapyType",
                    "valueCoding": {
                        "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
                        "code": "acute",
                        "display": "Acute"
                    }
                }
            ]
        }
    ],
    "contained":  [
        {
            "resourceType": "PractitionerRole",
            "id": "requester",
            "identifier":  [
                {
                    "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
                    "value": "641555508105"
                }
            ],
            "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": "7654321"
                },
                "display": "Dr Sarah Sunshine"
            },
            "organization": {
                "reference": "Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "M12345"
                },
                "display": "EveryDay Surgery"
            },
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "01234567890"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "1828584c-55cb-4888-9529-c85499888188"
        }
    ],
    "status": "completed",
    "businessStatus": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
                "code": "0002",
                "display": "Dispensed"
            }
        ]
    },
    "intent": "order",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "fulfill",
                "display": "Fulfill the focal request"
            }
        ]
    },
    "focus": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/prescription-order-number",
            "value": "2D35F7-ZA0448-11E88Z"
        }
    },
    "for": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9912003489"
        }
    },
    "requester": {
        "reference": "#requester"
    },
    "owner": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "FB444"
        },
        "display": "Freds Pharmacy"
    },
    "reasonCode": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "33633005",
                "display": "Prescription of drug"
            }
        ]
    },
    "authoredOn": "2016-07-11T11:07:21+00:00",
    "input":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingInformation",
                    "extension":  [
                        {
                            "url": "dispenseStatus",
                            "valueCoding": {
                                "system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
                                "code": "0001",
                                "display": "Item fully dispensed"
                            }
                        },
                        {
                            "url": "dateLastDispensed",
                            "valueDateTime": "2018-04-22T09:57:03+00:00"
                        }
                    ]
                }
            ],
            "type": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "16076005",
                        "display": "Prescription"
                    }
                ]
            },
            "valueReference": {
                "reference": "https://prescriptions.spineservices.nhs.uk/FHIR/R4/MedicationRequest/30b7e9cf-6f42-40a8-84c1-e61ef638eee2",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                    "value": "30b7e9cf-6f42-40a8-84c1-e61ef638eee2"
                },
                "display": "Perindopril erbumine 2mg tablets"
            }
        },
        {
            "extension":  [
                {
                    "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingInformation",
                    "extension":  [
                        {
                            "url": "dispenseStatus",
                            "valueCoding": {
                                "system": "https://fhir.nhs.uk/CodeSystem/medicationdispense-type",
                                "code": "0001",
                                "display": "Item fully dispensed"
                            }
                        },
                        {
                            "url": "dateLastDispensed",
                            "valueDateTime": "2018-04-22T09:57:03+00:00"
                        }
                    ]
                }
            ],
            "type": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "16076005",
                        "display": "Prescription"
                    }
                ]
            },
            "valueReference": {
                "reference": "https://prescriptions.spineservices.nhs.uk/FHIR/R4/MedicationRequest/636f1b57-e18c-4f45-acae-2d7db86b6e1e",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                    "value": "636f1b57-e18c-4f45-acae-2d7db86b6e1e"
                },
                "display": "Metformin 500mg modified-release tablets"
            }
        }
    ],
    "output":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingReleaseInformation",
                    "extension":  [
                        {
                            "url": "dateLastIssuedDispensed",
                            "valueDateTime": "2018-04-22T09:57:03+00:00"
                        },
                        {
                            "url": "dateDownloaded",
                            "valueDateTime": "2018-04-22T09:57:03+00:00"
                        }
                    ]
                }
            ],
            "type": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "373784005",
                        "display": "Dispensing medication"
                    }
                ]
            },
            "valueReference": {
                "identifier": {
                    "system": "https://tools.ietf.org/html/rfc4122",
                    "value": "334a3195-1f6c-497a-8efe-d272ca9c4e38"
                }
            }
        }
    ]
}
<Task xmlns="http://hl7.org/fhir">
    <id value="1828584c-55cb-4888-9529-c85499888188" />
    <meta>
        <lastUpdated value="2018-04-22T09:57:03+00:00" />
    </meta>
    <contained>
        <PractitionerRole>
            <id value="requester" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                <value value="641555508105" />
            </identifier>
            <practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="7654321" />
                </identifier>
                <display value="Dr Sarah Sunshine" />
            </practitioner>
            <organization>
                <reference value="Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="M12345" />
                </identifier>
                <display value="EveryDay Surgery" />
            </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>
    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-RepeatInformation">
        <extension url="numberOfRepeatsAllowed">
            <valueInteger value="6" />
        </extension>
        <extension url="numberOfRepeatsIssued">
            <valueInteger value="2" />
        </extension>
    </extension>
    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-Prescription">
        <extension url="courseOfTherapyType">
            <valueCoding>
                <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" />
                <code value="acute" />
                <display value="Acute" />
            </valueCoding>
        </extension>
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="1828584c-55cb-4888-9529-c85499888188" />
    </identifier>
    <status value="completed" />
    <businessStatus>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
            <code value="0002" />
            <display value="Dispensed" />
        </coding>
    </businessStatus>
    <intent value="order" />
    <code>
        <coding>
            <system value="http://hl7.org/fhir/CodeSystem/task-code" />
            <code value="fulfill" />
            <display value="Fulfill the focal request" />
        </coding>
    </code>
    <focus>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
            <value value="2D35F7-ZA0448-11E88Z" />
        </identifier>
    </focus>
    <for>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9912003489" />
        </identifier>
    </for>
    <authoredOn value="2016-07-11T11:07:21+00:00" />
    <requester>
        <reference value="#requester" />
    </requester>
    <owner>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="FB444" />
        </identifier>
        <display value="Freds Pharmacy" />
    </owner>
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="33633005" />
            <display value="Prescription of drug" />
        </coding>
    </reasonCode>
    <input>
        <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingInformation">
            <extension url="dispenseStatus">
                <valueCoding>
                    <system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
                    <code value="0001" />
                    <display value="Item fully dispensed" />
                </valueCoding>
            </extension>
            <extension url="dateLastDispensed">
                <valueDateTime value="2018-04-22T09:57:03+00:00" />
            </extension>
        </extension>
        <type>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="16076005" />
                <display value="Prescription" />
            </coding>
        </type>
        <valueReference>
            <reference value="https://prescriptions.spineservices.nhs.uk/FHIR/R4/MedicationRequest/30b7e9cf-6f42-40a8-84c1-e61ef638eee2" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                <value value="30b7e9cf-6f42-40a8-84c1-e61ef638eee2" />
            </identifier>
            <display value="Perindopril erbumine 2mg tablets" />
        </valueReference>
    </input>
    <input>
        <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingInformation">
            <extension url="dispenseStatus">
                <valueCoding>
                    <system value="https://fhir.nhs.uk/CodeSystem/medicationdispense-type" />
                    <code value="0001" />
                    <display value="Item fully dispensed" />
                </valueCoding>
            </extension>
            <extension url="dateLastDispensed">
                <valueDateTime value="2018-04-22T09:57:03+00:00" />
            </extension>
        </extension>
        <type>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="16076005" />
                <display value="Prescription" />
            </coding>
        </type>
        <valueReference>
            <reference value="https://prescriptions.spineservices.nhs.uk/FHIR/R4/MedicationRequest/636f1b57-e18c-4f45-acae-2d7db86b6e1e" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
                <value value="636f1b57-e18c-4f45-acae-2d7db86b6e1e" />
            </identifier>
            <display value="Metformin 500mg modified-release tablets" />
        </valueReference>
    </input>
    <output>
        <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-EPS-DispensingReleaseInformation">
            <extension url="dateLastIssuedDispensed">
                <valueDateTime value="2018-04-22T09:57:03+00:00" />
            </extension>
            <extension url="dateDownloaded">
                <valueDateTime value="2018-04-22T09:57:03+00:00" />
            </extension>
        </extension>
        <type>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="373784005" />
                <display value="Dispensing medication" />
            </coding>
        </type>
        <valueReference>
            <identifier>
                <system value="https://tools.ietf.org/html/rfc4122" />
                <value value="334a3195-1f6c-497a-8efe-d272ca9c4e38" />
            </identifier>
        </valueReference>
    </output>
</Task>
Task
back to top