Health Score

POST https://models.dacadoo.com/score/3

Request

Field Required Description Min Max
mhm Yes The metric health model input. See table below.
smk No The smoking input. See table below.
mvm No The movement input. See table below.
slp No The sleep input. See table below.
nut No The nutrition input. See table below.
qlm No The quality of life input. See table below.
clip No Whether to clip out-of-bounds values instead of returning an error status.

Metric Health Model

Biometric data. The eth value must only be used in compliance with applicable regulation. Please note that not all inputs are currently used for Health Score calculation.

Field Required Description Min Max
age Yes Age in years [years] 17 86
sex Yes Male = 1 Female = 0 [.] 0 1
hgt Yes Height [cm] 85 215
wgt Yes Weight [kg] 40 135
eth Race/ethnicity [ see below ]
   ethnicity codes:

      0 => white caucasian
      1 => african american
      2 => american hispanic
      3 => southern european
      4 => middle-eastern, non-arab
      5 => middle-eastern, arab
      6 => asian
      7 => aboriginal 
      8 => black african
      9 => indian
     10 => bangaladeshi
     11 => pakistani

     30 => other
0 30
fat Body fat % [%] 6 45
wst Waist circumference [cm] 75 130
tsc Total serum cholesterol [mmol/L] 1.5 18
hdl High-density lipoprotein [mmol/L] 0.2 5.1
ldl Low-density lipoprotein [mmol/L] 0.5 10
tgl Triglycerides [mmol/L] 0.2 40.5
fbg Fasting blood glucose [mmol/L] 4 18
sbp Systolic blood pressure [mmHg] 80 210
dbp Diastolic blood pressure [mmHg] 50 120
map Mean arterial blood pressure [mmHg] 65 170
ppr Pulse pressure [mmHg] 15 175
rhr Resting heart rate [bpm] 40 110
hrr1 One-minute heart rate recovery [bpm] 0 40
crp C-reactive protein [nmol/L] 0.6 60
A1C Glycated hemoglobin [%] 4.4 7.5
alb Albumin [g/L] 30 50
eag Estimated average glucose [mmol/L] 4 18
cre Serum creatinine [umol/L (micro-mol)] 30 260
acr Albumin-creatinine ratio [mg/mmol] 30 50
gfr Glomerular filtration rate [mL/min/1.73 m^2] 0 160
cys Serum Cystatin-C [mg/L] 0 6
apoA Apolipoprotein A-1 [g/L] 1.2 1.8
apoB Apolipoprotein B-100 [g/L] 0.8 1.3
adi Adiponectin [ug/mL] 0.01 18
fib Fibrinogen [g/L] 2.5 3.9
fvc Forced Vital capacity [L] 1 6
fev Forced expiratory volume (1 sec) [L] (FEV1) 1 6
hcy Plasma Homocysteine [umol/L] 6 17
ins Serum insulin [pmol/L] 10 1000
bun Blood urea nitrogen [mmol/L] 0.5 30
sun Serum urea nitrogen [mmol/L] 0.5 30
cac Coronary Artery Calcium score [HU] 0 1001
pot Serum Potassium [mmol/L] 2 6.5
pdm Pre-diabetes / IGT [.] 0 1
tpnI Troponin I [ug/L] 0 0.03
tpnT Troponin T [ug/L] 0 0.03
msy Metabolic Syndrome [.] 0 1
abi Ankle-Brachial index [.] 0.2 1.7
whr Waist to hip ratio [.] 0.6 1.3
qtc Bazett-corrected QTc interval [ms] 350 500
alt Alanine aminotransferase [units/L] 5 55
ast Aspartate aminotransferase [units/L] 6 50
ggt gamma-Glutamyltransferase [units/L] 0 40
hgn Hemoglobin (whole blood) [g/L] 120 210
trl Triglyceride-rich lipoprotein [mmol/L] 0 3
exl Self-reported exercise level [.] 0 4
alc Alcohol daily intake [EtOH g/day] 0 70
cof Cups of coffee per day [number] 0 10
cst Corticosteroid usage 0 1
stn Statin usage 0 1
LVH ECG diagnosed left ventricular hypertrophy 0 3
DM2 Diagnosed with Type II Diabetes melitus 0 3
HyT Diagnosed with hypertension or SBP >= 160 DBP >= 100 0 3
THT Currently in treatment for hypertension 0 3
AFN Diagnosed with any kind of arrhythmia 0 3
CKD Diagnosed with Chronic Kidney Disease 0 3
PAD Diagnosed with Peripheral Arterial Disease 0 3
STK Has had a stroke 0 3
PMI Has had an MI 0 3
CVD Diagnosed with cardiovascular disease 0 3
CHF Diagnosed Congestive Hear Failure 0 3
PRA Diagnosed with proteinuria / albuminuria 0 3
ANM Diagnosed with anemia 0 3
CNR Has or has had cancer 0 3
COT Cancer outcome: 0 => complete remission, 1 => partial remission, 2 => in treatment 0 2
VDS Valvular disease (all) 0 3
CHD Coronary heart disease 0 3
fCV Immediate family history of premature CVD (at age < 60) 0 3
fDM Immediate family history of Diabetes 0 3
fMI Immediate family history of angina or heart attack 0 3
fCR Immediate family history of cancer 0 3
nCR Number of family members that have had cancer 1 10
pHT Parental hypertension: 0 (none), (1) one parent, (2) both, (3) don't know 0 3
hrM Maximum heart rate 100 195

Smoking

Smoking history and status. Please see above for an explanation of the Use column.

Field Required Description Min Max Use

Movement

Energy transfer from physical activity, represented as time series up to 60 days with array index 0 being today. Use null for gaps.

