Replacement Fields

Field Usage Description
{first_name} Patient first name This field is replaced by first name of patient
{last_name} Patient last name This field is replaced by last name of patient
{doctor_name} Doctor name This field is replaced by doctor name in send message and doctor name/recording
{doctor_phone} Doctor phone This field is replaced by doctor phone in send_message/twilio_common_ivr. Or recording is played if found in twilio_common_ivr
{doctor_phone_formatted} Doctor phone in formatted form This field is replaced by doctor phone number in formatted form i-e if phone length is 7 it will be formatted as 345-8976 and if its length is 10 then it will be formatted as (238) 987-3432
{doctor_phone_connect} Connect call to doctor If this field is found then call will be connected to doctor number in provider settings
{doctor_custom_msg_1} Can go up to {doctor_custom_msg_5} Doctor custom message 1 This field is found in provider settings. Adding this replacement field in provider messages will show the text or recordings entered.
{time} Appointment time This field is replaced by time of appointment
{small_date} Appointment date with short year This field is replaced by Appointment date with short year e-g (05/10/16)
{large_date} Appointment date with full year This field is replaced by appointment date in send_message in the format %m/%d/%Y e-g (05/10/2016). In twilio_common_ivr it will be replaced in the format e-g May 10 two thousand and sixteen
{group_name} Customer name This field is replaced by customer name in send_messge or customer name/recording
{weekday} Appointment day name This field is replaced by name of day e-g Monday, Tuesday
{month} Appointment month This field is replaced by name of month e-g May, June
{mon} Appointment month number This field is replaced by number of month in year of appointment e-g 5, 6
{mday} Day number in month of Appointment This field is replaced by day number of month in which appointment is e-g 25
{year} Appointment year This field is replaced by year in which appointment is e-g 2016
{facility_phone} Facility phone number This field is replaced by phone number of facility in send_message
{facility_phone_formatted} Facility phone number formatted This field is replaced by facility phone number in formatted form i-e if phone length is 7 it will be formatted as 345-8976 and if its length is 10 then it will be formatted as (238) 987-3432 in send_message
{facility_address} Facility address This field is replaced by facility address in send_message
{facility_city} Facility city This field is replaced by facility city in send_message
{facility_state} Facility state This field is replaced by facility state in send_message
{facility_zip} Facility zip This field is replaced by facility zip in send_message
{facility_yelp_link} Facility yelp link This field is replaced by facility yelplink value from facility table in send_message
{facility_google_places_ review_link} Facility google places review link This field is replaced by facility googleplacesreviewlink value from facility table in send_message
{facility_google_places_ map_link} Facility google places map link This field is replaced by facility googleplacesmaplink value from facility table in send_message
{facility_custom_map_link} Facility custom map link This field is replaced by facility custommaplink value from facility table in send_message
{facility_four_square_link} Facility four square link This field is replaced by facility foursquarelink value from facility table in send_message
{facility_custom_msg_1} Enter up to {facility_custom_msg_5} Facility custom message 1 This field is replaced by facilitycustommessage_1 value from facility table in send_message. Or recording will be played if found in twilio_common_ivr
{facility_name} Facility name This field is replaced by facility name in send_message
{facility_hours} Facility working hours short form This field is replaced by facilityhours from facility table in send message in short form e-g M-Th 8-5, Fri 8-2
{hours_open_voice} Facility working hours full form This field is replaced by facilityhoursvoice from facility table in send_message in full form e-g Monday through Thursday 8:00 AM to 5:00 PM, Friday 8:00 AM to 2:00 PM Or facilityHours value
{delay} Appointment delay time This field is replaced by delay words from appointmentdelay table in send_message e-g delayed by 15 minutes. Or recording is played for delay words
{new_appt_time} New appointment time This field is replaced by time delta of appt time from appointment table and time minutes from appointmentdelay table in send_message
{vital_interaction_phone} From phone number This field is replaced by fromPhoneNumber from objectinteractivemessage tables in send_message in formatted form i-e if phone length is 7 it will be formatted as 345-8976 and if its length is 10 then it will be formatted as (238) 987-3432. It is replaced in non formatted form
{vital_interaction_phone_ formatted} From phone number This field is replaced by fromPhoneNumber from objectinteractivemessage tables in twilio_common_ivr in formatted form i-e if phone length is 7 it will be formatted as 345-8976 and if its length is 10 then it will be formatted as (238) 987-3432
{guarantor_first_name} Guarantor first name This field is replaced by guarantor's first name in send_message
{guarantor_last_name} Guarantor last name This field is replaced by guarantor's last name in send_message
{recall_type_name} Recall type name This field is replaced by recall type name in send_message/twilio_common_ivr.
{product_type_name} Product name This field is replaced by product name from producttype table in send_message
{group_web_page_link} Customer domain link This field is replaced by customerdomain value from customer table in send_message
{group_forms_link_1} Customer forms link This field is replaced by formslink value from customer table in send_message
{group_logo} Customer logo image This field is replaced by img tag of customer logo link in send_message
{group_facebook_link} Customer facebook link This field is replaced by facebooklink value from customer table in send_message
{group_twitter_link} Customer twitter link This field is replaced by twitterlink value from customer table in send_message
{group_you_tube_link} Customer youtube link This field is replaced by youtubelink value from customer table in send_message
{from_email} From email address This field is replaced by email in fromPhoneNumber from objectinteractivemessage tables in send_message
{patient_custom_msg_1} Patient custom message 1 This field is replaced by patientcustommessage_1 value from patient table in send_message
{appt_type_custom_msg_1} Appt type custom message 1 This field is replaced by custom_message_1 value from appttype table in send_message.
{first_name_multiple} This is related to duplicate appointment feature for multiple patient's first names in a message Assume Jim and Ted are brothers with the same mother. Both have
appointments in same day but in different facilities. In that case this replacement field can be used.
{appt_time_multiple} This is related to duplicate appointment feature for multiple appt times in a message Let's say Ted has two appointment in a day on same facility. In that case this replacement field can be used.After replacement result will be like e-g 10:00 AM 4/15/2015, 10:30 AM 4/15/2015
{facility_multiple} This is related to duplicate appointment feature for multiple facility names Let's say Ted has two appointment in a day on different facility. In that case this replacement field can be used. After replacement result will be like e-g Main Office, Texas Office
{first_name_appt_time_multiple} This is related to duplicate appointment feature for multiple patient's and appt times in a message Assume Jim and Ted are brothers with the same mother. Both have
appointments in same day in same facility. In that case this replacement field can be used. After replacement result will be like e-g Jim at 10:00 AM 4/15/2015, Ted at 10:30 AM 4/15/2015
{first_name_appt_ time_facility_multiple} This is related to duplicate appointment feature for multiple patent's, appt times and different facility names in message Assume Jim and Ted are brothers with the same mother. Both have
appointments in same day but in different facilities. In that case this replacement field can be used. After replacement result will be like e-g Jim at 10:00 AM 4/15/2015 at Main Office, Ted at 10:30 AM 4/15/2015 at Texas Office
{first_name_appt_time_ multiple_family_only} This is related to duplicate appointment feature of family patient's Assume Jim and Ted are brothers with the same mother. Both have
appointments in same day. After replacement result will be like e-g Jim and Ted you have an appointment at 10:00 AM and 10:30 AM
{appt_calendar_invite} Generate icalendar on s3 When this replacement field is added in the message value then icalendar will be generated on s3 for this message. Path on dev will be like this http://vi-customer-files.s3.amazonaws.com/postback/icalendars/Calendar_{first_name{last_name}_{appointment_id}.ics
{email_template_url} Email domain of vitalinteraction This field is replaced by http://email.vitalinteraction.com/
{patient_balance} Patient balance for collection This field is replaced by balance from collection table in send message
{connect_facility} Connect call to facility If this replacement field is found then call will be redirected to facility
{connect_translator_facility} Start conference This field is used to start conference call between patient, translator and facility
{connect_facility_secondary} Connect call to secondary phone of facility If this replacement field is found then call will be redirected to secondary facility phone in twilio_common_ivr
{connect_customer_primary} Connect call to primary phone of customer This field is used to connect call to primary phone of customer
{connect_customer_secondary} Connect call to secondary phone of customer This field is used to connect call to secondary phone of customer
{record_response} Record response during ivr This field is used to record the response during ivr call

Still need help? Contact Support Contact Support