---
title: authorName
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkcdadocument/authorname
---

# authorName

The document’s author.

## Declaration

```swift
var authorName: String { get }
```

## Discussion

Discussion Usually, this is the treating physician’s name. HealthKit automatically extracts the author’s name from the CDA’s XML data.

## See Also

### Accessing the Document’s Data

- [custodianName](healthkit/hkcdadocument/custodianname.md)
- [documentData](healthkit/hkcdadocument/documentdata.md)
- [patientName](healthkit/hkcdadocument/patientname.md)
- [title](healthkit/hkcdadocument/title.md)
