The CDA document.
- iOS 10.0+
- Mac Catalyst 13.0+
If the user is authorized to access the document’s data, this property contains an
HKCDADocument object representing that data. Otherwise, it is set to
The user is asked to authorize each CDA document the first time that document is returned by an
HKDocument query. The user can change the access permissions in the Health app.
For samples returned by an
HKSample or an
HKAnchored, this property is always set to
nil. To access the document’s data from these samples, create a
HKDocument query for the sample’s UUID.