List a patient's or a day's appointments
list_appointmentsUse this when someone asks when a patient is booked, or what is booked at the clinic on a given day. Returns appointment ids with patient, clinic and provider ids, times, status, edit time and how many procedures each has, latest first, up to 100. Not for counting how busy days are, nor for procedure names, notes or any medical detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of appointments to return (default 20, maximum 100) | |
| endTime | No | Only appointments ending before this ISO 8601 time | |
| clinicId | No | Only appointments at this clinic, by an id from list_clinics; every clinic when absent | |
| patientId | No | Only appointments of this patient, by an id from find_patient | |
| startTime | No | Only appointments starting at or after this ISO 8601 time. Without a patientId, give a startTime and endTime at most one day apart |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| hasMore | Yes | ||
| appointments | Yes | Appointments, latest start first. Procedure names, notes, reminders, patient names and contact details are never returned. |