For the complete documentation index, see llms.txt. This page is also available as Markdown.

Filtering Message Template Variables

Overview

Message templates, assessment PDFs, data views, and PFA folder pages in Welkin support dynamic variables that are automatically replaced with patient or encounter data when the template is rendered. Dates and datetimes in these variables are formatted based on the locale of the Point of Contact (PoC) care team member.


Date Format by Locale

The date format used in template variables depends on the locale configured on the PoC user's profile:

Locale
Date format
Datetime format

EN_US (default)

MM-dd-yyyy

MM-dd-yyyy h:mm a VV

EN_EU

dd-MM-yyyy

dd-MM-yyyy HH:mm VV

For example, December 11, 2024 at 12:15 AM (Australia/Hobart) would appear as:

  • EN_US: 12-11-2024 12:15 AM Australia/Hobart

  • EN_EU: 11-12-2024 00:15 Australia/Hobart

This applies to the following encounter template variables:

  • {{ENCOUNTER.*.startDate}}

  • {{ENCOUNTER.*.startDateTime}}

  • {{ENCOUNTER.*.endDateTime}}

It also applies to date and datetime fields in assessment PDFs, CDT date/datetime fields rendered in data views, and PFA folder welcome and conclusion pages.


Setting a User's Locale

A user's locale is set in their user profile in the Admin Portal. Contact your Welkin administrator if you need to update the locale for a care team member.


Last updated

Was this helpful?