/
Example of outputting a variable's name

Example of outputting a variable's name

The name of a variable from the variable's definition can be output onto a subject report.  Append the variable code in the subject report with .definition.name to output the name of the variable.



Setup on report templateOutput on subject report
<%= #pain_level.definition.name %>Pain level

Related content

Example of outputting a variable's description
Example of outputting a variable's description
More like this
Additional outputs on a subject report
Additional outputs on a subject report
More like this
Programming Subject Reports
Programming Subject Reports
More like this
Add variables onto a report template
Add variables onto a report template
More like this
How to change the variable name displayed
How to change the variable name displayed
More like this
Creating Report Templates (through v3.4)
Creating Report Templates (through v3.4)
More like this