Content variables
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
| Variable | What it inserts |
|---|---|
| Patient Name | The patient’s full name. |
| Patient First Name | The patient’s first name, for example to greet the patient. |
| Patient Age | The patient’s age in years, calculated from the birth date. Empty when the patient has no birth date. |
| Patient Email | The patient’s email address. |
| Patient National ID Number | The patient’s national ID number. |
| Patient ID | The patient’s ID number in data exports. |
| Therapist Name | The patient’s therapists, listed by name. With several therapists the names are joined in a list, for example “Anna, Per and Kari”. |
Program Information
| Variable | What it inserts |
|---|---|
| Program Name | The name of the programme. |
| Program Start Date | The date the patient started the programme. |
| Program Active Until | The date until which the programme is active for the patient. |
| Program End Date | The end date of the programme. |
| Completed Modules | The number of modules the patient has completed. |
| Total Modules | The 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.