HealthKit organizes health data into several categories, each designed for specific kinds of information. React Native HealthKit provides full TypeScript support for all data types.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kingstinct/react-native-healthkit/llms.txt
Use this file to discover all available pages before exploring further.
Quantity types
Quantity types represent numerical measurements with units. There are over 100 quantity types available:Common quantity types
Body measurementsHKQuantityTypeIdentifierHeight- Height in meters/feetHKQuantityTypeIdentifierBodyMass- Body weightHKQuantityTypeIdentifierBodyMassIndex- BMIHKQuantityTypeIdentifierBodyFatPercentage- Body fat %HKQuantityTypeIdentifierLeanBodyMass- Lean body massHKQuantityTypeIdentifierWaistCircumference- Waist measurement
HKQuantityTypeIdentifierStepCount- Steps takenHKQuantityTypeIdentifierDistanceWalkingRunning- Distance walked/ranHKQuantityTypeIdentifierDistanceCycling- Cycling distanceHKQuantityTypeIdentifierFlightsClimbed- Stairs climbedHKQuantityTypeIdentifierActiveEnergyBurned- Active caloriesHKQuantityTypeIdentifierBasalEnergyBurned- Resting calories
HKQuantityTypeIdentifierHeartRate- Heart rate (BPM)HKQuantityTypeIdentifierRestingHeartRate- Resting heart rateHKQuantityTypeIdentifierHeartRateVariabilitySDNN- HRV (SDNN)HKQuantityTypeIdentifierRespiratoryRate- Breathing rateHKQuantityTypeIdentifierBodyTemperature- Body temperatureHKQuantityTypeIdentifierBloodPressureSystolic- Systolic blood pressureHKQuantityTypeIdentifierBloodPressureDiastolic- Diastolic blood pressureHKQuantityTypeIdentifierOxygenSaturation- Blood oxygen %
HKQuantityTypeIdentifierBloodGlucose- Blood sugarHKQuantityTypeIdentifierInsulinDelivery- Insulin dosageHKQuantityTypeIdentifierVO2Max- VO2 max measurement
HKQuantityTypeIdentifierDietaryEnergyConsumed- Calories consumedHKQuantityTypeIdentifierDietaryProtein- Protein intakeHKQuantityTypeIdentifierDietaryCarbohydrates- Carbs intakeHKQuantityTypeIdentifierDietaryFatTotal- Fat intakeHKQuantityTypeIdentifierDietaryWater- Water intake
Read-only vs writeable types
Some quantity types are read-only and computed by the system:Category types
Category types represent data that falls into predefined categories. There are 63 category types:Common category types
SleepHKCategoryTypeIdentifierSleepAnalysis- Sleep stages (awake, asleep, core, deep, REM)
HKCategoryTypeIdentifierMindfulSession- Meditation sessions
HKCategoryTypeIdentifierMenstrualFlow- Menstrual cycle trackingHKCategoryTypeIdentifierIntermenstrualBleeding- SpottingHKCategoryTypeIdentifierOvulationTestResult- Ovulation test resultsHKCategoryTypeIdentifierSexualActivity- Sexual activityHKCategoryTypeIdentifierContraceptive- Contraceptive useHKCategoryTypeIdentifierPregnancy- Pregnancy trackingHKCategoryTypeIdentifierLactation- Breastfeeding
HKCategoryTypeIdentifierHighHeartRateEvent- High heart rate notificationsHKCategoryTypeIdentifierLowHeartRateEvent- Low heart rate notificationsHKCategoryTypeIdentifierIrregularHeartRhythmEvent- AFib notificationsHKCategoryTypeIdentifierLowCardioFitnessEvent- Low fitness notificationsHKCategoryTypeIdentifierAppleWalkingSteadinessEvent- Walking steadiness alertsHKCategoryTypeIdentifierHandwashingEvent- Handwashing eventsHKCategoryTypeIdentifierToothbrushingEvent- Toothbrushing events
HKCategoryTypeIdentifierHeadacheHKCategoryTypeIdentifierNauseaHKCategoryTypeIdentifierFatigueHKCategoryTypeIdentifierDizziness- And many more…
Workout activity types
Workout types represent physical activities. There are 75+ workout activity types:Common workout types
- Duration
- Total distance
- Total energy burned
- Events (pause, resume, lap markers)
- Routes (GPS locations)
- Heart rate and other metrics
Correlation types
Correlation types group related samples together:HKCorrelationTypeIdentifierBloodPressure- Systolic + diastolic readingsHKCorrelationTypeIdentifierFood- Food items with nutrition data
Document types
Document types represent clinical documents:- CDA documents - Exposed as Base64 data for Clinical Document Architecture documents
Document types are read-only and cannot be written by third-party apps.
Clinical records
Clinical records contain medical data in FHIR JSON format:- Lab results
- Medications
- Immunizations
- Procedures
- Allergies
- Conditions
- Vital signs from clinical visits
Characteristic types
Characteristic types represent unchanging user information:Type availability
Some types are only available on specific iOS versions. Check availability before using:Related APIs
queryQuantitySamples()- Query quantity samplesqueryCategorySamples()- Query category samplesqueryWorkoutSamples()- Query workoutsqueryCorrelationSamples()- Query correlationsisObjectTypeAvailable()- Check if a type is availableareObjectTypesAvailable()- Check multiple types