Contents

HKCDADocumentSample

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

Declaration

class HKCDADocumentSample

Overview

The sample’s document property contains an HKCDADocument object, representing the underlying XML document.

The HKCDADocumentSample class is a concrete subclass of the HKDocumentSample class. Document samples are immutable. HealthKit assigns the document’s properties when the sample is created. They cannot change. If you need to update a document in HealthKit, create a new document sample with the updated CDA document.

Topics

Creating CDA Samples

Accessing the Document

Accessing Validation Errors

Specifying Predicate Key Paths

Initializers

See Also

Medical records