Using Variables

Samples, Snippets, & Training
Loading Add to Favorites
Share
Tweet
Cite
[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.

Example:
[var name=”xxx”]

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"]
Using Variables
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.

Example:
”xxx”

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.
Next
Walkthrough Contents
Result - Copy and paste this output:

Home Forums Using Variables

This topic contains 0 replies, has 1 voice, and was last updated by  Mark Morgan MD 1 year, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7363

    Mark Morgan MD
    Keymaster

    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 requi
    [See the full post at: Using Variables]

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.