Macros in the Standard Prescription notification
ZTZenoti Docs Team Updated May 25, 2026 3 min readGuide
The Standard Prescription notification is the email and print template used when a prescription is printed for the guest or emailed to them. Use the macros listed below to customize the template — each macro is replaced with the actual value (for example, [CenterName] becomes the guest's base-center name) when the notification is rendered.
Notification metadata
| Field | Value |
|---|---|
| Notification type | Transactional |
| Trigger | Each time a prescription is printed OR sent via email to the guest |
| Communication channels | Email template (text channel not supported for this notification) |
How to use macros
- Open the Standard Prescription notification template in Configuration > Notifications > Templates for email and text > Prescription.
- Type a macro inline in the template body (or subject line, where applicable) — for example,
Dear [FirstName] [LastName],. - Save the template. When the notification fires, the macro is replaced with the actual value before delivery.
See Configure notification template macros for the general macro-editing workflow.
V1 carryover macros (34)
These macros have been part of the Standard Prescription notification since V1. PM confirmed 2026-05-25 that all 34 remain active in V2.
| Macro | Description |
|---|---|
[OrgName] |
Name of the organization |
[CenterName] |
Name of the guest's base center |
[FirstName] |
First name of the guest |
[LastName] |
Last name of the guest |
[CenterPhone] |
Primary phone number configured in the center-level settings (Phone 1 field) |
[CenterPhone2] |
Secondary phone number configured in the center-level settings (Phone 2 field) |
[InvoiceNo] |
Auto-assigned invoice number for the appointment |
[TreatmentList] |
List of services in the appointment |
[AppDate] |
Date on which the appointment is scheduled |
[CenterCity] |
City of the guest's base center |
[CenterZip] |
Zip / postal code of the guest's base center |
[CenterAddress] |
Complete address of the guest's base center |
[AssignedTo] |
Name of the doctor who treated the guest |
[SignedBy] |
Name of the authorized doctor who signed the prescription |
[SignedOn] |
Date on which the authorized doctor signed the prescription |
[PrescriptionsList] |
List of items prescribed to the guest, with dosage and instructions |
[DOB] |
Guest's date of birth (MM/DD/YYYY format) |
[GuestAddress] |
Complete billing address of the guest as registered in the guest profile |
[GuestPhone] |
Phone number registered for the guest |
[GuestCity] |
City of the guest as registered in the guest profile |
[AddtnlField1] |
Additional information from the AddtnlField1 field in the employee profile (often used for DEA registration or state license number) |
[AddtnlField2] |
Additional information from the AddtnlField2 field in the employee profile |
[AccountName] |
Account name set at the organization level |
[ShipTo] |
Name of the person to whom the prescription and items need to be delivered |
[ShippingInstructions] |
Shipping address (usually the same as the address in the guest profile) |
[AppDateInWords] |
The prescription date ([AppDate]) rendered in words |
[NextVisitDate] |
Date on which the guest must next visit the center |
[GuestReferralCode] |
First name of the existing guest + the first four characters of the user ID |
[CustomMacro2] |
Optional field (Optional Field 2 defined at the organization level) |
[CustomMacro5] |
Optional field (Optional Field 5 defined at the organization level) |
[PrescriptionNotes] |
Details added in the Notes section of the prescription |
[PrescriptionDiagnosis] |
Details added in the Diagnosis section of the prescription |
[GuestAdditionalDetails1] |
Additional guest details from the GuestAdditionalDetails1 field of the guest profile |
[GuestAdditionalDetails2] |
Additional guest details from the GuestAdditionalDetails2 field of the guest profile |
V2-era macros (15)
These macros were added in Prescriptions V2 and the ePrescribe integration. They appear alongside the V1 carryover macros in the Standard Prescription notification template.
| Macro | Description |
|---|---|
[PrescriptionID] |
Prescription identifier (e.g., RX-2025-001) |
[PrescriptionDate] |
Prescription date |
[PrescriptionPharmacyName] |
Pharmacy name selected for the prescription |
[PrescriptionPickupMethod] |
Pickup method (Self pick-up, Ship to patient, etc.) |
[PrescriptionValidTill] |
Prescription validity date (expiry date) |
[ControlledSubstanceID] |
Controlled-substance identifier |
[EPrescriptionSSInviteURL] |
ePrescription invite URL for the prescriber-onboarding flow |
[PostcareInstructions] |
Post-care instructions |
[PrecareInstructions] |
Pre-care instructions |
[GeneralInstructions] |
General instructions |
[NPINumber] |
National Provider Identifier of the prescriber |
[DEANumber] |
Drug Enforcement Administration number of the prescriber |
[StateLicenseNumber] |
State license number of the prescriber |
[ProviderName] |
Healthcare provider name |
[PracticeName] |
Practice / clinic name |
Was this article helpful?
Your feedback helps us improve our documentation.