Appearance
Stress Level
The Stress Level value is sent as part of the final results.
The application can receive the Stress Level result by implementing the OnFinalResults callback interface:
TypeScript
import {
VitalSigns,
VitalSignsResults,
StressLevelSign,
StressLevel,
} from '@biosensesignal/web-sdk';
const onFinalResults = useCallback((vitalSignsResults: VitalSignsResults) => {
const results = vitalSignsResults.results as VitalSigns;
const stressLevel = results.stressLevel as StressLevelSign;
if (stressLevel?.value != null) {
const level = stressLevel.value as StressLevel;
console.log(`Stress Level: ${level}}`);
}
}, []);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.