Interpreted Results

Samples, Snippets, & Training
No Comments
Loading Add to Favorites
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00)
log on to rate
Loading...
Share
Tweet
Cite
[comment memo="Interpreted Results" memo_size="large" memo_style="bold"]
[link url="//soapnote.org/sample/simple-computations-2/" memo="Previous"]
Interpreted Results are a special type of calculation. A sample with an interpreted result is [link url="//www.soapnote.org/sample/interpreted-computation/" memo="HERE"].
This feature is valuable because it allows you to group ranges of results.

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:
This calculator performs interpreted calculation
[text name="A"] <-- A (enter a number)
[text name="B"] <-- B (enter a number)

A + B –> [calc value="score2=(A)+(B);score2>1000?'Sum is greater than 1000':score2>100?'Sum is greater than 100 and less than or equal to 1000':score2>10?'Sum is greater than 10 and less than or equal to 100':score2>0?'Sum is greater than 0 and less than or equal to 10':'sum is 0 or less'" memo="interpretation"]

As you can see above, it has most of the same elements as a simple calculation. The interpretation information follows the calculation after a semicolon.
Since an interpretation is a separate calculation it must have a distinct name (score2).
The computation follows ((A)+(B)).
Semicolon separates the computation from the interpretation (;).
Ranges are then interpreted from highest to lowest, each is separated by a colon (:).
The highest value is score2>1000?. The output follows this in single quotes. Then a colon.
The next value is score2>100?. The output follows this in single quotes. Then a colon.
The next value is score2>10?. The output follows this in single quotes. Then a colon.
The lowest value is not specifically labeled like the others. The output alone is listed for everything lower than the range above it.
This is definitely best understood by looking at the example again it's [link url="//soapnote.org/sample/interpreted-computation/" memo="RIGHT HERE"].
[link url="//soapnote.org/sample/helper-tool/" memo="Next"]
[link url="//soapnote.org/sample/walkthrough-tutorial/" memo="Walkthrough Contents"]
Interpreted Results
Previous
Interpreted Results are a special type of calculation. A sample with an interpreted result is HERE.
This feature is valuable because it allows you to group ranges of results.

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:
This calculator performs interpreted calculation
<-- A (enter a number)
<-- B (enter a number)

A + B –> interpretationscore2=(A)+(B);score2>1000?'Sum is greater than 1000':score2>100?'Sum is greater than 100 and less than or equal to 1000':score2>10?'Sum is greater than 10 and less than or equal to 100':score2>0?'Sum is greater than 0 and less than or equal to 10':'sum is 0 or less'

As you can see above, it has most of the same elements as a simple calculation. The interpretation information follows the calculation after a semicolon.
Since an interpretation is a separate calculation it must have a distinct name (score2).
The computation follows ((A)+(B)).
Semicolon separates the computation from the interpretation (;).
Ranges are then interpreted from highest to lowest, each is separated by a colon (:).
The highest value is score2>1000?. The output follows this in single quotes. Then a colon.
The next value is score2>100?. The output follows this in single quotes. Then a colon.
The next value is score2>10?. The output follows this in single quotes. Then a colon.
The lowest value is not specifically labeled like the others. The output alone is listed for everything lower than the range above it.
This is definitely best understood by looking at the example again it's RIGHT HERE.
Next
Walkthrough Contents
Result - Copy and paste this output:

Leave a Reply