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", "extension": [ { "url": "https://fhir.nhs.uk/StructureDefinition/Extension-Provenance-agent", "valueReference": { "identifier": { "system": "https://fhir.nhs.uk/Id/sds-user-id", "value": "7654321" } } } ], "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": "Mrs Anna Kanfeld" }, "organization": { "reference": "#organisation" }, "telecom": [ { "system": "phone", "use": "work", "value": "01234567890" } ] }, { "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": "5AC84C11-DB8B-44DA-8FCF-8980B3D13596" } ], "status": "cancelled", "statusReason": { "coding": [ { "system": "https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason", "code": "DA", "display": "Dosage Amendments" } ] }, "intent": "order", "groupIdentifier": { "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", "identifier": { "system": "https://tools.ietf.org/html/rfc4122", "value": "334a3195-1f6c-497a-8efe-d272ca9c4e38" } }, "for": { "identifier": { "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "9446368138" } }, "authoredOn": "2020-12-21T17:03:20-00:00", "owner": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", "value": "VNE51" } }, "requester": { "reference": "#requester" }, "reasonCode": { "coding": [ { "system": "http://snomed.info/sct", "code": "373784005", "display": "Dispensing medication" } ] } }
<Task xmlns="http://hl7.org/fhir"> <id value="6a2624a2-321b-470e-91a6-8ae7a065e2f0" /> <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="Mrs Anna Kanfeld" /> </practitioner> <organization> <reference value="#organisation" /> </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> <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> <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-Provenance-agent"> <valueReference> <identifier> <system value="https://fhir.nhs.uk/Id/sds-user-id" /> <value value="7654321" /> </identifier> </valueReference> </extension> <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="88AF6C-C81007-00001C" /> </groupIdentifier> <status value="cancelled" /> <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="334a3195-1f6c-497a-8efe-d272ca9c4e38" /> </identifier> </focus> <for> <identifier> <system value="https://fhir.nhs.uk/Id/nhs-number" /> <value value="9446368138" /> </identifier> </for> <authoredOn value="2020-12-21T17:03:20-00:00" /> <requester> <reference value="#requester" /> </requester> <owner> <identifier> <system value="https://fhir.nhs.uk/Id/ods-organization-code" /> <value value="VNE51" /> </identifier> </owner> <reasonCode> <coding> <system value="http://snomed.info/sct" /> <code value="373784005" /> <display value="Dispensing medication" /> </coding> </reasonCode> </Task>
Task |
id : 6a2624a2-321b-470e-91a6-8ae7a065e2f0 |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-Provenance-agent |
value |
identifier |
system : https://fhir.nhs.uk/Id/sds-user-id |
value : 7654321 |
contained |
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 : Mrs Anna Kanfeld |
organization |
reference : #organisation |
telecom |
system : phone |
use : work |
value : 01234567890 |
contained |
id : organisation |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : VNE51 |
address |
city : West Yorkshire |
use : work |
line : 17 Austhorpe Road |
line : Crossgates |
line : 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 : cancelled |
statusReason |
coding |
system : https://fhir.nhs.uk/CodeSystem/EPS-task-dispense-withdraw-reason |
code : DA |
display : Dosage Amendments |
intent : order |
groupIdentifier |
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 |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : 334a3195-1f6c-497a-8efe-d272ca9c4e38 |
for |
identifier |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 9446368138 |
authoredOn : 2020-12-21T17:03:20-00:00 |
owner |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : VNE51 |
requester |
reference : #requester |
reasonCode |
coding |
system : http://snomed.info/sct |
code : 373784005 |
display : Dispensing medication |