{
"description": "Use this endpoint to lock a MedicationRequest so that it can be fulfilled.",
"_filename": "MedicationRequest-lock.json",
"package_name": "uk.nhsdigital.r4.test",
"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.8.17-prerelease",
"status": "draft",
"id": "e93919f6-b6d5-4447-93aa-42df85a22e57",
"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"
} ]
}