Choose which health indices to show
Select the indices your app needs in the custom measurement configuration. The embedded UI uses that selection for both the results screen and the risk-factor form, so a person is asked only for inputs relevant to the selected indices.
Select indices
This example includes waist-to-height ratio and Body Roundness Index. Both use waist circumference and height. Here, config is the custom measurement configuration your app already prepares, including the scan duration and metrics you want to keep.
const { HealthIndex } = shenaiSDK
shenaiSDK.setCustomMeasurementConfig({
...config,
healthIndices: [HealthIndex.WAIST_TO_HEIGHT_RATIO, HealthIndex.BODY_ROUNDNESS_INDEX]
})Available health index identifiers
WELLNESS_SCOREVASCULAR_AGECARDIOVASCULAR_DISEASE_RISKHARD_AND_FATAL_EVENTS_RISKSCARDIOVASCULAR_RISK_SCOREWAIST_TO_HEIGHT_RATIOBODY_FAT_PERCENTAGEBODY_ROUNDNESS_INDEXA_BODY_SHAPE_INDEXCONICITY_INDEXBASAL_METABOLIC_RATETOTAL_DAILY_ENERGY_EXPENDITUREHYPERTENSION_RISKDIABETES_RISKNON_ALCOHOLIC_FATTY_LIVER_DISEASE_RISK
Selection determines what the interface offers. An index can still be unavailable if its inputs are missing or the license or UI version restricts it. To calculate indices directly from your own form, see Integrating Health Indices.