Skip to content

High Fasting Glucose Risk

The High Fasting Glucose Risk value is sent as part of the final results.

The definition for the result includes three entries: Low, Medium, and High. However, in this version, only Low and High results will be used.

The application can receive the High Fasting Glucose Risk result by implementing the OnFinalResults callback interface:

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

const onFinalResults = useCallback((vitalSignsResults: VitalSignsResults) => {
    const results = vitalSignsResults.results as VitalSigns;
    const highFastingGlucoseRisk = results.highFastingGlucoseRisk as HighFastingGlucoseRiskSign;
    if (highFastingGlucoseRisk?.value != null) {
        const risk = highFastingGlucoseRisk.value as HighFastingGlucoseRisk;
        console.log(`High Fasting Glucose Risk: ${risk}`);
    }
}, []);

For general information about vital signs see the Vital Signs and Health Indicators Information Document.

For a list of supported vital signs per platform see the Supported Vital Signs Document and the System Requirements pages.