---
title: menstrualFlow
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkcategorytypeidentifier/menstrualflow
---

# menstrualFlow

A category sample type that records menstrual cycles.

## Declaration

```swift
static let menstrualFlow: HKCategoryTypeIdentifier
```

## Discussion

Discussion These samples use values from the HKCategoryValueMenstrualFlow enum. Additionally, these samples must include HKMetadataKeyMenstrualCycleStart  metadata. When recording data about the user’s menstrual cycle, you can either use a single sample for the entire period, or multiple samples to record changes over the cycle. When using single samples, pass the start of the menstrual period to the startDate parameter. Pass the end of the period to the endDate parameter, and set the HKMetadataKeyMenstrualCycleStart value to true. When using multiple samples to record a single period, the startDate and endDate parameters should mark the beginning and ending of each individual sample. Set the HKMetadataKeyMenstrualCycleStart value for the first sample in the period to true. Use false for any additional samples. Different samples can use different menstrualFlow values to record the changes in flow over time.

## Topics

### Metadata Keys

- [HKMetadataKeyMenstrualCycleStart](healthkit/hkmetadatakeymenstrualcyclestart.md)

## See Also

### Related Documentation

- [HKCategoryValue](healthkit/hkcategoryvalue.md)
- [HKCategoryTypeIdentifier](healthkit/hkcategorytypeidentifier.md)
- [HKCategoryType](healthkit/hkcategorytype.md)
- [HKCategorySample](healthkit/hkcategorysample.md)

### Reproductive health

- [intermenstrualBleeding](healthkit/hkcategorytypeidentifier/intermenstrualbleeding.md)
- [infrequentMenstrualCycles](healthkit/hkcategorytypeidentifier/infrequentmenstrualcycles.md)
- [irregularMenstrualCycles](healthkit/hkcategorytypeidentifier/irregularmenstrualcycles.md)
- [persistentIntermenstrualBleeding](healthkit/hkcategorytypeidentifier/persistentintermenstrualbleeding.md)
- [prolongedMenstrualPeriods](healthkit/hkcategorytypeidentifier/prolongedmenstrualperiods.md)
- [basalBodyTemperature](healthkit/hkquantitytypeidentifier/basalbodytemperature.md)
- [cervicalMucusQuality](healthkit/hkcategorytypeidentifier/cervicalmucusquality.md)
- [ovulationTestResult](healthkit/hkcategorytypeidentifier/ovulationtestresult.md)
- [progesteroneTestResult](healthkit/hkcategorytypeidentifier/progesteronetestresult.md)
- [sexualActivity](healthkit/hkcategorytypeidentifier/sexualactivity.md)
- [contraceptive](healthkit/hkcategorytypeidentifier/contraceptive.md)
- [pregnancy](healthkit/hkcategorytypeidentifier/pregnancy.md)
- [pregnancyTestResult](healthkit/hkcategorytypeidentifier/pregnancytestresult.md)
- [lactation](healthkit/hkcategorytypeidentifier/lactation.md)
- [HKCategoryValueVaginalBleeding](healthkit/hkcategoryvaluevaginalbleeding.md)
