{ "description": "Use this endpoint to lock a MedicationRequest so that it can be fulfilled.", "_filename": "MedicationRequest-lock.json", "package_name": "uk.nhsdigital.r4", "date": "2022-04-14T09:29:23+11:00", "system": false, "publisher": "NHS Digital", "instance": true, "name": "medicationRequestLock", "type": "false", "experimental": null, "outputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome", "resourceType": "OperationDefinition", "title": null, "package_version": "2.4.7", "status": "draft", "id": "106b3b8f-d1af-4eaa-811f-bcdebbc09015", "resource": [ "MedicationRequest" ], "affectsState": true, "kind": "operation", "comment": "Only one MedicationRequest can be locked at one time.", "url": "https://fhir.nhs.uk/OperationDefinition/MedicationRequest-lock", "code": "lock", "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 a mandatory fixed value of `accepted`" }, { "max": "1", "min": 0, "use": "out", "name": "return", "type": "OperationOutcome", "documentation": "A response" } ] }