Calculation rules
A typical calculation rule script:
- Gets the normalized or entered value of all items it needs for performing a calculation by using the GetValueRF or GetEnteredValue method of the Patient object.
- Gets the value of any arguments it needs by using the GetArgument method, if the rule is designed generically with parameters to accept arguments.
- Performs a calculation with the obtained data values.
- Loads the Result property of the Result object with the result of the calculation.