Skip to content

TypeScript SDK Reference / UserInfo

Interface: UserInfo

The information of the user doing scanning.

Properties

age?

optional age: number

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


alcoholic?

optional alcoholic: boolean

Do you consume alcohol on a regular basis?


antiHypertensive?

optional antiHypertensive: boolean

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


asthma?

optional asthma: boolean

Do you have asthma?


bpMedication?

optional bpMedication: boolean

Are you taking blood pressure medication?


depression?

optional depression: boolean

Do you have depression?


diabetic?

optional diabetic: Diabetic

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


ethnicity?

optional ethnicity: string

What is your ethnicity?


exercise?

optional exercise: Exercise

Weekly physical activity


gender?

optional gender: Gender

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


hdl?

optional hdl: number

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


healthyDiet?

optional healthyDiet: boolean

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


heartDisease?

optional heartDisease: boolean

Do you have heart disease?


height?

optional height: number

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


historyBloodGlucose?

optional historyBloodGlucose: boolean

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


historyFamilyDiabetes?

optional 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?

optional hypertension: boolean | Hypertension

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


nationality?

optional nationality: string

What is your nationality?


occupation?

optional occupation: string

What is your occupation?


parentalHypertension?

optional parentalHypertension: ParentalHypertension

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


physicalActivity?

optional physicalActivity: boolean

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


sleepDuration?

optional sleepDuration: number

How many hours of sleep do you get on average?


smoker?

optional smoker: boolean

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


totalCholesterol?

optional totalCholesterol: number

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


userId?

optional userId: string

Id assigned by AWS server


waistCircumference?

optional waistCircumference: number

Waist circumference in CM Affected outputs: [diabetesRisk]


weight?

optional weight: number

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