Template Variables: What Each variable means

Written By Brendan Baker

Last updated About 2 months ago

Use this directly as the Featurebase article:

Template variables automatically pull information from PawthosX into discharges, prescription labels, and vaccine certificates.

For example:

Hi {{client_first_name}}, {{patient_name}} was seen on {{visit_date}} for {{visit_reason}}.

When the document is generated, PawthosX replaces each variable with the matching information from the patient, client, visit, practice, prescription, or vaccine record.

How to Use Template Variables

  1. Copy the entire variable, including both sets of curly brackets.

  2. Paste it where you want the information to appear.

  3. Do not change the spelling, capitalization, underscores, or brackets.

  4. Confirm that the variable is supported by the type of template you are creating.

  5. Preview the completed document before sending or printing it.

Important Differences

Patient Name

{{patient_name}} is the best general patient-name variable. It works in discharges, prescription labels, and vaccine certificates.

Clinic and Hospital Variables

Variables beginning with clinic_ pull information from your practice settings.

Variables beginning with hospital_ contain the same information and are retained for compatibility with existing templates.

Veterinarian and Logged-In User

{{DVM}} inserts the attending or prescribing veterinarian.

{{user_full_name}} inserts the team member currently logged into PawthosX. This may not be the veterinarian responsible for the visit.

Discharge Sections

{{discharge_content}} inserts the generated discharge summary.

{{discharge_instructions}} inserts the patient’s at-home care instructions.

{{followup_recommendations}} inserts the recommended follow-up plan.


Patient Variables

{{patient_id}}

The patient’s PawthosX record identifier.

Available in: Discharges

{{patient_full_name}}

The patient’s full name.

Available in: Discharges and vaccine certificates

{{patient_name}}

The patient’s name.

Available in: Discharges, prescription labels, and vaccine certificates

{{patient_species}}

The patient’s species, such as Canine or Feline.

Available in: Discharges, prescription labels, and vaccine certificates

{{patient_breed}}

The patient’s breed.

Available in: Discharges and vaccine certificates

{{patient_age_years}}

The patient’s age in whole years.

Available in: Discharges

{{patient_age_months}}

The number of months beyond the patient’s last full year of age.

Available in: Discharges

{{patient_sex}}

The patient’s sex and altered status.

Available in: Discharges and vaccine certificates

{{patient_weight_kg}}

The patient’s most recent recorded weight in kilograms.

Available in: Discharges

{{patient_weight_lbs}}

The patient’s most recent recorded weight in pounds.

Available in: Discharges

{{patient_dob}}

The patient’s date of birth.

Available in: Discharges and vaccine certificates

{{patient_date_of_birth}}

An alternate version of {{patient_dob}} used by vaccine certificate templates.

Available in: Vaccine certificates

{{patient_color}}

The patient’s coat color or identifying markings.

Available in: Discharges and vaccine certificates

{{patient_microchip}}

The patient’s microchip number.

Available in: Discharges and vaccine certificates

{{patient_alerts}}

Active alerts listed on the patient record.

Available in: Discharges

{{patient_allergies}}

Known allergies listed on the patient record.

Available in: Discharges


Client and Owner Variables

{{client_id}}

The client’s PawthosX record identifier.

Available in: Discharges

{{client_first_name}}

The client’s first name.

Available in: Discharges and vaccine certificates

{{client_last_name}}

The client’s last name.

Available in: Discharges and vaccine certificates

{{client_full_name}}

The client’s full name.

Available in: Discharges, prescription labels, and vaccine certificates

{{client_phone}}

The client’s primary phone number.

Available in: Discharges and vaccine certificates

{{client_email}}

The client’s email address.

Available in: Discharges and vaccine certificates

{{client_address}}

The client’s full address displayed on one line.

Available in: Vaccine certificates

{{client_address1}}

The first line of the client’s street address.

Available in: Discharges

{{client_city}}

The city listed in the client’s address.

Available in: Discharges

{{client_state}}

The state, province, or county listed in the client’s address.

Available in: Discharges

{{client_postal}}

The client’s ZIP or postal code.

Available in: Discharges


Practice Variables

{{clinic_name}}

The practice name from clinic settings.

Available in: Discharges, prescription labels, and vaccine certificates

{{clinic_phone}}

The practice phone number from clinic settings.

Available in: Discharges, prescription labels, and vaccine certificates

{{clinic_email}}

The practice email address from clinic settings.

