{ "description": "This operation queries for available free slots with optional parameters, such as date/time range, and specialty. The server determines which open slots to expose to the application for use in creating new appointments. If neither a start or end date is given then the maximum period as defined by local business rules and starting from when the operation was transacted will be used. \\n\\n Note that all input parameters are simple types allowing either the 'GET' or the 'POST' syntax to be used to initiate the interaction. Examples of both are shown below.", "_filename": "alpha-slot-find.json", "package_name": "alpha.core.r4", "date": null, "system": false, "publisher": "Alpha NHIT Centre", "instance": false, "name": "Find Slots", "type": "true", "experimental": null, "resourceType": "OperationDefinition", "title": null, "package_version": "1.0.0", "status": "active", "id": "8bd72733-49f0-4c71-8e34-522fb33e1f49", "resource": [ "Slot" ], "kind": "operation", "comment": "The _count parameter may be used to specify the upper limit of slots to be returned by the operation. \n\n Note that is operation is intended to be used by patient-facing Apps.", "url": "http://hl7.alp/OperationDefinition/alpha-slot-find", "code": "find", "version": "1.0.0", "contact": [ { "name": "Alpha NHIT Centre", "telecom": [ { "use": "work", "value": "info@nhitcentre.alp", "system": "email" } ] } ], "parameter": [ { "max": "1", "min": 0, "use": "in", "name": "start", "type": "dateTime", "documentation": "The start date/time of the period of time that should be checked for free slots. This parameter searched on the start time of the Slots (```Slot.start```). If no start date is provided, all available slots prior to the end date are in scope (subject to limits imposed by local business rules)." }, { "max": "1", "min": 0, "use": "in", "name": "end", "type": "dateTime", "documentation": "The end date/time of time that should be checked for appointment availability. This parameter searched on the start time of the Slots (```Slot.start```). If no end date is provided, all available slots after the start date are in scope (subject to limits imposed by local business rules)." }, { "max": "*", "min": 0, "use": "in", "name": "practitioner", "type": "string", "searchType": "reference", "documentation": "Reference to one or more practitioners. This may be implicit in some authorization contexts." }, { "max": "1", "min": 0, "use": "in", "name": "patient", "type": "string", "searchType": "reference", "documentation": "Reference to one patient. This may be implicit in some authorization contexts." }, { "max": "*", "min": 0, "use": "in", "name": "service-type", "type": "CodeableConcept", "documentation": "Code for a certain type of appointment." }, { "max": "1", "min": 0, "use": "out", "name": "return", "type": "Bundle", "documentation": "An Bundle of type `searchset` with entries of proposed Slot resources and may also contain an [OperationOutcome] (http://hl7.org/fhir/R4/operationoutcome.html) with errors, warnings or information as a result of processing the operation - e.g., an informational notice that the returned slots are not within the requested start and end times. An empty bundle means no available slots based on inputs" } ] }