{ "description": "Use this operation 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. The operation will return prescriptions passing signature validation as a collection of Prescription-Order bundles and/or error messages for Prescriptions failing signature validation as a collection of OperationOutcome resources (with the prescription-order messages attached as supportingInfo", "_filename": "OperationDefinition-prescription-release.json", "package_name": "uk.nhsdigital.r4.test", "date": "2022-10-17T11:39:00+00:00", "meta": { "lastUpdated": "2022-10-17T11:39:00+00:00" }, "system": false, "publisher": "NHS Digital", "instance": false, "name": "PrescriptionRelease", "type": "true", "experimental": null, "outputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Bundle-Collection", "resourceType": "OperationDefinition", "title": null, "package_version": "2.8.7-prerelease", "status": "draft", "id": "d0e2e3a2-161f-45a3-879c-47287c49bb47", "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/prescription-release", "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": "Organization", "documentation": "The organization (pharmacy) downloading the prescriptions. 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": "passedPrescriptions", "type": "Bundle", "documentation": "A FHIR Bundle (type=collection) which contains prescription-order FHIR Messages which match the search parameters. An empty search will still return a FHIR Bundle but with no entries." }, { "max": "1", "min": 0, "use": "out", "name": "failedPrescriptions", "type": "Bundle", "documentation": "A FHIR Bundle (type=collection) which contains OperationOutcome resources for each Prescription failing signature verification which matches the search parameters." } ] }