NHS Digital FHIR Medicines

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",
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Provenance-agent",
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "7654321"
}
}
}
],
{
"resourceType": "PractitionerRole",
"id": "requester",
{
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
"value": "641555508105"
}
],
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "7654321"
},
"display": "Ms Lottie Maifeld"
},
"reference": "#organisation"
},
"code": [
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
"code": "S0030:G0100:R0620"
}
]
}
],
"telecom": [
{
"system": "phone",
"use": "work",
"value": "01234567890"
}
]
},
{
"resourceType": "Organization",
"id": "organisation",
{
"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"
}
]
}
],
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "ADD2E9DD-DA0A-C266-A4E3-447C68239525"
}
],
"status": "rejected",
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-return-status-reason",
"code": "0002",
"display": "Unable to dispense medication on prescriptions"
}
]
},
"intent": "order",
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "83C40E-A23856-00123C"
},
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/task-code",
"code": "fulfill",
"display": "Fulfill the focal request"
}
]
},
"focus": {
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "83C40E-A23856-00123C"
}
},
"for": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9446368138"
}
},
"authoredOn": "2016-03-10T22:39:32-04:00",
"reference": "#requester"
},
"coding": [
{
"system": "http://snomed.info/sct",
"code": "33633005",
"display": "Prescription of drug"
}
]
},
"input": [
{
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "16076005",
"display": "Prescription"
}
]
},
"type": "MedicationRequest",
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "1e34ee53-397a-2e70-e97c-67b1bd95014d"
}
}
}
]
}
<Task xmlns="http://hl7.org/fhir">
<id value="ee1b55f8-113c-4725-99a3-25fbad366dd6" />
<PractitionerRole>
<id value="requester" />
<system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
<value value="641555508105" />
</identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id" />
<value value="7654321" />
</identifier>
<display value="Ms Lottie Maifeld" />
</practitioner>
<reference value="#organisation" />
</organization>
<system value="https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode" />
<code value="S0030:G0100:R0620" />
</coding>
</code>
<system value="phone" />
<value value="01234567890" />
<use value="work" />
</telecom>
</PractitionerRole>
</contained>
<Organization>
<id value="organisation" />
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="VNE51" />
</identifier>
<active value="true" />
<system value="https://fhir.nhs.uk/CodeSystem/organisation-role" />
<code value="182" />
<display value="PHARMACY" />
</coding>
</type>
<name value="The Simple Pharmacy" />
<system value="phone" />
<value value="0113 3180277" />
<use value="work" />
</telecom>
<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>
<extension url="https://fhir.nhs.uk/StructureDefinition/Extension-Provenance-agent">
<system value="https://fhir.nhs.uk/Id/sds-user-id" />
<value value="7654321" />
</identifier>
</valueReference>
</extension>
<system value="https://tools.ietf.org/html/rfc4122" />
<value value="ADD2E9DD-DA0A-C266-A4E3-447C68239525" />
</identifier>
<system value="https://fhir.nhs.uk/Id/prescription-order-number" />
<value value="83C40E-A23856-00123C" />
</groupIdentifier>
<status value="rejected" />
<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" />
<system value="http://hl7.org/fhir/CodeSystem/task-code" />
<code value="fulfill" />
<display value="Fulfill the focal request" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/prescription-order-number" />
<value value="83C40E-A23856-00123C" />
</identifier>
</focus>
<for>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9446368138" />
</identifier>
</for>
<authoredOn value="2016-03-10T22:39:32-04:00" />
<reference value="#requester" />
</requester>
<system value="http://snomed.info/sct" />
<code value="33633005" />
<display value="Prescription of drug" />
</coding>
</reasonCode>
<system value="http://snomed.info/sct" />
<code value="16076005" />
<display value="Prescription" />
</coding>
</type>
<type value="MedicationRequest" />
<system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
<value value="1e34ee53-397a-2e70-e97c-67b1bd95014d" />
</identifier>
</valueReference>
</input>
</Task>
Task
back to top