Instance Property


The value from the FHIR resource’s id field.


var identifier: String { get }


This identifier is only unique for a particular resource type from a given source. To uniquely identify a FHIR resource, you must compare the identifier and resourceType properties from the HKFHIRResource object and the bundleIdentifier property from the clinical record’s source.

See Also

Accessing FHIR Data

var resourceType: HKFHIRResourceType

The value from the FHIR resource’s resourceType field.

struct HKFHIRResourceType

The FHIR resource types supported in HealthKit.

var sourceURL: URL?

The full URL for the source of the FHIR resource.

var data: Data

The JSON representation of the FHIR resource.