<!--
{
  "documentType" : "article",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/data-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Data types"
}
-->

# Data types

Specify the kind of data used in HealthKit.

## Discussion

HealthKit uses [`HKObjectType`](/documentation/HealthKit/HKObjectType) subclasses to identify the different types of data stored in HealthKit, from inherent data that doesn’t typically change over time to complex data types that combine multiple samples or compute values over sets of samples.

To create a type object, call the appropriate [`HKObjectType`](/documentation/HealthKit/HKObjectType) class method, and pass in the desired type identifier.

```swift
let bloodType = HKObjectType.characteristicType(forIdentifier: .bloodType)

let caloriesConsumed = HKObjectType.quantityType(forIdentifier: .dietaryEnergyConsumed)

let sleepAnalysis = HKObjectType.categoryType(forIdentifier: .sleepAnalysis)
```

You can use the resulting object types to request permission to access the data, save new data to the HealthKit store, or read data from the HealthKit store.

## Topics

### Object type subclasses

[`HKCharacteristicType`](/documentation/HealthKit/HKCharacteristicType)

A type that represents data that doesn’t typically change over time.

[`HKQuantityType`](/documentation/HealthKit/HKQuantityType)

A type that identifies samples that store numerical values.

[`HKCategoryType`](/documentation/HealthKit/HKCategoryType)

A type that identifies samples that contain a value from a small set of possible values.

[`HKCorrelationType`](/documentation/HealthKit/HKCorrelationType)

A type that identifies samples that group multiple subsamples.

[`HKActivitySummaryType`](/documentation/HealthKit/HKActivitySummaryType)

A type that identifies activity summary objects.

[`HKAudiogramSampleType`](/documentation/HealthKit/HKAudiogramSampleType)

A type that identifies samples that contain audiogram data.

[`HKElectrocardiogramType`](/documentation/HealthKit/HKElectrocardiogramType)

A type that identifies samples containing electrocardiogram data.

[`HKSeriesType`](/documentation/HealthKit/HKSeriesType)

A type that indicates the data stored in a series sample.

[`HKClinicalType`](/documentation/HealthKit/HKClinicalType)

A type that identifies samples that contain clinical record data.

[`HKWorkoutType`](/documentation/HealthKit/HKWorkoutType)

A type that identifies samples that store information about a workout.

[`HKObjectType`](/documentation/HealthKit/HKObjectType)

An abstract superclass with subclasses that identify a specific type of data for the HealthKit store.

[`HKSampleType`](/documentation/HealthKit/HKSampleType)

An abstract superclass for all classes that identify a specific type of sample when working with the HealthKit store.

### Characteristic identifiers

[`HKCharacteristicTypeIdentifierActivityMoveMode`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/activityMoveMode)

A characteristic identifier for the user’s activity mode.

[`HKCharacteristicTypeIdentifierBiologicalSex`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/biologicalSex)

A characteristic type identifier for the user’s sex.

[`HKCharacteristicTypeIdentifierBloodType`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/bloodType)

A characteristic type identifier for the user’s blood type.

[`HKCharacteristicTypeIdentifierDateOfBirth`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/dateOfBirth)

A characteristic type identifier for the user’s date of birth.

[`HKCharacteristicTypeIdentifierFitzpatrickSkinType`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/fitzpatrickSkinType)

A characteristic type identifier for the user’s skin type.

[`HKCharacteristicTypeIdentifierWheelchairUse`](/documentation/HealthKit/HKCharacteristicTypeIdentifier/wheelchairUse)

A characteristic identifier for the user’s use of a wheelchair.

### Activity

[`HKQuantityTypeIdentifierStepCount`](/documentation/HealthKit/HKQuantityTypeIdentifier/stepCount)

A quantity sample type that measures the number of steps the user has taken.

[`HKQuantityTypeIdentifierDistanceWalkingRunning`](/documentation/HealthKit/HKQuantityTypeIdentifier/distanceWalkingRunning)

A quantity sample type that measures the distance the user has moved by walking or running.

[`HKQuantityTypeIdentifierRunningSpeed`](/documentation/HealthKit/HKQuantityTypeIdentifier/runningSpeed)

A quantity sample type that measures the runner’s speed.

[`HKQuantityTypeIdentifierRunningStrideLength`](/documentation/HealthKit/HKQuantityTypeIdentifier/runningStrideLength)

A quantity sample type that measures the distance covered by a single step while running.

