A Clinical Document Architecture (CDA) sample that stores a single document.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
Framework
- Health
Kit
Declaration
class HKCDADocumentSample : HKDocument Sample
Overview
The sample’s document
property contains an HKCDADocument
object, representing the underlying XML document.
The HKCDADocument
class is a concrete subclass of the HKDocument
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.