Unit Definitions

Unit is set based on the type of language; there are four different types of options,

Name Description
default Provided by iHealth APIs system
en_US U.S. general unit
en_UK English general unit
user User preference

The details of types of units,

default

Name Unit
HeightUnit cm
WeightUnit kg
BPUnit mmHg
BGUnit mg/dl
FoodUnit g
DistanceUnit km
TemperatureUnit
HeartrateUnit bpm

en_US

Name Unit
HeightUnit feet
WeightUnit lbs
BPUnit mmHg
BGUnit mg/dl
FoodUnit oz
DistanceUnit mile
TemperatureUnit

en_UK

Name Unit
HeightUnit cm
WeightUnit stone
BPUnit mmHg
BGUnit mmol/l
FoodUnit g
DistanceUnit km
TemperatureUnit

HeightUnit

Unit Value
cm 0
feet 1

WeightUnit

Unit Value
kg 0
lbs 1
stone 2

BPUnit

Unit Value
mmHg 0
KPa 1

BGUnit

Unit Value
mg/dl 0
mmol/l 1

FoodUnit

Unit Value
oz 0
g 1

DistanceUnit

Unit Value
km 0
mile 1

TemperatureUnit

Unit Value
0
1

 

The unit type depends on the preferences the user sets from iHealth cloud / App, it will return the unit that the user sets.