{ "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", "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.4.7", "status": "draft", "id": "d014580d-68d4-4c5a-a11c-891321d5102a", "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" } ] }