[`HKQuantityTypeIdentifierRunningPower`](/documentation/HealthKit/HKQuantityTypeIdentifier/runningPower)

A quantity sample type that measures the rate of work required for the runner to maintain their speed.

[`HKQuantityTypeIdentifierRunningGroundContactTime`](/documentation/HealthKit/HKQuantityTypeIdentifier/runningGroundContactTime)

A quantity sample type that measures the amount of time the runner’s foot is in contact with the ground while running.

[`HKQuantityTypeIdentifierRunningVerticalOscillation`](/documentation/HealthKit/HKQuantityTypeIdentifier/runningVerticalOscillation)

A quantity sample type measuring pelvis vertical range of motion during a single running stride.

[`HKQuantityTypeIdentifierDistanceCycling`](/documentation/HealthKit/HKQuantityTypeIdentifier/distanceCycling)

A quantity sample type that measures the distance the user has moved by cycling.

[`HKQuantityTypeIdentifierPushCount`](/documentation/HealthKit/HKQuantityTypeIdentifier/pushCount)

A quantity sample type that measures the number of pushes that the user has performed while using a wheelchair.

[`HKQuantityTypeIdentifierDistanceWheelchair`](/documentation/HealthKit/HKQuantityTypeIdentifier/distanceWheelchair)

A quantity sample type that measures the distance the user has moved using a wheelchair.

[`HKQuantityTypeIdentifierSwimmingStrokeCount`](/documentation/HealthKit/HKQuantityTypeIdentifier/swimmingStrokeCount)

A quantity sample type that measures the number of strokes performed while swimming.

[`HKQuantityTypeIdentifierDistanceSwimming`](/documentation/HealthKit/HKQuantityTypeIdentifier/distanceSwimming)

A quantity sample type that measures the distance the user has moved while swimming.

[`HKQuantityTypeIdentifierDistanceDownhillSnowSports`](/documentation/HealthKit/HKQuantityTypeIdentifier/distanceDownhillSnowSports)

A quantity sample type that measures the distance the user has traveled while skiing or snowboarding.

[`HKQuantityTypeIdentifierBasalEnergyBurned`](/documentation/HealthKit/HKQuantityTypeIdentifier/basalEnergyBurned)

A quantity sample type that measures the resting energy burned by the user.

[`HKQuantityTypeIdentifierActiveEnergyBurned`](/documentation/HealthKit/HKQuantityTypeIdentifier/activeEnergyBurned)

A quantity sample type that measures the amount of active energy the user has burned.

[`HKQuantityTypeIdentifierFlightsClimbed`](/documentation/HealthKit/HKQuantityTypeIdentifier/flightsClimbed)

A quantity sample type that measures the number flights of stairs that the user has climbed.

[`HKQuantityTypeIdentifierNikeFuel`](/documentation/HealthKit/HKQuantityTypeIdentifier/nikeFuel)

A quantity sample type that measures the number of NikeFuel points the user has earned.

[`HKQuantityTypeIdentifierAppleExerciseTime`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleExerciseTime)

A quantity sample type that measures the amount of time the user spent exercising.

[`HKQuantityTypeIdentifierAppleMoveTime`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleMoveTime)

A quantity sample type that measures the amount of time the user has spent performing activities that involve full-body movements during the specified day.

[`HKCategoryTypeIdentifierAppleStandHour`](/documentation/HealthKit/HKCategoryTypeIdentifier/appleStandHour)

A category sample type that counts the number of hours in the day during which the user has stood and moved for at least one minute per hour.

[`HKQuantityTypeIdentifierAppleStandTime`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleStandTime)

A quantity sample type that measures the amount of time the user has spent standing.

[`HKQuantityTypeIdentifierVO2Max`](/documentation/HealthKit/HKQuantityTypeIdentifier/vo2Max)

A quantity sample that measures the maximal oxygen consumption during exercise.

