Example of outputting a variable's description
The description 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.description to out the definition of the variable.
Setup on report template | Output on subject report |
---|---|
<%= #pain_level.definition.description %> | Subject's descriptive pain level |