An appointment
query { # Use this type in your queries someQuery { additionalProviders admittedAt arrivalTimeAt bookedOnline cage }}additionalProviders[Provider]admittedAtDateTimearrivalTimeAtDateTimebookedOnlineBooleancageCagecheckInLinkStringcheckedInAtDateTimecheckedOutAtDateTimecheckingOutAtDateTimecomments[Comment!]completedAtDateTimeconfirmedAtDateTimecreatorProvidercustomFields[CustomAppointmentFieldValue]deletedBooleandeletedByProviderdeletionReasonStringdepartmentDepartmentdepartmentIdIDdropOffEndDateTimeThe latest a patient can be dropped off before an appointment
dropOffStartDateTimeThe earliest a patient can be dropped off before an appointment
durationIntDuration of the appointment (in minutes)
encounters[Encounter]fieldServiceAddressFieldServiceAddressfieldServiceAddressIdIDThe patient's field service visit address this appointment travels to, when the visit type is field service. Cleared if the address is later deleted.
fieldServiceClientAddressAddressfieldServiceClientAddressIdIDgroupAppointmentGrouphistoricalIdStringinsertedAtNaiveDateTimeintake[AppointmentIntakeData]isConfirmedBooleanlinkedAppointmentCountIntlocationLocationnoteStringpatientPatientpatientIdIDpickupTimeDateTimepositionIntproviderProviderproviderIdIDreadyAtDateTimereasonStringReason for the appointment
reasonCategoryAppointmentReasonCategoryreasonCategoryIdIDrecurrenceRecurrencerepeatingEventRepeatingEventreviewedBooleanroomStringscheduleLocationSchedulescheduleIdIDselfCheckInSentBooleanselfCheckedInBooleansentPickupBooleanstartDateTimeDate and time of the start of the appointment
startedAtDateTimestatusAppointmentStatusteleSessionCreatedBooleantypeAppointmentTypeupdatedAtNaiveDateTimevisitTypeVisitTypevitalsVitalswaitedAtDateTimezoneColorHexStringThe travel zone's color, with the same freshness rules as `zoneName`.
zoneIdIDThe travel zone assigned to this appointment. Not a foreign key: the id survives the zone being deleted, so an appointment that has already happened still reports the zone it was carried out under.
zoneNameStringThe travel zone's name, copied onto the appointment so a day's schedule needs no zone lookup. Kept current while the appointment is upcoming; frozen once it has happened.