[`HKCategoryTypeIdentifierLowCardioFitnessEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/lowCardioFitnessEvent)

An event that indicates the user’s VO2 max values consistently fall below a particular aerobic fitness threshold.

### Attachments

[`HKAttachment`](/documentation/HealthKit/HKAttachment)

A file that is attached to a sample in the HealthKit store.

[`HKAttachmentStore`](/documentation/HealthKit/HKAttachmentStore)

The access point for attachments associated with samples in the HealthKit store.

[`HKAttachmentDataReader`](/documentation/HealthKit/HKAttachmentDataReader)

A reader that provides access to an attachment’s data.

### Body measurements

[`HKQuantityTypeIdentifierHeight`](/documentation/HealthKit/HKQuantityTypeIdentifier/height)

A quantity sample type that measures the user’s height.

[`HKQuantityTypeIdentifierBodyMass`](/documentation/HealthKit/HKQuantityTypeIdentifier/bodyMass)

A quantity sample type that measures the user’s weight.

[`HKQuantityTypeIdentifierBodyMassIndex`](/documentation/HealthKit/HKQuantityTypeIdentifier/bodyMassIndex)

A quantity sample type that measures the user’s body mass index.

[`HKQuantityTypeIdentifierLeanBodyMass`](/documentation/HealthKit/HKQuantityTypeIdentifier/leanBodyMass)

A quantity sample type that measures the user’s lean body mass.

[`HKQuantityTypeIdentifierBodyFatPercentage`](/documentation/HealthKit/HKQuantityTypeIdentifier/bodyFatPercentage)

A quantity sample type that measures the user’s body fat percentage.

[`HKQuantityTypeIdentifierWaistCircumference`](/documentation/HealthKit/HKQuantityTypeIdentifier/waistCircumference)

A quantity sample type that measures the user’s waist circumference.

### Reproductive health

[`HKCategoryTypeIdentifierMenstrualFlow`](/documentation/HealthKit/HKCategoryTypeIdentifier/menstrualFlow)

A category sample type that records menstrual cycles.

[`HKCategoryTypeIdentifierIntermenstrualBleeding`](/documentation/HealthKit/HKCategoryTypeIdentifier/intermenstrualBleeding)

A category sample type that records spotting outside the normal menstruation period.

[`HKCategoryTypeIdentifierInfrequentMenstrualCycles`](/documentation/HealthKit/HKCategoryTypeIdentifier/infrequentMenstrualCycles)

A category sample that indicates an infrequent menstrual cycle.

[`HKCategoryTypeIdentifierIrregularMenstrualCycles`](/documentation/HealthKit/HKCategoryTypeIdentifier/irregularMenstrualCycles)

A category sample that indicates an irregular menstrual cycle.

[`HKCategoryTypeIdentifierPersistentIntermenstrualBleeding`](/documentation/HealthKit/HKCategoryTypeIdentifier/persistentIntermenstrualBleeding)

A category sample that indicates persistent intermenstrual bleeding.

[`HKCategoryTypeIdentifierProlongedMenstrualPeriods`](/documentation/HealthKit/HKCategoryTypeIdentifier/prolongedMenstrualPeriods)

A category sample that indicates a prolonged menstrual cycle.

[`HKQuantityTypeIdentifierBasalBodyTemperature`](/documentation/HealthKit/HKQuantityTypeIdentifier/basalBodyTemperature)

A quantity sample type that records the user’s basal body temperature.

[`HKCategoryTypeIdentifierCervicalMucusQuality`](/documentation/HealthKit/HKCategoryTypeIdentifier/cervicalMucusQuality)

A category sample type that records the quality of the user’s cervical mucus.

[`HKCategoryTypeIdentifierOvulationTestResult`](/documentation/HealthKit/HKCategoryTypeIdentifier/ovulationTestResult)

A category sample type that records the result of an ovulation home test.

[`HKCategoryTypeIdentifierProgesteroneTestResult`](/documentation/HealthKit/HKCategoryTypeIdentifier/progesteroneTestResult)

A category type that represents the results from a home progesterone test.

[`HKCategoryTypeIdentifierSexualActivity`](/documentation/HealthKit/HKCategoryTypeIdentifier/sexualActivity)

A category sample type that records sexual activity.

[`HKCategoryTypeIdentifierContraceptive`](/documentation/HealthKit/HKCategoryTypeIdentifier/contraceptive)

A category sample type that records the use of contraceptives.

[`HKCategoryTypeIdentifierPregnancy`](/documentation/HealthKit/HKCategoryTypeIdentifier/pregnancy)

A category type that records pregnancy.

[`HKCategoryTypeIdentifierPregnancyTestResult`](/documentation/HealthKit/HKCategoryTypeIdentifier/pregnancyTestResult)

A category type that represents the results from a home pregnancy test.

[`HKCategoryTypeIdentifierLactation`](/documentation/HealthKit/HKCategoryTypeIdentifier/lactation)

A category type that records lactation.

[`HKCategoryValueVaginalBleeding`](/documentation/HealthKit/HKCategoryValueVaginalBleeding)

A value that indicates the intensity of vaginal bleeding.

### Menopause

  <doc://com.apple.healthkit/documentation/HealthKit/recording-and-querying-menopausal-state>

[`HKCategoryTypeIdentifierMenopausalState`](/documentation/HealthKit/HKCategoryTypeIdentifier/menopausalState)

An identifier for samples that record a person’s menopausal state.

[`HKCategoryTypeIdentifierBleedingAfterMenopause`](/documentation/HealthKit/HKCategoryTypeIdentifier/bleedingAfterMenopause)

An identifier for samples that record bleeding after menopause.

[`HKCategoryValueMenopausalState`](/documentation/HealthKit/HKCategoryValueMenopausalState)

A value that indicates the menopausal state at a recorded point in time.

### Hearing

[`HKQuantityTypeIdentifierEnvironmentalAudioExposure`](/documentation/HealthKit/HKQuantityTypeIdentifier/environmentalAudioExposure)

A quantity sample type that measures audio exposure to sounds in the environment.

[`HKQuantityTypeIdentifierHeadphoneAudioExposure`](/documentation/HealthKit/HKQuantityTypeIdentifier/headphoneAudioExposure)

A quantity sample type that measures audio exposure from headphones.

[`HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/environmentalAudioExposureEvent)

