---
title: HKUserAnnotatedMedicationQuery
framework: healthkit
role: symbol
role_heading: Class
path: healthkit/hkuserannotatedmedicationquery
---

# HKUserAnnotatedMedicationQuery

## Declaration

```swift
class HKUserAnnotatedMedicationQuery
```

## Topics

### Initializers

- [init(predicate:limit:resultsHandler:)](healthkit/hkuserannotatedmedicationquery/init(predicate:limit:resultshandler:).md)

## Relationships

### Inherits From

- [HKQuery](healthkit/hkquery.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Medication queries

- [HKClinicalCoding](healthkit/hkclinicalcoding.md)
- [HKHealthConceptIdentifier](healthkit/hkhealthconceptidentifier.md)
- [HKMedicationConcept](healthkit/hkmedicationconcept.md)
- [HKMedicationDoseEvent](healthkit/hkmedicationdoseevent.md)
- [HKMedicationDoseEventType](healthkit/hkmedicationdoseeventtype.md)
- [HKUserAnnotatedMedication](healthkit/hkuserannotatedmedication.md)
- [HKUserAnnotatedMedicationType](healthkit/hkuserannotatedmedicationtype.md)
- [HKHealthConceptDomain](healthkit/hkhealthconceptdomain.md)
- [HKMedicationGeneralForm](healthkit/hkmedicationgeneralform.md)
- [HKUserAnnotatedMedicationQueryDescriptor](healthkit/hkuserannotatedmedicationquerydescriptor.md)
