description: This template represents the Author Participation (including the author timestamp). CDA R2 requires that Author and Author timestamp be asserted in the document header. From there, authorship propagates to contained sections and contained entries, unless explicitly overridden.\n\nThe Author Participation template was added to those templates in scope for analysis in R2. Although it is not explicitly stated in all templates the Author Participation template can be used in any template. package_name: hl7.cda.us.ccda derivation: constraint name: AuthorParticipation type: http://hl7.org/cda/stds/core/StructureDefinition/Author elements: templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} min: 1 slices: author: match: {root: 2.16.840.1.113883.10.20.22.4.119} schema: _required: true index: 1 elements: root: pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.119} type: string index: 2 extension: {index: 3} required: [root] extensions: {} time: {index: 4} assignedAuthor: constraint: author-details: {human: 'Authors require addr, telecom, and either assignedPerson/name or assignedAuthoringDevice/manufacturerModelName. These may be present on this author or on another instance of an Author Participation in the document that has an id that matches the first id of this author.', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation', severity: error, expression: nullFlavor.exists() or (addr.exists() and telecom.exists() and (assignedPerson.name.exists() or assignedAuthoringDevice.manufacturerModelName.exists())) or (%resource.descendants().ofType(CDA.AssignedAuthor).where(id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension) and addr.exists() and telecom.exists() and (assignedPerson.name.exists() or assignedAuthoringDevice.manufacturerModelName.exists())))} index: 5 elements: id: {short: 'The first id may be set equal to (a pointer to) an id on a participant elsewhere in the document (header or entries) or a new author participant can be described here. If the id is pointing to a participant already described elsewhere in the document, assignedAuthor/id is sufficient to identify this participant and none of the remaining details of assignedAuthor are required to be set. Application Software must be responsible for resolving the identifier back to its original object and then rendering the information in the correct place in the containing section''s narrative text. This id must be a pointer to another author participant.', index: 6} code: binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066'} index: 7 addr: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/AD', short: Required on at least one instance of this author in the document, index: 8} telecom: {short: Required on at least one instance of this author in the document, index: 9} assignedPerson: short: assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document index: 10 elements: name: {index: 11} representedOrganization: short: assignedPerson/name or representedOrganization/name is required on at least one instance of this author in the document index: 12 elements: id: {index: 13} name: {index: 14} telecom: {index: 15} addr: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/AD', index: 16} package_version: 4.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation base: http://hl7.org/cda/stds/core/StructureDefinition/Author version: 4.0.0 required: [templateId]