Skip to content

ReactNative SDK Reference / UserInfo

Interface: UserInfo ​

The information of the user doing scanning.

Properties ​

age ​

age: number

Current age. Affected outputs: [cardiovascularRisk, diabetesRisk, hypertensionRisk]


alcoholic? ​

alcoholic?: boolean

Do you consume alcohol on a regular basis?


antiHypertensive? ​

antiHypertensive?: boolean

Taken antihypertensive medication regularly? Options: {True: Yes; False: No} Affected outputs: [diabetesRisk]


asthma? ​

asthma?: boolean

Do you have asthma?


bpMedication? ​

bpMedication?: boolean

Are you taking blood pressure medication?


depression? ​

depression?: boolean

Do you have depression?


diabetic? ​

diabetic?: Diabetic

Are you diabetic? Options: {0: "No", 1: "Type 1", 2: "Type 2"} Affected outputs: [cardiovascularRisk]


ethnicity? ​

ethnicity?: string

What is your ethnicity?


exercise? ​

exercise?: Exercise

Weekly physical activity


gender ​

gender: Gender

Gender of birth. Affected outputs: [cardiovascularRisk, diabetesRisk, hypertensionRisk]


hdl? ​

hdl?: number

HDL (high-density lipoprotein) cholesterol. Good cholesterol. Affected outputs: [cardiovascularRisk]


healthyDiet? ​

healthyDiet?: boolean

Daily vegetable, fruit, or berries consumption? Options: {True: Every day; False: Not every day} Affected outputs: [diabetesRisk]


heartDisease? ​

heartDisease?: boolean

Do you have heart disease?


height? ​

height?: number

Height in CM. Affected outputs: [diabetesRisk, hypertensionRisk]


historyBloodGlucose? ​

historyBloodGlucose?: boolean

History has been found of high blood glucose? Affected outputs: [diabetesRisk]


historyFamilyDiabetes? ​

historyFamilyDiabetes?: HistoryFamilyDiabetes

Taken antihypertensive medication regularly? Options: {0: No; 1: Yes - grandparent, aunt, uncle, or first cousin; 2: Yes - parent, brother, sister or own child} Affected outputs: [diabetesRisk]


hypertension? ​

hypertension?: boolean | Hypertension

Do you have hypertension? Options: (schema 1: True/False, schema 2: {0: "No", 1: "Stage 1", 2: "Stage 2"})


nationality? ​

nationality?: string

What is your nationality?


occupation? ​

occupation?: string

What is your occupation?


parentalHypertension? ​

parentalHypertension?: ParentalHypertension

Any parents have hypertension? Options: {0: no parental hypertension; 1: 1 parent; 2: both parents} Affected outputs: [hypertensionRisk]


physicalActivity? ​

physicalActivity?: boolean

Daily physical activity > 30 minutes? Affected outputs: [diabetesRisk]


sleepDuration? ​

sleepDuration?: number

How many hours of sleep do you get on average?


smoker? ​

smoker?: boolean

Do you smoke on a regular basis? Affected outputs: [cardiovascularRisk, hypertensionRisk]


totalCholesterol? ​

totalCholesterol?: number

Total cholesterol in mg/dL Affected outputs: [cardiovascularRisk]


userId? ​

userId?: string

Id assigned by AWS server

Deprecated: userId will be set via sdkCredentials in the future.


waistCircumference? ​

waistCircumference?: number

Waist circumference in CM Affected outputs: [diabetesRisk]


weight? ​

weight?: number

Weight in KG. Affected outputs: [diabetesRisk, hypertensionRisk]