[comment memo="Using Variables" memo_size="large" memo_style="bold"]
[link url="//soapnote.org/sample/prepopulated-text/" memo="Previous"]
You can display named variables from other parts entered above in a form. It displays in the output, not in the form.
This uses the Var Tag.
The required parameter is name.
Note for example below: To switch views between the Active Form and Markup Code, click on "View" in the upper right of this page. Then choose "Form" to see the Active Form or choose "Markup" to reveal the Markup Code.
Note: if you want perform a calculation earlier in a form and display it toward the bottom, you don't use a variable. Instead, you should enter the calculation where you need it up above in the form but set the calculation's show parameter to false. Then you can recall the value of the calculation later in the form by setting the value equal to the prior calculation's value. More on calculations in a little while.
[link url="//soapnote.org/sample/adding-conditions/" memo="Next"]
[link url="//www.soapnote.org/sample/walkthrough-tutorial/" memo="Walkthrough Contents"]