---
title: discrete
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantityaggregationstyle/discrete
---

# discrete

Discrete samples may be averaged over time.

## Declaration

```swift
static var discrete: HKQuantityAggregationStyle { get }
```

## Discussion

Discussion You typically use discrete types to monitor the change in the value over time. For example, body mass, heart rate, temperature, and respiratory rate are all discrete quantity types. You can also query for the minimum or maximum value in a given time period.
