---
title: "predicateForVerifiableClinicalRecords(withRelevantDateWithin:)"
framework: healthkit
role: symbol
role_heading: Type Method
path: "healthkit/hkquery/predicateforverifiableclinicalrecords(withrelevantdatewithin:)"
---

# predicateForVerifiableClinicalRecords(withRelevantDateWithin:)

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

## Declaration

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

## Parameters

- `dateInterval`: The start and end date for the predicate.

## Discussion

Discussion The resulting predicate matches HKVerifiableClinicalRecord instances that have a relevantDate property within the specified date interval.

## See Also

### Creating clinical record predicates

- [predicateForClinicalRecords(from:fhirResourceType:identifier:)](healthkit/hkquery/predicateforclinicalrecords(from:fhirresourcetype:identifier:).md)
- [predicateForClinicalRecords(withFHIRResourceType:)](healthkit/hkquery/predicateforclinicalrecords(withfhirresourcetype:).md)
