{ "description": "Request to cancel a selected Appointment. This operaton requests the cancelation of an appointment. The server determines if the nominated appointment can still be cancelled (most appointments can't be cancelled 5 minutes before) and either accepts or rejects the cancellation request and updates the specific slot and appointment resource status accordingly.", "_filename": "eAfspraak-OperationDefinition-appointment-cancel.json", "package_name": "nictiz.fhir.nl.stu3.eafspraak", "date": null, "system": false, "publisher": "Nictiz", "instance": false, "name": "Appointment Cancel", "type": "true", "experimental": null, "resourceType": "OperationDefinition", "idempotent": false, "title": null, "package_version": "1.0.3", "status": "active", "id": "60e0895b-85f2-4876-8813-3fe5c789f798", "resource": [ "Appointment" ], "kind": "operation", "comment": "It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with the patient(s), or determine whether the context has the rights to the nominated patient(s), if there is one. Specifying the relationship between the context, a user and patient records is outside the scope of this specification", "url": "http://nictiz.nl/fhir/OperationDefinition/eAfspraak-appointment-cancel", "code": "cancel", "version": "2.0.0", "contact": [ { "name": "Nictiz", "telecom": [ { "use": "work", "value": "info@nictiz.nl", "system": "email" } ] } ], "parameter": [ { "max": "1", "min": 0, "use": "in", "name": "appointment", "type": "Appointment", "profile": { "display": "eAfspraak-Appointment", "reference": "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment" }, "documentation": "This parameter represents the appointment that is requested to be cancelled." }, { "max": "1", "min": 0, "use": "out", "name": "return", "type": "Bundle", "documentation": "A Bundle of type `searchset` containing the requested Appointment resource and may also contain an [OperationOutcome](http://hl7.org/fhir/stu3/operationoutcome.html) with errors, warnings or information as a result of processing the operation. If the cancellattion request is accepted, the Appointment resource will have an updated `status` of \"cancelled\". If the booking is rejected, the Appointment resource will not change, and an explanation will be accompanied in a separate OperationOutcome resource." } ] }