Structure

HKFHIRResourceType

The FHIR resource types supported in HealthKit.

Declaration

struct HKFHIRResourceType

Topics

Resource Types

static let allergyIntolerance: HKFHIRResourceType

A type that identifies FHIR resources for allergies and intolerances.

static let condition: HKFHIRResourceType

A type that identifies FHIR resources for a condition, problem, diagnosis, or other event.

static let immunization: HKFHIRResourceType

A type that identifies FHIR resources for the administration of vaccines.

static let medicationOrder: HKFHIRResourceType

A type that identifies FHIR resources for prescriptions or other orders for medication.

static let medicationDispense: HKFHIRResourceType

A type that identifies FHIR resources for the delivery of medication (usually in response to a prescription).

static let medicationStatement: HKFHIRResourceType

A type that identifies FHIR resources for statements about medication taken by the patient.

static let observation: HKFHIRResourceType

A type that identifies FHIR resources for medical observations, including lab results and vital signs.

static let procedure: HKFHIRResourceType

A type that identifies FHIR resources for procedures performed on the patient.

Initializers

init(rawValue: String)

Returns a new resource type for the provided string.

Relationships

See Also

Accessing FHIR Data

var identifier: String

The value from the FHIR resource’s id field.

var resourceType: HKFHIRResourceType

The value from the FHIR resource’s resourceType field.

var sourceURL: URL?

The full URL for the source of the FHIR resource.

var data: Data

The JSON representation of the FHIR resource.