---
title: HKMetadataKeyBloodGlucoseMealTime
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeybloodglucosemealtime
---

# HKMetadataKeyBloodGlucoseMealTime

A key that indicates the relative timing of a blood glucose reading to a meal.

## Declaration

```swift
let HKMetadataKeyBloodGlucoseMealTime: String
```

## Discussion

Discussion Set this key on a bloodGlucose sample. Set it’s value to an NSNumber object containing a HKBloodGlucoseMealTime value.Medical professionals can use the relative meal time to help determine the acceptable range for a blood glucose reading. If your app requires more precise timing or additional information about the meal’s composition, create  samples to record those details (for example, a dietaryCarbohydrates sample with the exact meal time).

## Topics

### Valid Values

- [HKBloodGlucoseMealTime](healthkit/hkbloodglucosemealtime.md)
