Skip to content

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 additional information regarding the supported indicators see the Indicators Technical Information page.