<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKFHIRResource",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKFHIRResource"
  },
  "title" : "HKFHIRResource"
}
-->

# HKFHIRResource

An object containing Fast Healthcare Interoperability Resources (FHIR) data.

```
class HKFHIRResource
```

## Topics

### Accessing FHIR Data

[`identifier`](/documentation/HealthKit/HKFHIRResource/identifier)

The value from the FHIR resource’s `id` field.

[`FHIRVersion`](/documentation/HealthKit/HKFHIRResource/fhirVersion)

The FHIR version used by this resource.

[`HKFHIRVersion`](/documentation/HealthKit/HKFHIRVersion)

The FHIR version.

[`resourceType`](/documentation/HealthKit/HKFHIRResource/resourceType)

The value from the FHIR resource’s `resourceType` field.

[`HKFHIRResourceType`](/documentation/HealthKit/HKFHIRResourceType)

The FHIR resource types supported in HealthKit.

[`sourceURL`](/documentation/HealthKit/HKFHIRResource/sourceURL)

The full URL for the source of the FHIR resource.

[`data`](/documentation/HealthKit/HKFHIRResource/data)

The JSON representation of the FHIR resource.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Sendable`](/documentation/Swift/Sendable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)