A Clinical Document Architecture (CDA) sample that stores a single document.
- iOS 10.0+
- Mac Catalyst 13.0+
document property contains an
HKCDADocument object, representing the underlying XML document.
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.