Summary
This method returns the average of multiple collected item values. A common use case is ECG triplicate readings, but it will apply to any similar use case. It also can be used to average an arbitrary number of values as long as the FormData conforms to the conventions used by this method.
Form Setup
This method requires that the average values are collected in the same form as the three triplicate values. So you’ll want to create an ‘averages’ item group within your triplicate form to house your calculated-average items.
This method returns a ‘float’ datatype value. Therefore, the item you associate it with must also be a float datatype. You can adjust the number of decimal places returned by the method.
Formal Expression
Using this method, the following fields might require editing based on your naming conventions and decimal place precision requirements for averaged results.
...