<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKQuery/predicateForVerifiableClinicalRecords(withRelevantDateWithin:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKQuery(cm)predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:"
  },
  "title" : "predicateForVerifiableClinicalRecords(withRelevantDateWithin:)"
}
-->

# predicateForVerifiableClinicalRecords(withRelevantDateWithin:)

Returns a predicate that finds verifiable health records with a relevant date within the specified range.

```
class func predicateForVerifiableClinicalRecords(withRelevantDateWithin dateInterval: DateInterval) -> NSPredicate
```

## Parameters

`dateInterval`

The start and end date for the predicate.

## Discussion

The resulting predicate matches [`HKVerifiableClinicalRecord`](/documentation/HealthKit/HKVerifiableClinicalRecord) instances that have a [`relevantDate`](/documentation/HealthKit/HKVerifiableClinicalRecord/relevantDate) property within the specified date interval.

---

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)