Class

HKDocumentType

The HKDocumentType class is a concrete subclass of the HKSampleType class, used when creating queries for documents.

Declaration

@interface HKDocumentType : HKSampleType

Overview

To create a document type instance, use the HKObjectType class’s documentTypeForIdentifier: convenience method.

Subclassing Notes

Like many HealthKit classes, document types are not extensible and should not be subclassed.

Additionally, this class reuses the same instance whenever possible. Letting multiple queries share the same document type helps reduce the overall memory usage.

Relationships

Inherits From

See Also

Medical Records

Accessing Health Records

Read clinical record data from the HealthKit store.

Accessing Sample Data in the Simulator

Set up sample accounts to build and test your app.

HKClinicalRecord

A sample that stores a clinical record.

HKFHIRResource

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

HKCDADocumentSample

A Clinical Document Architecture (CDA) sample that stores a single document.

HKDocumentSample

The HKDocumentSample class is an abstract class that represents a health document in the HealthKit store.

HKDocumentTypeIdentifierCDA

The CDA Document type identifier, used when requesting permission to read or share CDA documents.