Object

Appointment

An appointment

Usage Example
query {
# Use this type in your queries
someQuery {
activeReservation
additionalProviders
admittedAt
arrivalTimeAt
bookedOnline
}
}

Fields

activeReservationCensusReservation

This 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]
admittedAtDateTime
arrivalTimeAtDateTime
bookedOnlineBoolean
cageCage
checkedInAtDateTime
checkedOutAtDateTime
checkingOutAtDateTime
comments[Comment!]
completedAtDateTime
confirmedAtDateTime
creatorProvider
deletedBoolean
deletedByProvider
deletionReasonString
departmentDepartment
departmentIdID
dropOffEndDateTime

The latest a patient can be dropped off before an appointment

dropOffStartDateTime

The earliest a patient can be dropped off before an appointment

durationInt

Duration of the appointment (in minutes)

encounters[Encounter]
fieldServiceAddressFieldServiceAddress
fieldServiceAddressIdID

The patient's field service visit address this appointment travels to, when the visit type is field service. Cleared if the address is later deleted.

fieldServiceClientAddressAddress
fieldServiceClientAddressIdID
historicalIdString
idID!required
insertedAtNaiveDateTime
isConfirmedBoolean
linkedAppointmentCountInt
locationLocation
noteString
patientPatient
patientIdID
pickupTimeDateTime
positionInt
providerProvider
providerIdID
readyAtDateTime
reasonString

Reason for the appointment

reasonCategoryIdID
recurrenceRecurrence
repeatingEventRepeatingEvent
reviewedBoolean
roomString
scheduleIdID
selfCheckInSentBoolean
selfCheckedInBoolean
sentPickupBoolean

Date and time of the start of the appointment

startedAtDateTime
teleSessionCreatedBoolean
updatedAtNaiveDateTime
visitTypeVisitType
vitalsVitals
waitedAtDateTime
zoneColorHexString

The travel zone's color, with the same freshness rules as `zoneName`.

zoneIdID

The 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.

zoneNameString

The 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.