NHS Digital FHIR Medicines

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",
{
"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"
}
],
"code": [
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/NHSDigital-SDS-JobRoleCode",
"code": "S0030:G0100:R0620"
}
]
}
],
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "7654321"
},
"display": "Mrs Anna Kanfeld"
},
"reference": "#organisation"
},
"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": "5AC84C11-DB8B-44DA-8FCF-8980B3D13596"
}
],
"status": "cancelled",
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason",
"code": "DA",
"display": "Dosage Amendments"
}
]
},
"intent": "order",
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "88AF6C-C81007-00001C"
},
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/task-code",
"code": "abort",
"display": "Mark the focal resource as no longer active"
}
]
},
"focus": {
"type": "Bundle",
"system": "https://tools.ietf.org/html/rfc4122",
"value": "334a3195-1f6c-497a-8efe-d272ca9c4e38"
}
},
"for": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9446368138"
}
},
"authoredOn": "2020-12-21T17:03:20-00:00",
"owner": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "VNE51"
}
},
"reference": "#requester"
},
"coding": [
{
"system": "http://snomed.info/sct",
"code": "373784005",
"display": "Dispensing medication"
}
]
}
}
<Task xmlns="http://hl7.org/fhir">
<id value="6a2624a2-321b-470e-91a6-8ae7a065e2f0" />
<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="Mrs Anna Kanfeld" />
</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="5AC84C11-DB8B-44DA-8FCF-8980B3D13596" />
</identifier>
<system value="https://fhir.nhs.uk/Id/prescription-order-number" />
<value value="88AF6C-C81007-00001C" />
</groupIdentifier>
<status value="cancelled" />
<system value="https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason" />
<code value="DA" />
<display value="Dosage Amendments" />
</coding>
</statusReason>
<intent value="order" />
<system value="http://hl7.org/fhir/CodeSystem/task-code" />
<code value="abort" />
<display value="Mark the focal resource as no longer active" />
</coding>
</code>
<type value="Bundle" />
<system value="https://tools.ietf.org/html/rfc4122" />
<value value="334a3195-1f6c-497a-8efe-d272ca9c4e38" />
</identifier>
</focus>
<for>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9446368138" />
</identifier>
</for>
<authoredOn value="2020-12-21T17:03:20-00:00" />
<reference value="#requester" />
</requester>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="VNE51" />
</identifier>
</owner>
<system value="http://snomed.info/sct" />
<code value="373784005" />
<display value="Dispensing medication" />
</coding>
</reasonCode>
</Task>
Task
back to top