Contents

predicateForMedicationDoseEvent(medicationConceptIdentifiers:)

Declaration

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

Parameters

  • medicationConceptIdentifiers:

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

Discussion

Creates a predicate for use with HKQuery subclasses.

Creates a query predicate that matches HKMedicationDoseEvent samples generated by any medication in a set of medication concept identifiers.