{ "description": "Use this endpoint to download prescriptions from Spine before it is dispensed. You can download a single prescription using the prescription's ID, or download up to 25 prescriptions (per request) nominated to a dispenser using the dispenser's ODS code.", "_filename": "Task-release.json", "package_name": "uk.nhsdigital.r4", "date": "2020-11-13T09:29:23+11:00", "meta": { "lastUpdated": "2019-11-01T09:29:23.356+11:00" }, "system": false, "publisher": "NHS Digital", "instance": false, "name": "releaseTask", "type": "true", "experimental": null, "outputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Bundle-SearchSet", "resourceType": "OperationDefinition", "title": null, "package_version": "2.4.7", "status": "draft", "id": "f23584ba-b502-44c6-a4c4-2bc215bbee80", "resource": [ "Task" ], "affectsState": true, "kind": "operation", "comment": "Only one of the parameters group-identifier and owner MUST be provided. This operation performs both a query on the message queue and updates the status of returned prescriptions.", "url": "https://fhir.nhs.uk/OperationDefinition/Task-release-message", "code": "release", "version": "4.0.1", "contact": [ { "telecom": [ { "value": "interoperabilityteam@nhs.net", "system": "email" } ] } ], "parameter": [ { "max": "1", "min": 0, "use": "in", "name": "group-identifier", "type": "Identifier", "documentation": "The short-form-prescription-id (token) of the prescription. Used for releasing Patient prescriptions" }, { "max": "1", "min": 1, "use": "in", "name": "owner", "type": "Identifier", "documentation": "The ODS code of the pharmacy. Used for releasing Nominated Pharmacy prescriptions" }, { "max": "1", "min": 1, "use": "in", "name": "status", "type": "code", "documentation": "Status from ValueSet http://hl7.org/fhir/valueset-task-status.html Use: accepted" }, { "max": "1", "min": 1, "use": "in", "name": "agent", "type": "PractitionerRole", "documentation": "The professional submitting the release request" }, { "max": "1", "min": 1, "use": "out", "name": "return", "type": "Bundle", "documentation": "A FHIR Bundle (type=searchset) which contains prescription-order FHIR Messages which match the search parameters. An empty search will still return a FHIR Bundle but with no entries." } ] }