A category sample type that records exposure to potentially damaging sounds from the environment.

[`HKCategoryTypeIdentifierHeadphoneAudioExposureEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/headphoneAudioExposureEvent)

A category sample type that records exposure to potentially damaging sounds from headphones.

[`HKCategoryTypeIdentifierAudioExposureEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/audioExposureEvent)

A category sample type for audio exposure events.

### Vital signs

[`HKQuantityTypeIdentifierHeartRate`](/documentation/HealthKit/HKQuantityTypeIdentifier/heartRate)

A quantity sample type that measures the user’s heart rate.

[`HKCategoryTypeIdentifierLowHeartRateEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/lowHeartRateEvent)

A category sample type for low heart rate events.

[`HKCategoryTypeIdentifierHighHeartRateEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/highHeartRateEvent)

A category sample type for high heart rate events.

[`HKCategoryTypeIdentifierIrregularHeartRhythmEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/irregularHeartRhythmEvent)

A category sample type for irregular heart rhythm events.

[`HKQuantityTypeIdentifierRestingHeartRate`](/documentation/HealthKit/HKQuantityTypeIdentifier/restingHeartRate)

A quantity sample type that measures the user’s resting heart rate.

[`HKQuantityTypeIdentifierHeartRateVariabilitySDNN`](/documentation/HealthKit/HKQuantityTypeIdentifier/heartRateVariabilitySDNN)

A quantity sample type that measures the standard deviation of heartbeat intervals.

[`HKQuantityTypeIdentifierHeartRateRecoveryOneMinute`](/documentation/HealthKit/HKQuantityTypeIdentifier/heartRateRecoveryOneMinute)

A quantity sample that records the reduction in heart rate from the peak exercise rate to the rate one minute after exercising ended.

[`HKQuantityTypeIdentifierAtrialFibrillationBurden`](/documentation/HealthKit/HKQuantityTypeIdentifier/atrialFibrillationBurden)

A quantity type that measures an estimate of the percentage of time a person’s heart shows signs of atrial fibrillation (AFib) while wearing Apple Watch.

[`HKQuantityTypeIdentifierWalkingHeartRateAverage`](/documentation/HealthKit/HKQuantityTypeIdentifier/walkingHeartRateAverage)

A quantity sample type that measures the user’s heart rate while walking.

[`HKDataTypeIdentifierHeartbeatSeries`](/documentation/HealthKit/HKDataTypeIdentifierHeartbeatSeries)

A series sample containing heartbeat data.

[`HKElectrocardiogramType`](/documentation/HealthKit/HKElectrocardiogramType)

A type that identifies samples containing electrocardiogram data.

[`HKQuantityTypeIdentifierOxygenSaturation`](/documentation/HealthKit/HKQuantityTypeIdentifier/oxygenSaturation)

A quantity sample type that measures the user’s oxygen saturation.

[`HKQuantityTypeIdentifierBodyTemperature`](/documentation/HealthKit/HKQuantityTypeIdentifier/bodyTemperature)

A quantity sample type that measures the user’s body temperature.

[`HKCorrelationTypeIdentifierBloodPressure`](/documentation/HealthKit/HKCorrelationTypeIdentifier/bloodPressure)

A correlation sample that combines a systolic sample and a diastolic sample into a single blood pressure reading.

[`HKQuantityTypeIdentifierBloodPressureSystolic`](/documentation/HealthKit/HKQuantityTypeIdentifier/bloodPressureSystolic)

A quantity sample type that measures the user’s systolic blood pressure.

[`HKQuantityTypeIdentifierBloodPressureDiastolic`](/documentation/HealthKit/HKQuantityTypeIdentifier/bloodPressureDiastolic)

A quantity sample type that measures the user’s diastolic blood pressure.

[`HKQuantityTypeIdentifierRespiratoryRate`](/documentation/HealthKit/HKQuantityTypeIdentifier/respiratoryRate)

A quantity sample type that measures the user’s respiratory rate.

### Nutrition

  <doc://com.apple.healthkit/documentation/HealthKit/nutrition-type-identifiers>

### Alcohol consumption

[`HKQuantityTypeIdentifierBloodAlcoholContent`](/documentation/HealthKit/HKQuantityTypeIdentifier/bloodAlcoholContent)

A quantity sample type that measures the user’s blood alcohol content.

[`HKQuantityTypeIdentifierNumberOfAlcoholicBeverages`](/documentation/HealthKit/HKQuantityTypeIdentifier/numberOfAlcoholicBeverages)

A quantity sample type that measures the number of standard alcoholic drinks that the user has consumed.

### Mobility

[`HKQuantityTypeIdentifierAppleWalkingSteadiness`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleWalkingSteadiness)

A quantity sample type that measures the steadiness of the user’s gait.

[`HKCategoryTypeIdentifierAppleWalkingSteadinessEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/appleWalkingSteadinessEvent)

