|>=||greater than or equal to|
|<=||less than or equal to|
|()||brackets control order of execution|
|.||a period indicates a property of something|
Any item that's been completed by a patient has 2 useful properties:
- Response value ("r")
- Point value ("p")
Example: myPainScale, a numeric scale with point values from 0-5.
- Returns the value associated with the patient's choice (always in standard language, i.e. English)
- Returns the point value as a number
|pt||The ScriptPatient object with age, sex, etc.||
Refer to "ScriptPatient Functions" for more details about more "pt." expressions.
|daysSinceLastCompleted||The number of day since the patient last complete this form||
|firstTime||Whether or not the patient has ever completed this form||
|lastCompletedTag||A string “remembered” by the form last time it was completed||
ScriptUtil provides miscellaneous functions that allow you to simplify your scripts and support special use-cases. ScriptUtil is bound to all script session contexts, so you can use these functions in tablet rules or within eForms (show if, make note if, etc.).
Please refer to "ScriptUtil Functions" for examples of common ScriptUtil functions.