Appearance
Stress Index
The Stress Index value is sent as part of the final results.
The application can receive the Stress Index result by implementing the OnFinalResults callback interface:
TypeScript
import {
VitalSigns,
VitalSignsResults,
StressIndexSign,
} from '@biosensesignal/web-sdk';
const onFinalResults = useCallback((vitalSignsResults: VitalSignsResults) => {
const results = vitalSignsResults.results as VitalSigns;
const stressIndex = results.stressIndex as StressIndexSign;
if (stressIndex?.value != null) {
console.log(`Stress Index: ${stressIndex.value}}`);
}
}, []);For general information about vital signs see the Vital Signs and Health Indicators Information Document.
For a list of supported indicators and their required measurement durations, see the Indicators Technical Information page.