Object

Patient

A patient listed in Vetspire. This entity represents a pet

Usage Example
query {
# Use this type in your queries
someQuery {
activeReservation
age
alerts
allergies
birthDate
}
}

Fields

activeReservationCensusReservation
DEPRECATED: Use censusLocation; its reservation is null while the patient is OCCUPIED.

Deprecated: read censusLocation, which returns this same booking as its reservation when RESERVED. The patient's nearest Census booking: where they are due, not where they are. Null when they hold none, when the ward's location isn't in Census mode, or when the appointment's last day has passed in the ward's time zone.

alerts[String!]
allergies[Allergy]
birthDateDate
birthDayInt
birthMonthInt
birthYearInt
bloodTypeString
boardComments[BoardCell]
breedString
callLogs[CallLog]
censusLocationCensusLocation

Where the patient is in Census, for the patient header. OCCUPIED when placed on their open Visit. Otherwise RESERVED with their nearest booking: the earliest-starting one whose appointment ends today or later in the ward's time zone. A booked kennel's ward is its current ward, not the one saved at booking. Only wards at a location in Census mode count. Null when the patient is neither placed nor booked there; at a Census-mode location, null means show nothing. For one appointment's booking, use Appointment.activeReservation.

checkedInBoolean

Returns true if the patient has at least one appointment with status 'checked_in', `admitted` or `inprogress`

clientClient
clientIdID
clinicalNotes[ClinicalNote]
colorString
contactDetailsPatientContactDetails
countOfCoownersInt
deceasedDateDate
documents[PatientDocument]
encounters[Encounter]
fieldServiceAddresses[FieldServiceAddress]

The patient's field service visit addresses, default first then alphabetical by label

firstHeatDateDate
goalWeightDecimal
hisaString

The patient's HISA number

hisaRegisteredBoolean

Whether the patient is HISA registered

historicalIdString
idID!required
identificationString
immunizations[Immunization!]
+
insertedAtNaiveDateTime
isActiveBoolean
isCriticalBoolean
isDeceasedBoolean
isDnrBoolean
isEstimatedAgeBoolean
isEstimatedWeightBoolean
isMergedBoolean
isMixedBoolean
labOrders[LabOrder]
labResults[LabResult]
+
lastKnownLocationPatientLocation

The patient's latest location record: their unreleased location on an open visit, otherwise the newest location linked to an open encounter, open treatment sheet, or active appointment. An appointment link is a plan, not proof the patient is there. Null when none of these exists. For whether the patient is placed or only booked in Census, use censusLocation. For placement on a specific encounter, sheet, or visit, use that record's patientLocation field instead.

lastSyncedAtNaiveDateTime
lastVisitAppointment
latestRabiesImmunization
latestWeightWeight
medications[Medication]
+
mergeIdentificationString
microchipString
microchipRegisteredBoolean
nameString

The patient's name

neuterDateDate
neuteredBoolean
nextVisitAppointment
notesString
openTreatmentSheetTreatmentSheet
patientDiagnoses[PatientDiagnosis]
+
patientLocations[PatientLocation]
patientRdvms[PatientRdvm]

Patient's rDVM assignments with patient-specific fields (notes, referring_doctors, etc)

percentageOwnershipDecimal
preferredRdvmRdvm
preferredWeightUnitString
privateNotesString

For notes that will not display on the patient chart.

problems[Problem]
+
profileImageUrlString
protocols[PatientProtocol!]
+
rdvms[Rdvm]
registeredNameString

The patient's registered name

reminderSilences[ReminderSilence]
sexSex

The basic sex of the patient, without consideration of neutered status or age. When a more medically accurate description of the patient's sex is needed, we recommend using the `sexTerm` field instead.

sexTermString

Species-specific descriptive term, which takes into account the patient's sex, neutered status, and for certain species, age. For example, the sexTerm for an intact adult male horse's will be `Stallion`. An altered female dog will be `Female (Spayed)`. Currently only equines have age-specific sex terms, but we plan to add specific sex terms for other species in the future. If the patient's sex or neutered status is missing, it will be listed as `Unknown`, i.e. `Female (Unknown neutered status)`, `Unknown Sex (Intact)`, or `Unknown Sex (Unknown neutered status)`.

speciesString
subscriptions[String]
tasks[Task]
treatmentSheets[TreatmentSheet!]
+
updatedAtNaiveDateTime
verifiedAtDateTime
visits[Visit]
+