---
title: predicate
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkuserannotatedmedicationquerydescriptor/predicate
---

# predicate

The predicate that matches the desired HKUserAnnotatedMedication objects.

## Declaration

```swift
var predicate: NSPredicate?
```
