Object

Visit

Usage Example
query {
# Use this type in your queries
someQuery {
appointment
externalId
headerConfig
id
location
}
}

Fields

appointmentAppointment

The appointment this visit was started from. Appointments started later on the same visit do not change it. Null when the visit was started without one or was started before visits recorded it.

externalIdString
headerConfigVisitHeaderConfig
idID!required
locationLocation
patientPatient
patientLocationPatientLocation

Ward and kennel for this visit, including after its encounters and treatment sheets are signed or closed. Under Census, the latest placement on the visit; otherwise, the latest placement linked through its encounters and treatment sheets, or the latest placement on the visit if none is linked. Null if this visit never had a placement. For where the patient is now, use Patient.lastKnownLocation.

patientLocations[PatientLocation!]

Every ward and kennel placement for this visit, oldest first, including released ones. Under Census, the placements the visit owns; otherwise, every placement linked through its encounters and treatment sheets. Each falls back to the other when it has none. Empty if this visit never had a placement.

readyForDischargeBoolean
startDateTime!required
startDateDate
startTimeTime
stopDateDate
stopTimeTime
timezoneString
visitTypeVisitType