What are the various data types tracked by HealthKit in iOS?
I've not found any good overview and lists of the data types offered by HealthKit in iOS 8 & 9.
I've gleaned this list from various sources including the WWDC videos of 2014 and 2015. But I'm looking for a more thorough list & discussion. I've not found it in the developer.apple.com site.
iOS 8
Characteristics:
- Birth date
- Blood type
- Biological sex.
Basic Samples:
- Height
- Weight
- Body fat %
- BMI (body mass index)
- Blood pressure
- Oxygen Saturation
- Blood Alcohol Content (BAC)
- Blood Glucose
- Respiratory Rate
- Spirometry
- Heart rate
Sleep Samples: ??
Food Samples:
- Calories
- Vitamins (A, C, B6, B12)
- Minerals (Potassium)
Exercise Samples:
- Steps
- Flights climbed
- “Nike Fuel” (Nike site)
- Inhaler Usage
- Cycling distance
iOS 9
iOS 9 adds the following types.
Characteristics:
- Fitzpatrick Skin Type.
Skin tone on a range from I to VI. A way to classify the typical response of different types of skin to ultraviolet (UV) light. https://en.wikipedia.org/wiki/Fitzpatrick_scale
Samples:
- UV exposure. (UV index, 0-12)
- Water intake.
Reproductive Samples:
- Basal body temp
- Cervical mucus quality (values: Dry, Sticky, Creamy, Watery, EggWhite).
- Ovulation Test Result (for LH surge) (values: Negative, Positive)
- Menstruation start
- Menstrual flow (values: Unspecified, Light, Medium, Heavy)
- Vaginal spotting (outside of menstruation)
- Sexual activity (a Boolean)
- Protected vs. unprotected state, both in terms of STIs and protection against pregnancy.
HealthKit Constants covers the data types you can fetch, but doesn't seem to have the iOS9 additions yet.