Hi.
If I have raw ECG data and want to record it in SampledData type, then How to determine the origin value and scale factor for that data.
The description of this type says that
“original measured value[i] = SampledData.data[i] * SampledData.factor + SampledData.origin.value”,
How to determine “SampledData.factor” and “SampledData.origin.value”.
If you’re not sure, you can always use 0 and 1. Often such measurements are captured in a quantized fashion (using some form of analog to digital conversion). The digital values are all integers (which are the most efficient way to convey the values in the ‘data’ element). However, those integers need to be adjusted by a factor and offset to get the ‘actual’ value.