{
"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": "OperationDefinition-release.json",
"package_name": "uk.nhsdigital.r4.test",
"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.8.13-prerelease",
"status": "draft",
"id": "95f957cd-631b-45f0-aa06-24646048fb65",
"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": "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": "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."
} ]
}