Twig template variables: Patient
Name | Classic template system equivalent? | Function |
---|---|---|
{{ animal.DeathReason }} | No | Shows 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 }} | No | Shows 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:
|
{{ animal.SexStringShort }} | {AnimalSexShort} | Shows the sex of the patient. The possible values are:
|
{{ 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 }} | No | Shows 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 }} | No | Shows 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 }} | No | Shows the weight of the patient.
Note: This variable shows the weight without the applicable unit of measurement.
|
{{ animal.WeightUnits }} | No | Shows the weight of the patient.
Note: This variable shows the weight with the applicable unit of measurement.
|
{{ animal.CautionStatus }} | No | Shows the caution status of the patient. The possible values are:
|
{{ animal.CautionStatusColour }} | No | Shows the hexadecimal color codes of each caution status of the patient. The possible values are:
|
{{ animal.MicroChip }} | {AnimalMicrochip} | Shows the microchip number of the patient. |
{{ animal.Estimated }} | No | Shows 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:
| 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 }} | No | Shows 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:
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 }} | No | 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.Species.Name }} | {AnimalSpecies} | Shows the species of the patient. |
{{ animal.ResidingContact.Name }} | No | If 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:
|