A category sample type that records an incident where the user showed a reduced score for their gait’s steadiness.

[`HKQuantityTypeIdentifierSixMinuteWalkTestDistance`](/documentation/HealthKit/HKQuantityTypeIdentifier/sixMinuteWalkTestDistance)

A quantity sample type that stores the distance a user can walk during a six-minute walk test.

[`HKQuantityTypeIdentifierWalkingSpeed`](/documentation/HealthKit/HKQuantityTypeIdentifier/walkingSpeed)

A quantity sample type that measures the user’s average speed when walking steadily over flat ground.

[`HKQuantityTypeIdentifierWalkingStepLength`](/documentation/HealthKit/HKQuantityTypeIdentifier/walkingStepLength)

A quantity sample type that measures the average length of the user’s step when walking steadily over flat ground.

[`HKQuantityTypeIdentifierWalkingAsymmetryPercentage`](/documentation/HealthKit/HKQuantityTypeIdentifier/walkingAsymmetryPercentage)

A quantity sample type that measures the percentage of steps in which one foot moves at a different speed than the other when walking on flat ground.

[`HKQuantityTypeIdentifierWalkingDoubleSupportPercentage`](/documentation/HealthKit/HKQuantityTypeIdentifier/walkingDoubleSupportPercentage)

A quantity sample type that measures the percentage of time when both of the user’s feet touch the ground while walking steadily over flat ground.

[`HKQuantityTypeIdentifierStairAscentSpeed`](/documentation/HealthKit/HKQuantityTypeIdentifier/stairAscentSpeed)

A quantity sample type measuring the user’s speed while climbing a flight of stairs.

[`HKQuantityTypeIdentifierStairDescentSpeed`](/documentation/HealthKit/HKQuantityTypeIdentifier/stairDescentSpeed)

A quantity sample type measuring the user’s speed while descending a flight of stairs.

### Symptoms

  <doc://com.apple.healthkit/documentation/HealthKit/symptom-type-identifiers>

### Lab and test results

[`HKQuantityTypeIdentifierBloodAlcoholContent`](/documentation/HealthKit/HKQuantityTypeIdentifier/bloodAlcoholContent)

A quantity sample type that measures the user’s blood alcohol content.

[`HKQuantityTypeIdentifierBloodGlucose`](/documentation/HealthKit/HKQuantityTypeIdentifier/bloodGlucose)

A quantity sample type that measures the user’s blood glucose level.

[`HKQuantityTypeIdentifierElectrodermalActivity`](/documentation/HealthKit/HKQuantityTypeIdentifier/electrodermalActivity)

A quantity sample type that measures electrodermal activity.

[`HKQuantityTypeIdentifierForcedExpiratoryVolume1`](/documentation/HealthKit/HKQuantityTypeIdentifier/forcedExpiratoryVolume1)

