home

Browse documentation

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

Twig template variables: Patient

NameClassic template system equivalent?Function
{{ animal.DeathReason }}NoShows the cause of death of the patient.
{{ animal.AnimalNumber }}{AnimalNumber}Shows the value of the Code box of the patient record.
{{ animal.AnimalColour }}{AnimalColour}Shows the color of the patient.
{{ animal.Name }}{AnimalName}Shows the name of the patient.
{{ animal.FullName }}NoShows the name of the patient and the last name of the owner of the patient.
{{ animal.Sex }}{AnimalSex}Shows the sex of the patient. The possible values are:
  • Male
  • Female
{{ animal.SexStringShort }}{AnimalSexShort}Shows the sex of the patient. The possible values are:
  • M
  • F
  • MN
  • FS
{{ animal.RabiesNumber }}{AnimalRabiesNumber}Shows the rabies tag number of the patient.
Note: This variable is applicable to regions that have the rabies virus.
{{ animal.LastVisit }}{AnimalLastVisit}Shows the date of the patient's most recent visit.
Note: To show a date value that is easy to read, use this variable with the date Twig filter.
{{ animal.RabiesDate }}NoShows the date of the most recent rabies injection of the patient.
Note: To show a date value that is easy to read, use this variable with the date Twig filter.
{{ animal.NextVaccinationName }}{AnimalNextVaccinationName}
{{ animal.NextVaccinationDate }}{AnimalNextVaccinationDate}
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
{{ animal.LastVaccinationDate }}{AnimalLastVaccinationDate}
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
{{ animal.LastVaccinationName }}{AnimalLastVaccinationName}
{{ animal.AgeString }}NoShows the age of the patient.
{{ animal.AgeInYears }}{AnimalAgeYears}Shows the age of the patient in years.
{{ animal.AgeInMonth }}{AnimalAgeMonths}Shows the age of the patient in months.
{{ animal.DateOfBirth }}{AnimalDOB}Shows the full date of birth of the patient.
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
{{ animal.DateOfDeath }}{AnimalDOD}Shows the date of death of the patient.
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
{{ animal.Weight }}NoShows the weight of the patient.
Note: This variable shows the weight without the applicable unit of measurement.
{{ animal.WeightUnits }}NoShows the weight of the patient.
Note: This variable shows the weight with the applicable unit of measurement.
{{ animal.CautionStatus }}NoShows the caution status of the patient. The possible values are:
  • Caution
  • Unfriendly
  • Friendly
  • Unknown
{{ animal.CautionStatusColour }}NoShows the hexadecimal color codes of each caution status of the patient. The possible values are:
  • #aa1111 (for the Caution status)
  • #ff6600 (for the Unfriendly status)
  • #00bfff (for the Friendly status)
  • #4d4d4d (for the Unknown status)
{{ animal.MicroChip }}{AnimalMicrochip}Shows the microchip number of the patient.
{{ animal.Estimated }}NoShows the estimated date of birth of the patient.
Note: To show a date value that is easy to read, use this variable with the date Twig filter.
{{ animal.NextAppointmentStartTime }}When you use this template variable with the date filter or dateformat filter, the variable is equivalent to:
  • {AnimalNextAppointment}
  • {AnimalNextAppointmentDate}
  • {AnimalNextAppointmentDayShort}
  • {AnimalNextAppointmentDayLong}
  • {AnimalNextAppointmentTime}
Shows the start time of the next appointment of the patient.
{{ animal.ShortDescription }}Shows the name, sex, and species of the patient.
Note: This variable uses Name (sex - species) format to show the information.
{{ animal.DateDesexed }}{AnimalDateDesexed}Shows the desex date of the patient.
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
{{ animal.ContactToBillName }}NoShows the name of the contact record that receives the invoices of the patient.
{{ animal.AttendingVetsString }}{AnimalAttendingVets}Shows the names of the vets that are related to the patient record.
{{ animal.InsuranceNumber }}{AnimalInsuranceNumber}Shows the insurance number of the patient.
{{ animal.Notes }}{AnimalNotes}Shows the notes of the patient.
{{ animal.AnimalOwnerHtmlTable }}{AnimalOwnerTable}Shows a summary of patient information and owner information in a table. The information includes:
  • The name of the owner
  • The address of the owner
  • The name of the patient
  • The species of the patient
  • The breed of the patient
  • The age of the patient
Note: You must use the raw Twig filter with this template variable.
{{ animal.BSAValue }}{AnimalBSA}Shows the body surface area of the patient.
Note: This variable uses the patient weight to calculate the body surface area.
{{ animal.ReferrerName }}{AnimalReferringVet}Shows the name of the referring veterinarian.
Note: This variable uses a format of Last name, first name (veterinary practice name) to show the information.
{{ animal.ReferredVetName }}NoShows the name of the referring veterinarian.
Note: This variable uses a format of Last name - first name - veterinary practice name to show the information.
{{ animal.Species.Name }}{AnimalSpecies}Shows the species of the patient.
{{ animal.ResidingContact.Name }}NoIf the patient record has Residence selected, shows the name of the applicable contact record.
{{ animal.ResidingContact.PhysicalAddressText }}{AnimalResidence}If the patient record has Residence selected, shows the physical address of the applicable contact record.
{{ animal.Resuscitate }}{AnimalResuscitate}Shows the resuscitation status of the patient. The possible values are:
  • Resuscitate
  • Do Not Resuscitate
  • Advanced Life Support
  • Unspecified