<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKQuery/predicateForMedicationDoseEvent(medicationConceptIdentifiers:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKQuery(cm)predicateForMedicationDoseEventWithMedicationConceptIdentifiers:"
  },
  "title" : "predicateForMedicationDoseEvent(medicationConceptIdentifiers:)"
}
-->

# predicateForMedicationDoseEvent(medicationConceptIdentifiers:)

```
class func predicateForMedicationDoseEvent(medicationConceptIdentifiers: Set<HKHealthConceptIdentifier>) -> NSPredicate
```

## Parameters

`medicationConceptIdentifiers`

Any identifier of a medication that a dose event was created for.

## Discussion

\abstract Creates a predicate for use with HKQuery subclasses.
\discussion Creates a query predicate that matches HKMedicationDoseEvent samples generated by any medication in a set of medication concept identifiers.

---

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)