Skip to content

Wellness Level

The Wellness Level value is sent as part of the final results.

The application can receive the Wellness Level result by implementing the OnFinalResults callback interface:

TypeScript
import { 
    VitalSigns,
    VitalSignsResults,
    WellnessLevelSign,
    WellnessLevel,
} from '@biosensesignal/web-sdk';

const onFinalResults = useCallback((vitalSignsResults: VitalSignsResults) => {
    const results = vitalSignsResults.results as VitalSigns;
    const wellnessLevel = results.wellnessLevel as WellnessLevelSign;
    if (wellnessLevel?.value != null) {
        const level = wellnessLevel.value as WellnessLevel;
        console.log(`Wellness 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.