{ "description": "Cancels the prescription the operation is invoked on.\\r\\n$cancel-prescription is now obsolete and is planned to be removed in a future major release. The operation $end is the recommended operation for cancelling prescriptions.", "_filename": "NLLCancelPrescription.OperationDefinition.json", "package_name": "rs/bonsai.poc.second.test", "date": "2024-06-12", "system": false, "publisher": "The Swedish eHealth Agency", "instance": true, "name": "NLLCancelPrescription", "type": "false", "experimental": null, "resourceType": "OperationDefinition", "title": null, "package_version": "1.1.3", "status": "active", "id": "cd17922f-f24f-4409-9f0c-9fede57a956c", "resource": [ "MedicationRequest" ], "affectsState": true, "kind": "operation", "comment": "$cancel-prescription is now obsolete and is planned to be removed in a future major release. The operation $end is the recommended operation for cancelling prescriptions. \r\n\r\nCan be invoked with a HTTP POST.\r\n\r\nThis operation is used when it is not possible to fetch a patient's medication list, which is the case when the patient does not have a Swedish national identification number (sv personnummer), i.e. the prescription was created using birthdate instead of identity number. N.B. In order to do so the ID of the prescription must be stored by the requestor when creating the prescription.", "url": "http://electronichealth.se/fhir/OperationDefinition/NLLCancelPrescription", "code": "cancel-prescription", "version": "1.0.2", "parameter": [ { "max": "1", "min": 0, "use": "out", "name": "result", "type": "boolean", "documentation": "In the case of a successfull call, the result is set to \"true\"" }, { "max": "1", "min": 0, "use": "out", "name": "message", "type": "string", "documentation": "A message is returned in the case of a successfull call." } ] }