{
"description": "Use this endpoint to unlock a MedicationRequest so that it can be fulfilled elsewhere (requested), indicate it has been completed, cancelled or has an error.",
"_filename": "MedicationRequest-unlock.json",
"package_name": "uk.nhsdigital.r4.test",
"date": "2022-04-14T09:29:23+11:00",
"system": false,
"publisher": "NHS Digital",
"instance": true,
"name": "MedicationRequestUnlock",
"type": "false",
"experimental": null,
"outputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome",
"resourceType": "OperationDefinition",
"title": null,
"package_version": "2.14.0-prerelease",
"status": "draft",
"id": "17ab1e4b-2105-4339-928c-643e75dc2cb9",
"resource": [ "MedicationRequest" ],
"affectsState": true,
"kind": "operation",
"comment": "Only one MedicationRequest can be unlocked at one time.",
"url": "https://fhir.nhs.uk/OperationDefinition/MedicationRequest-unlock",
"code": "unlock",
"version": "4.0.1",
"contact": [ {
"telecom": [ {
"value": "interoperabilityteam@nhs.net",
"system": "email"
} ]
} ],
"inputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "content",
"type": "Task",
"documentation": "The profile needs to be updated and at present is just a place holder. The Task.status has values requested/cancelled/failed/rejected/entered-in-error"
}, {
"max": "1",
"min": 0,
"use": "out",
"name": "return",
"type": "OperationOutcome",
"documentation": "A response"
} ]
}