<!--
{
  "documentType" : "article",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKUserAnnotatedMedicationQueryDescriptor/HKAsyncQuery-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "HKAsyncQuery Implementations"
}
-->

# HKAsyncQuery Implementations

## Topics

### Instance Methods

[`func result(for: HKHealthStore) async throws -> [HKUserAnnotatedMedication]`](/documentation/HealthKit/HKUserAnnotatedMedicationQueryDescriptor/result(for:))

Returns the user annotated medications given the query descriptor configuration.
Returns the empty array if no HKUserAnnotatedMedication objects match.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)