NHS Digital FHIR Medicines

Task EPS Prescription Tracker 1

{
    "resourceType": "Task",
    "id": "bd1ca5c4-ff49-4f2a-9db4-f5dda0112084",
    "meta": {
        "lastUpdated": "2016-07-11T11:07:22+00:00"
    },
    "extension":  [
        {
            "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": "641555508106"
                }
            ],
            "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 AA BHATIA"
            },
            "organization": {
                "reference": "Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "C81007"
                },
                "display": "VERNON STREET MEDICAL CTR"
            },
            "telecom":  [
                {
                    "system": "phone",
                    "use": "work",
                    "value": "01234567890"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "bd1ca5c4-ff49-4f2a-9db4-f5dda0112084"
        }
    ],
    "status": "in-progress",
    "businessStatus": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-business-status",
                "code": "0002",
                "display": "With Dispenser"
            }
        ]
    },
    "intent": "order",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/CodeSystem/task-code",
                "code": "fulfill",
                "display": "Fulfill the focal request"
            }
        ]
    },
    "focus": {
        "type": "Task",
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/prescription-order-number",
            "value": "A3B4D9-Z42475-11E6B+"
        }
    },
    "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": "FA666"
        },
        "display": "CROYDON PHARMACY"
    },
    "reasonCode": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "33633005",
                "display": "Prescription of drug"
            }
        ]
    },
    "authoredOn": "2016-07-11T11:07:21+00:00",
    "input":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "16076005",
                        "display": "Prescription"
                    }
                ]
            },
            "valueReference": {
                "identifier": {
                    "system": "https://tools.ietf.org/html/rfc4122",
                    "value": "ee86a018-779c-4809-999f-a9d89cdfd30f"
                }
            }
        }
    ],
    "output":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.nhs.uk/StructureDefinition/ExtensionRepeatDispensingInformation",
                    "extension":  [
                        {
                            "url": "dateLastDispensed",
                            "valueDateTime": "2014-05-07"
                        }
                    ]
                }
            ],
            "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="bd1ca5c4-ff49-4f2a-9db4-f5dda0112084" />
    <meta>
        <lastUpdated value="2016-07-11T11:07:22+00:00" />
    </meta>
    <contained>
        <PractitionerRole>
            <id value="requester" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
                <value value="641555508106" />
            </identifier>
            <practitioner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                    <value value="7654321" />
                </identifier>
                <display value="DR AA BHATIA" />
            </practitioner>
            <organization>
                <reference value="Organization/3b4b03a5-52ba-4ba6-9b82-70350aa109d8" />
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="C81007" />
                </identifier>
                <display value="VERNON STREET MEDICAL CTR" />
            </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-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="bd1ca5c4-ff49-4f2a-9db4-f5dda0112084" />
    </identifier>
    <status value="in-progress" />
    <businessStatus>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/EPS-task-business-status" />
            <code value="0002" />
            <display value="With Dispenser" />
        </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>
        <type value="Task" />
        <identifier>
            <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
            <value value="A3B4D9-Z42475-11E6B+" />
        </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="FA666" />
        </identifier>
        <display value="CROYDON PHARMACY" />
    </owner>
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="33633005" />
            <display value="Prescription of drug" />
        </coding>
    </reasonCode>
    <input>
        <type>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="16076005" />
                <display value="Prescription" />
            </coding>
        </type>
        <valueReference>
            <identifier>
                <system value="https://tools.ietf.org/html/rfc4122" />
                <value value="ee86a018-779c-4809-999f-a9d89cdfd30f" />
            </identifier>
        </valueReference>
    </input>
    <output>
        <extension url="https://fhir.nhs.uk/StructureDefinition/ExtensionRepeatDispensingInformation">
            <extension url="dateLastDispensed">
                <valueDateTime value="2014-05-07" />
            </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