---
title: HKMetadataKeyWasUserEntered
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeywasuserentered
---

# HKMetadataKeyWasUserEntered

A key that indicates whether the sample was entered by the user.

## Declaration

```swift
let HKMetadataKeyWasUserEntered: String
```

## Discussion

Discussion Set this key’s value to true if the sample was entered by the user; otherwise, set it to false.

## See Also

### General Keys

- [HKMetadataKeyExternalUUID](healthkit/hkmetadatakeyexternaluuid.md)
- [HKMetadataKeyTimeZone](healthkit/hkmetadatakeytimezone.md)
- [HKMetadataKeyQuantityClampedToLowerBound](healthkit/hkmetadatakeyquantityclampedtolowerbound.md)
- [HKMetadataKeyQuantityClampedToUpperBound](healthkit/hkmetadatakeyquantityclampedtoupperbound.md)
