An appointment
query { # Use this type in your queries someQuery { activeReservation additionalProviders admittedAt arrivalTimeAt bookedOnline }}activeReservationCensusReservationThis appointment's own active Census reservation. Null once released (including when the visit starts) or when the ward's location isn't in Census mode. A booked kennel's ward is its current ward, not the one saved at booking. Prefer this over `patient.activeReservation` when the context is one appointment.
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.