Object

Visit

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

Fields

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