Available in: Discharges and vaccine certificates

{{clinic_address}}

The practice address from clinic settings.

Available in: Discharges and vaccine certificates

{{hospital_name}}

An alternate version of {{clinic_name}}.

Available in: Discharges

{{hospital_phone}}

An alternate version of {{clinic_phone}}.

Available in: Discharges

{{hospital_email}}

An alternate version of {{clinic_email}}.

Available in: Discharges

{{hospital_address}}

An alternate version of {{clinic_address}}.

Available in: Discharges

{{clinic_ownership_type}}

The practice’s recorded ownership type, such as independent or corporate-group owned.

Available in: Discharges

{{clinic_parent_organization}}

The parent organization or veterinary group associated with the practice.

Available in: Discharges

{{clinic_independence_statement}}

The practice’s configured ownership or independence disclosure.

Available in: Discharges


Team and User Variables

{{DVM}}

The attending, administering, or prescribing veterinarian’s name.

Available in: Discharges, prescription labels, and vaccine certificates

{{dvm_license_number}}

The veterinarian’s professional license or RCVS registration number.

Available in: Prescription labels and vaccine certificates

{{administered_by}}

The team member recorded as administering the vaccine.

Available in: Vaccine certificates

{{RVT}}

The attending veterinary technician’s name.

Available in: Discharges

{{user_full_name}}

The full name of the team member currently logged into PawthosX.

Available in: Discharges

{{user_title}}

The logged-in user’s professional title.

Available in: Discharges

{{user_license}}

The logged-in user’s recorded professional license number.

Available in: Prescription labels


Visit and Appointment Variables

{{visit_id}}

The visit’s PawthosX record identifier.

Available in: Discharges

{{visit_date}}

The date of the visit.

On prescription labels, this is the prescription date.

Available in: Discharges, prescription labels, and vaccine certificates

{{certificate_date}}

The date the vaccine certificate was issued.

Available in: Vaccine certificates

{{visit_time}}

The scheduled or recorded time of the visit.

Available in: Discharges

{{visit_reason}}

The reason for the visit.

Available in: Discharges

{{checkin_time}}

The time the patient was checked in.

Available in: Discharges

{{checkout_time}}

The time the patient was checked out.

Available in: Discharges

{{next_appt_date}}

The date of the patient’s next scheduled appointment.

Available in: Discharges

{{next_appt_time}}

The time of the patient’s next scheduled appointment.

Available in: Discharges


Clinical and Discharge Variables

{{discharge_content}}

The generated discharge summary.

Available in: Discharges

{{presenting_complaint}}

The presenting complaint or reason the patient was brought in.

Available in: Discharges

{{diagnosis_notes}}

Diagnosis information recorded during the visit.

Available in: Discharges

{{treatment_plan}}

The treatment plan recorded for the visit.

Available in: Discharges

{{surgery}}

The surgery or procedure performed during the visit.

Available in: Discharges

{{surgery_date}}

The date the surgery or procedure was performed.

Available in: Discharges

{{discharge_instructions}}

At-home care instructions for the client.

Available in: Discharges

{{followup_recommendations}}

Recommended follow-up care or next steps.

Available in: Discharges


Laboratory Variables

{{lab_test}}

The name of the laboratory test.

Available in: Discharges

{{lab_collection_date}}

The date the sample was collected.

Available in: Discharges

{{lab_result_date}}

The date the laboratory results were received.

Available in: Discharges

{{lab_results}}

A summary of the laboratory results.

Available in: Discharges


Prescription and Medication Label Variables

{{rx_id}}

The prescription’s PawthosX record identifier.

Available in: Prescription labels

{{rx_drug_name}}

The name of the prescribed medication.

Available in: Prescription labels

{{rx_strength}}

The medication strength.

Available in: Prescription labels

{{rx_form}}

The medication form, such as tablet, capsule, or liquid.

Available in: Prescription labels

{{rx_sig}}

The complete directions for administering the medication.

Available in: Prescription labels

{{rx_dose}}

The amount to administer with each dose.

Available in: Prescription labels

{{rx_frequency}}

How often the medication should be administered.

Available in: Prescription labels

{{rx_duration}}

How long the medication should be administered.

Available in: Prescription labels

{{rx_refills}}

The number of authorized refills.

Available in: Prescription labels

{{rx_quantity}}

The quantity dispensed.

Available in: Prescription labels

{{rx_lot}}

The lot number of the dispensed medication.

