Content variables

Modified on Wed, 18 Nov at 8:36 PM

Content variables add information that is specific to the patient or the programme to a text. The text is written once, and each patient sees their own values when the content is displayed. A variable can, for example, greet the patient by first name or show the date the programme ends.


CONTENTS



Inserting a variable

In the content editor, place the cursor where the variable should appear and select the Insert variable button, the { } icon, in the toolbar. The list is divided into Patient Information and Program Information. Select a variable to insert it into the text. In the patient’s view the variable is replaced with the actual value. If a value is not available for a patient, nothing is shown in its place.


Variables can be used in the standard elements, see Default elements.


Available variables

Patient Information

VariableWhat it inserts
Patient NameThe patient’s full name.
Patient First NameThe patient’s first name, for example to greet the patient.
Patient AgeThe patient’s age in years, calculated from the birth date. Empty when the patient has no birth date.
Patient EmailThe patient’s email address.
Patient National ID NumberThe patient’s national ID number.
Patient IDThe patient’s ID number in data exports.
Therapist NameThe patient’s therapists, listed by name. With several therapists the names are joined in a list, for example “Anna, Per and Kari”.


Program Information

VariableWhat it inserts
Program NameThe name of the programme.
Program Start DateThe date the patient started the programme.
Program Active UntilThe date until which the programme is active for the patient.
Program End DateThe end date of the programme.
Completed ModulesThe number of modules the patient has completed.
Total ModulesThe total number of modules in the programme.


Task data

Where the editor supports it, the list also has Task data…, which inserts a value from a task the patient has answered: a Summations result, a Question Response or the Task Submitted Date. The variable is built from the ID of the task, question or summation.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article