Field Required Description Min Max
nrg normenergy in MET h 0

Sleep

Sleep, represented as time series up to 60 days with array index 0 being today. Use null for gaps.

Field Required Description Min Max
bed Time in bed, in hours 0
slp Time asleep, in hours 0
awk Times awoken 0

Nutrition

Nutrition, represented as a series of questions with array indexes as per the table below. Use null for unanswered questions.

Field Required Description Min Max
nqs Nutrition 2017 model questions 0 1
Index Over the past two weeks, how often did you...
0 eat less than 2 servings of fruit a day
1 eat less than 1 serving of peanuts or peanut butter, other nuts, nut butters, and seeds a day
2 eat less than 2 servings of dark leafy green vegetables or other types of vegetables
3 eat less than 2 servings of legumes a week
4 prefer whole grain breads, pasta, or cereal instead of refined breads, pasta, or cereal
5 prefer fish that was neither fried nor breaded instead of red or processed meat
6 eat more than 2 servings of fried or breaded foods a week
7 prefer olive, canola, high oleic safflower, [...] instead of other oils or fats for cooking
8 eat candy bars, pastries, cookies, cakes, or frozen desserts (ice cream) more than twice a day
9 limit your salt intake by reducing [...] the salt content of processed foods
10 drink more than 6 glasses of water or other unsweetened beverages a day
11 drink 2 glasses or more of sugar-sweetened beverages a day
12 drink more than 1 serving of alcohol a day
13 take a moment before you ate to appreciate the colors and smells of your food
14 eat more than 3 servings of processed foods a week
15 eat at least two main meals a day
16 snack without noticing that you were eating
17 eat 3 or more meals a week from a fast food restaurant
18 stop eating when you were full even when eating something you love
19 recognize when food advertisements made you want to eat
20 go find something to eat when you were feeling stressed
21 skip breakfast and eat your first main meal at lunchtime

Quality of Life

Field Required Description Min Max
q01 Do you feel you are in good health? 0 1
q02 Are you satisfied with your state of health? 0 1
q03 How often are you in physical or emotional pain? 0 1
q04 Does pain interfere with your enjoyment of life? 0 1
q05 Does your physical health interfere with your daily activities? 0 1
q06 Does your emotional health interfere with your daily activities? 0 1
q07 Do you feel hopeful about the future? 0 1
q08 Do you feel anxious or under stress? 0 1
q09 (Currently not used.) 0 1
q10 Do you enjoy eating? 0 1
q11 Do you feel full of energy? 0 1
q12 Do you feel sad or depressed? 0 1
q13 Do you feel calm and relaxed? 0 1
q14 Do you feel that your efforts are fully appreciated? 0 1
q15 Do you feel good about your life in general? 0 1
q16 Do you feel good about your social interactions? 0 1
q17 Do you feel good about yourself? 0 1
q18 Do you feel good about your financial situation? 0 1
q19 Do you feel good about the quality of your sleep? 0 1
q20 Do you feel good about your work? 0 1
q21 Do you exercise regularly? 0 1
q22 Do you keep a healthy diet? 0 1
q23 (Currently not used.) 0 1
q24 Do you think your physical health will improve in the near future? 0 1
q25 Do you think your emotional health will improve in the near future? 0 1
q26 Do you think the overall quality of your life will improve in the near future? 0 1
q27 Do you think your outlook on life will improve in the near future? 0 1

Response

Field Guaranteed Description Min Max
scr Yes Overall Health Score 0 1,000
lcl Yes Lower confidence limit 0 1,000
ucl Yes Upper confidence limit 0 1,000
rqy Yes Relative quality years gained/lost
components Yes Components. See table below.
subscores Yes Subscores. See table below.

Components

The components are the principal three pilars of the Health Score.

Field Guaranteed Description Min Max
lfs Yes Lifestyle score 0 1,000
bdy Yes Body score 0 1,000
fee Yes Feeling score 0 1,000

Subscores

Subscores place a spot light on selected areas of health. For consistency, higher scores are better. Consequently, a score such as the stress score should regarded as an anti-stress score.

Field Guaranteed Description Min Max
mvm Yes Movement score 0 1,000
nut Yes Nutrition score 0 1,000
smk Yes (Anti-) Smoking score 0 1,000
obe Yes (Anti-) Obsesity score 0 1,000
slp Yes Sleep score 0 1,000
dep Yes (Anti-) Depression score 0 1,000
wel Yes Wellness score 0 1,000
str Yes (Anti-) Stress score 0 1,000

Examples

Request Body

{
  "mhm": {
    "age": 40,
    "sex": 0,
    "hgt": 180,
    "wgt": 70
  },
  "smk": {
    "now": 0,
    "evr": 0
  },
  "slp": {
    "bed": [ 8.0, null, null, 7.5, 8.0 ],
    "slp": [ 7.0, null, null, 5.0, 7.9 ],
    "awk": [ 2, null, null, 4, 1 ]
  },
  "nut": {
    "nqs": [ 0.5, 0.5, null, 0.5, null, null, 0.8 ]
  },
  "qlm": {
    "q01": 0.1,
    "q07": 0.7
  },
  "clip": false
}

Response Body

{
	"scr": 718,
	"lcl": 137,
	"ucl": 73
	"rqy": 3.07766126409,
	"components": {
		"lfs": 690,
		"bdy": 827,
		"fee": 509
	},
	"subscores": {
		"mvm": 317,
		"nut": 550,
		"smk": 1000,
		"obe": 942,
		"slp": 514,
		"dep": 555,
		"wel": 570,
		"str": 553
	},
        "clip": false
}