DiaryBook

Appointment reminder merge fields

Merge fields are system defined words that begin and end with 2 carats (^^). They are used in reminder templates and they are the way diarybook personalises a reminder message for an appointment.

For example: ^^name^^ is a merge field representing the client’s first name.

The data for merge fields comes from

  • the appointment
  • the client
  • the user
  • the location
  • additional sync fields

Appointment

These fields take information from the appointment

FieldInformationExample
^^time^^The start time14:30
^^date^^The date12/07/2023
^^dayname^^The name of the dayThursday
^^monthname^^The name of the monthJuly
^^day^^The day of the month with an ordinal indicator12th
^^year^^The year2023
^^procedure^^The public name of the appointment type. Only the first if more than one.Blood test
^^resource^^The public name of the resource. Only the first if more than one.Room 1D
^^datemade^^The date the appointment was added to diarybook

Client

These fields take information from the client associated with the appointment and to whom the reminder is being sent

FieldInformationExample
^^first^^ or ^^name^^The first nameJohn
^^last^^The last nameSmyth
^^fullname^^The full nameJohn Smyth
^^hifirst^^If a first name exists will put Hi followed by the nameHi John
^^dearfirst^^If a first name exists will put Dear followed by the nameDear John
^^email^^The email addressjohn.smyth@$$diarybook$$.net
^^address1^^The first line of address for letter templates
^^address2^^The second line of address
^^address3^^The third line of address
^^address4^^The fourth line of address
^^address5^^The fifth line of address
^^id^^The patient number or id

User

These fields take information from the service provider ( diarybook user) that is fulfilling the appointment

FieldInformationExample
^^user_first^^The first namePaul
^^user_last^^The last namePokealot
^^user_email^^The email addresspaul.pokealot@$$diarybook$$.net
^^user_phone^^The phone number

Location

These fields take information from the location record that is assigned to the reminder setting

FieldInformationExample
^^loc_name^^The location nameBuilding A Wellstown
^^loc_contact^^The contact nameDr Paul Pokealot
^^loc_email^^The contact email address
^^loc_phone^^The contact phone number
^^loc_address1^^The location address
^^loc_address2^^
^^loc_address3^^
^^loc_address4^^
^^loc_address5^^
^^loc_directionsThe directions to the location
^^loc_map^^A rendering of the map and pinEmail reminders only

Sync fields

Sync fields are additional information that can be given to diarybook for each appointment. This only happens in integrated systems and they can contain any text relating to any other aspect of the appointment.

Field
^^syncfield1^^
^^syncfield2^^
^^syncfield3^^
^^syncfield4^^
^^syncfield5^^
^^syncfield6^^