Available in: Prescription labels

{{rx_expiration}}

The expiration date of the dispensed medication.

Available in: Prescription labels

{{rx_dea}}

The prescriber’s DEA number.

Available in: Prescription labels

{{rx_valid_until}}

The date through which the prescription remains valid.

Primarily used in UK prescription templates.

Available in: Prescription labels

{{rx_repeat_count}}

The number of authorized prescription repeats.

This field remains blank when repeats are not authorized.

Available in: Prescription labels

{{rx_withdrawal_period}}

The required withdrawal period for food-producing animals.

This field remains blank when it does not apply.

Available in: Prescription labels

{{rx_distribution_category}}

The medication’s UK distribution category, such as POM-V.

Available in: Prescription labels

{{rx_antimicrobial}}

The configured antimicrobial stewardship statement.

This field remains blank when it does not apply.

Available in: Prescription labels

{{rx_cascade}}

The applicable UK cascade prescribing disclosure.

This field remains blank when it does not apply.

Available in: Prescription labels

{{rx_prescriber_license}}

The prescriber’s RCVS registration or DEA number.

Available in: Prescription labels

{{rx_quantity_words_and_figures}}

The prescribed quantity displayed in both words and figures.

Primarily used for UK controlled-drug prescriptions.

Available in: Prescription labels

{{rx_branch_address}}

The address of the dispensing practice branch.

Available in: Prescription labels


Vaccine Certificate Variables

{{vaccine_name}}

The name of the administered vaccine.

Available in: Vaccine certificates

{{vaccine_code}}

The vaccine’s configured short code.

Available in: Vaccine certificates

{{vaccine_type}}

The vaccine’s configured classification, such as core or non-core.

Available in: Vaccine certificates

{{vaccine_manufacturer}}

The vaccine manufacturer.

Available in: Vaccine certificates

{{vaccine_lot_number}}

The lot number of the vaccine administered.

Available in: Vaccine certificates

{{vaccine_batch_number}}

The vaccine batch number.

Primarily used in UK vaccine certificate templates.

Available in: Vaccine certificates

{{vaccine_administered_date}}

The date the vaccine was administered.

Available in: Vaccine certificates

{{vaccine_valid_from}}

The date from which the vaccination is considered valid or effective.

Primarily used in UK vaccine certificates.

Available in: Vaccine certificates

{{vaccine_expiration_date}}

The date the administered vaccination expires.

Available in: Vaccine certificates

{{vaccine_valid_until}}

The date through which the vaccination remains valid.

Primarily used in UK vaccine certificates.

Available in: Vaccine certificates

{{vaccine_next_due_date}}

The date the patient’s next vaccine dose is due.

Available in: Vaccine certificates

{{vaccine_duration}}

The recorded duration of immunity.

Available in: Vaccine certificates


Examples

Discharge Template

Hi {{client_first_name}},

{{patient_name}} was seen on {{visit_date}} for {{visit_reason}}.

{{discharge_content}}

At-home care:

{{discharge_instructions}}

Recommended follow-up:

{{followup_recommendations}}

{{DVM}}
{{clinic_name}}

Prescription Label

{{patient_name}}
{{rx_drug_name}} {{rx_strength}}

Directions: {{rx_sig}}
Quantity: {{rx_quantity}}
Refills: {{rx_refills}}
Prescriber: {{DVM}}

Vaccine Certificate

Patient: {{patient_name}}
Species and breed: {{patient_species}} / {{patient_breed}}
Vaccine: {{vaccine_name}}
Manufacturer: {{vaccine_manufacturer}}
Lot number: {{vaccine_lot_number}}
Administered: {{vaccine_administered_date}}
Expires: {{vaccine_expiration_date}}
Veterinarian: {{DVM}}
License or RCVS number: {{dvm_license_number}}


Troubleshooting

The Variable Appears as Plain Text

Check the spelling, capitalization, underscores, and curly brackets. The variable must be entered exactly as shown.

The Variable Is Blank

Confirm that the information exists in the applicable patient, client, visit, practice, prescription, or vaccine record.

PawthosX cannot insert information that has not been entered.

The Variable Works in One Template but Not Another

Some variables are only available in specific template types.

Check whether the variable is supported in discharges, prescription labels, or vaccine certificates.

The Wrong Team Member Appears

Use {{DVM}} when you need the attending or prescribing veterinarian.

Use {{user_full_name}} when you need the name of the person currently logged into PawthosX.