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 template | Output on subject report |
---|---|
<%= #pain_level.definition.name %> | Pain level |