---
title: HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkpredicatekeypathclinicalrecordfhirresourceidentifier
---

# HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier

The key path for accessing the clinical record’s Fast Healthcare Interoperability Resources (FHIR) identifier.

## Declaration

```swift
let HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier: String
```

## Discussion

Discussion The FHIR resource identifier is only unique for a particular resource type from a given source. To uniquely identify a FHIR resource, you must compare the identifier, the resource type, and the source.

## See Also

### Clinical record keys

- [HKPredicateKeyPathClinicalRecordFHIRResourceType](healthkit/hkpredicatekeypathclinicalrecordfhirresourcetype.md)
