---
title: HKSourceRevisionAnyVersion
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hksourcerevisionanyversion
---

# HKSourceRevisionAnyVersion

A constant that matches any version.

## Declaration

```swift
let HKSourceRevisionAnyVersion: String
```

## Discussion

Discussion When creating a predicate, use this constant to create a source revision object that matches all possible versions of the specified source.

## See Also

### Variables

- [bleedingAfterPregnancy](healthkit/hkcategorytypeidentifier/bleedingafterpregnancy.md)
- [bleedingDuringPregnancy](healthkit/hkcategorytypeidentifier/bleedingduringpregnancy.md)
- [sleepApneaEvent](healthkit/hkcategorytypeidentifier/sleepapneaevent.md)
- [HKDevicePropertyKeyFirmwareVersion](healthkit/hkdevicepropertykeyfirmwareversion.md)
- [HKDevicePropertyKeyHardwareVersion](healthkit/hkdevicepropertykeyhardwareversion.md)
- [HKDevicePropertyKeyLocalIdentifier](healthkit/hkdevicepropertykeylocalidentifier.md)
- [HKDevicePropertyKeyManufacturer](healthkit/hkdevicepropertykeymanufacturer.md)
- [HKDevicePropertyKeyModel](healthkit/hkdevicepropertykeymodel.md)
- [HKDevicePropertyKeyName](healthkit/hkdevicepropertykeyname.md)
- [HKDevicePropertyKeySoftwareVersion](healthkit/hkdevicepropertykeysoftwareversion.md)
- [HKDevicePropertyKeyUDIDeviceIdentifier](healthkit/hkdevicepropertykeyudideviceidentifier.md)
- [HKPredicateKeyPathCount](healthkit/hkpredicatekeypathcount.md)
- [GAD7](healthkit/hkscoredassessmenttypeidentifier/gad7.md)
- [PHQ9](healthkit/hkscoredassessmenttypeidentifier/phq9.md)
- [HKSourceRevisionAnyOperatingSystem](healthkit/hksourcerevisionanyoperatingsystem.md)