A quantity sample type that measures the amount of air that can be forcibly exhaled from the lungs during the first second of a forced exhalation.

[`HKQuantityTypeIdentifierForcedVitalCapacity`](/documentation/HealthKit/HKQuantityTypeIdentifier/forcedVitalCapacity)

A quantity sample type that measures the amount of air that can be forcibly exhaled from the lungs after taking the deepest breath possible.

[`HKQuantityTypeIdentifierInhalerUsage`](/documentation/HealthKit/HKQuantityTypeIdentifier/inhalerUsage)

A quantity sample type that measures the number of puffs the user takes from their inhaler.

[`HKQuantityTypeIdentifierInsulinDelivery`](/documentation/HealthKit/HKQuantityTypeIdentifier/insulinDelivery)

A quantity sample that measures the amount of insulin delivered.

[`HKQuantityTypeIdentifierNumberOfTimesFallen`](/documentation/HealthKit/HKQuantityTypeIdentifier/numberOfTimesFallen)

A quantity sample type that measures the number of times the user fell.

[`HKQuantityTypeIdentifierPeakExpiratoryFlowRate`](/documentation/HealthKit/HKQuantityTypeIdentifier/peakExpiratoryFlowRate)

A quantity sample type that measures the user’s maximum flow rate generated during a forceful exhalation.

[`HKQuantityTypeIdentifierPeripheralPerfusionIndex`](/documentation/HealthKit/HKQuantityTypeIdentifier/peripheralPerfusionIndex)

A quantity sample type that measures the user’s peripheral perfusion index.

### Mindfulness and sleep

[`HKCategoryTypeIdentifierMindfulSession`](/documentation/HealthKit/HKCategoryTypeIdentifier/mindfulSession)

A category sample type for recording a mindful session.

[`HKCategoryTypeIdentifierSleepAnalysis`](/documentation/HealthKit/HKCategoryTypeIdentifier/sleepAnalysis)

A category sample type for sleep analysis information.

[`HKCategoryValueSleepAnalysisAsleepValues`](/documentation/HealthKit/HKCategoryValueSleepAnalysisAsleepValues)

[`HKQuantityTypeIdentifierAppleSleepingWristTemperature`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleSleepingWristTemperature)

A quantity sample type that records the wrist temperature during sleep.

[`HKAppleSleepingBreathingDisturbancesClassificationForQuantity`](/documentation/HealthKit/HKAppleSleepingBreathingDisturbancesClassificationForQuantity)

[`HKAppleSleepingBreathingDisturbancesClassification`](/documentation/HealthKit/HKAppleSleepingBreathingDisturbancesClassification)

### Self care

[`HKCategoryTypeIdentifierToothbrushingEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/toothbrushingEvent)

A category sample type for toothbrushing events.

[`HKCategoryTypeIdentifierHandwashingEvent`](/documentation/HealthKit/HKCategoryTypeIdentifier/handwashingEvent)

A category sample type for handwashing events.

### Workouts

[`HKWorkoutTypeIdentifier`](/documentation/HealthKit/HKWorkoutTypeIdentifier)

The workout type identifier.

[`HKWorkoutRouteTypeIdentifier`](/documentation/HealthKit/HKWorkoutRouteTypeIdentifier)

A series sample containing location data that defines the route the user took during a workout.

### Clinical records

[`HKClinicalTypeIdentifier`](/documentation/HealthKit/HKClinicalTypeIdentifier)

A type identifier for the different categories of clinical records.

### UV exposure

[`HKQuantityTypeIdentifierUVExposure`](/documentation/HealthKit/HKQuantityTypeIdentifier/uvExposure)

A quantity sample type that measures the user’s exposure to UV radiation.

### Vision

[`HKVisionPrescriptionTypeIdentifier`](/documentation/HealthKit/HKVisionPrescriptionTypeIdentifier)

A type identifier for vision prescription samples.

### Diving

[`HKQuantityTypeIdentifierUnderwaterDepth`](/documentation/HealthKit/HKQuantityTypeIdentifier/underwaterDepth)

A quantity sample that records a person’s depth underwater.

[`HKQuantityTypeIdentifierWaterTemperature`](/documentation/HealthKit/HKQuantityTypeIdentifier/waterTemperature)

A quantity sample that records the water temperature.

### Utilities

[`BufferedAsyncByteIterator`](/documentation/HealthKit/BufferedAsyncByteIterator)

An asynchronous iterator for byte data.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)