Consolidated CDA (C-CDA)
3.0.0 - STU3 United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0: CCDA 3.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Logical Model: Provenance - Author Participation

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/ProvenanceAuthorParticipation Version: 3.0.0
Draft as of 2024-05-18 Computable Name: ProvenanceAuthorParticipation
Other Identifiers: urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#urn:hl7ii:2.16.840.1.113883.10.20.22.5.6:2019-10-01

This template represents the key information to record Provenance in an Author Participation.

This Participation is appropriate at any place CDA allows an author. For example, at the CDA Header, CDA Section, CDA Entry, or within a CDA entry (e.g. Organizer and contained Observation(s)).

This template is consistent with the C-CDA Author Participation, however, it doesnt use a formal conforms to relationship. All constraints for conformance are defined in this template which specializes the Author Participation (2.16.840.1.113883.10.20.22.4.119).

This template is used to identify primary authorship for an entry. An entry may have many authors, but recipients need a single authoritative point of contact for resolving issues. This is typically the last provider to make substantive changes to the entry If two providers are simultaneously involved in that activity, the implementer must choose one, ideally in a repeatable way.

The assignedAuthor/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.

Note: The Provenance template title includes a version 2 to support moving from the ‘Basic Provenance’ guide to the this Companion Guide, so the templateId has not changed.

Usage:

  • This Logical Model is not used by any profiles in this Implementation Guide

Formal Views of Template Content

Description of Template, Differentials, Snapshots and how the different presentations work.

This structure is derived from Author

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1 II
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr 0..* USRealmAddress Required on at least one instance of this author in the document
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item
....... family 0..* ENXP Family required
....... given 0..* ENXP SHOULD contain given
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1 II
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr C 0..* USRealmAddress Required on at least one instance of this author in the document
shall-city: SHALL contain exactly one [1..1] city (CONF:81-7292).
shall-streetAddressLine: SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
should-use: SHOULD contain @use
should-country: SHOULD contain country
81-7296: **SHALL NOT** have mixed content except for white space (CONF:81-7296)
81-10024: If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
81-10025: If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
shall-max-ad-parts: SHALL have at most one of each: state, city, postalCode, and country
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item C 1..* Base Choice Group: This is a repeating choice group that does not appear directly in the instance
EN-1: Can only have only one of the possible item elements in each choice
....... family 0..* ENXP Family required
....... given 0..* ENXP SHOULD contain given
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
81-7296errorAuthor.assignedAuthor.addr**SHALL NOT** have mixed content except for white space (CONF:81-7296)
: item.xmlText.empty()
81-10024errorAuthor.assignedAuthor.addrIf the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))
81-10025errorAuthor.assignedAuthor.addrIf the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))
EN-1errorAuthor.assignedAuthor.assignedPerson.name.itemCan only have only one of the possible item elements in each choice
: (delimiter | family | given | prefix | suffix | xmlText).count() = 1
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-cityerrorAuthor.assignedAuthor.addrSHALL contain exactly one [1..1] city (CONF:81-7292).
: nullFlavor.exists() or item.city.count() = 1
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
shall-max-ad-partserrorAuthor.assignedAuthor.addrSHALL have at most one of each: state, city, postalCode, and country
: (item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)
shall-streetAddressLineerrorAuthor.assignedAuthor.addrSHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
: nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4)
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-countrywarningAuthor.assignedAuthor.addrSHOULD contain country
: nullFlavor.exists() or item.country.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId 0..1 II
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
.... templateId:provenance-author 1..1 II
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1 st
..... @displayable 0..1 bl
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... @typeCode 0..1 cs Binding: CDAParticipationType (required)
Fixed Value: AUT
... @contextControlCode 0..1 cs Binding: CDAContextControl (required)
Fixed Value: OP
... functionCode 0..1 CE
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... realmCode 0..* CS
.... typeId 0..1 II
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1 st
..... @displayable 0..1 bl
..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1 st
.... templateId 0..* II
.... @classCode 0..1 cs Binding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... sdtcIdentifiedBy 0..* IdentifiedBy XML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr C 0..* USRealmAddress Required on at least one instance of this author in the document
shall-city: SHALL contain exactly one [1..1] city (CONF:81-7292).
shall-streetAddressLine: SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
should-use: SHOULD contain @use
should-country: SHOULD contain country
81-7296: **SHALL NOT** have mixed content except for white space (CONF:81-7296)
81-10024: If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
81-10025: If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
shall-max-ad-parts: SHALL have at most one of each: state, city, postalCode, and country
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... realmCode 0..* CS
..... typeId 0..1 II
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1 st
..... templateId 0..* II
..... @classCode 0..1 cs Binding: EntityClassLivingSubject (required)
Fixed Value: PSN
..... @determinerCode 0..1 cs Binding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @use 0..* cs Binding: CDAEntityNameUse (required)
...... item C 1..* Base Choice Group: This is a repeating choice group that does not appear directly in the instance
EN-1: Can only have only one of the possible item elements in each choice
....... (Choice of one) 1..1
........ delimiter 0..* ENXP
........ family 0..* ENXP Family required
........ given 0..* ENXP SHOULD contain given
........ prefix 0..* ENXP
........ suffix 0..* ENXP
........ xmlText 0..1 st Allows for mixed text content
...... validTime 0..1 IVL_TS
..... sdtcDesc 0..1 ED XML Namespace: urn:hl7-org:sdtc
XML: desc (urn:hl7-org:sdtc)
..... sdtcAsPatientRelationship 0..* InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
XML: asPatientRelationship (urn:hl7-org:sdtc)
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... realmCode 0..* CS
...... typeId 0..1 II
....... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
....... @extension 1..1 st
...... templateId 0..* II
...... @classCode 1..1 cs Fixed Value: PRS
...... @determinerCode 0..1 cs Fixed Value: INSTANCE
...... code 1..1 CE XML Namespace: urn:hl7-org:sdtc
XML Namespace: urn:hl7-org:sdtc
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... realmCode 0..* CS
..... typeId 0..1 II
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1 st
..... templateId 0..* II
..... @classCode 0..1 cs Binding: EntityClassOrganization (required)
Fixed Value: ORG
..... @determinerCode 0..1 cs Binding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL
..... addr 0..* AD
..... standardIndustryClassCode 0..1 CE Binding: OrganizationIndustryClassNAICS (example)
..... asOrganizationPartOf 0..1 OrganizationPartOf

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Author.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.templateId:provenance-author.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.typeCoderequiredFixed Value: AUT
http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType
Author.contextControlCoderequiredFixed Value: OP
http://hl7.org/cda/stds/core/ValueSet/CDAContextControl
Author.assignedAuthor.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.classCoderequiredFixed Value: ASSIGNED
http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode
Author.assignedAuthor.assignedPerson.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.classCoderequiredFixed Value: PSN
http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject
Author.assignedAuthor.assignedPerson.determinerCoderequiredFixed Value: INSTANCE
http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
Author.assignedAuthor.assignedPerson.name.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.name.userequiredCDAEntityNameUse
http://hl7.org/cda/stds/core/ValueSet/CDAEntityNameUse
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.classCoderequiredFixed Value: ORG
http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization
Author.assignedAuthor.representedOrganization.determinerCoderequiredFixed Value: INSTANCE
http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.standardIndustryClassCodeexampleOrganizationIndustryClassNAICS
http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
81-7296errorAuthor.assignedAuthor.addr**SHALL NOT** have mixed content except for white space (CONF:81-7296)
: item.xmlText.empty()
81-10024errorAuthor.assignedAuthor.addrIf the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))
81-10025errorAuthor.assignedAuthor.addrIf the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))
EN-1errorAuthor.assignedAuthor.assignedPerson.name.itemCan only have only one of the possible item elements in each choice
: (delimiter | family | given | prefix | suffix | xmlText).count() = 1
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-cityerrorAuthor.assignedAuthor.addrSHALL contain exactly one [1..1] city (CONF:81-7292).
: nullFlavor.exists() or item.city.count() = 1
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
shall-max-ad-partserrorAuthor.assignedAuthor.addrSHALL have at most one of each: state, city, postalCode, and country
: (item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)
shall-streetAddressLineerrorAuthor.assignedAuthor.addrSHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
: nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4)
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-countrywarningAuthor.assignedAuthor.addrSHOULD contain country
: nullFlavor.exists() or item.country.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()

This structure is derived from Author

Summary

Mandatory: 6 elements(3 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Author.templateId
  • The element 1 is sliced based on the value of Author.assignedAuthor.id
  • The element 1 is sliced based on the value of Author.assignedAuthor.representedOrganization.id

Differential View

This structure is derived from Author

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1 II
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr 0..* USRealmAddress Required on at least one instance of this author in the document
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item
....... family 0..* ENXP Family required
....... given 0..* ENXP SHOULD contain given
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1 II
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr C 0..* USRealmAddress Required on at least one instance of this author in the document
shall-city: SHALL contain exactly one [1..1] city (CONF:81-7292).
shall-streetAddressLine: SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
should-use: SHOULD contain @use
should-country: SHOULD contain country
81-7296: **SHALL NOT** have mixed content except for white space (CONF:81-7296)
81-10024: If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
81-10025: If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
shall-max-ad-parts: SHALL have at most one of each: state, city, postalCode, and country
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item C 1..* Base Choice Group: This is a repeating choice group that does not appear directly in the instance
EN-1: Can only have only one of the possible item elements in each choice
....... family 0..* ENXP Family required
....... given 0..* ENXP SHOULD contain given
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
81-7296errorAuthor.assignedAuthor.addr**SHALL NOT** have mixed content except for white space (CONF:81-7296)
: item.xmlText.empty()
81-10024errorAuthor.assignedAuthor.addrIf the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))
81-10025errorAuthor.assignedAuthor.addrIf the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))
EN-1errorAuthor.assignedAuthor.assignedPerson.name.itemCan only have only one of the possible item elements in each choice
: (delimiter | family | given | prefix | suffix | xmlText).count() = 1
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-cityerrorAuthor.assignedAuthor.addrSHALL contain exactly one [1..1] city (CONF:81-7292).
: nullFlavor.exists() or item.city.count() = 1
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
shall-max-ad-partserrorAuthor.assignedAuthor.addrSHALL have at most one of each: state, city, postalCode, and country
: (item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)
shall-streetAddressLineerrorAuthor.assignedAuthor.addrSHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
: nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4)
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-countrywarningAuthor.assignedAuthor.addrSHOULD contain country
: nullFlavor.exists() or item.country.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1 Author XML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId 0..1 II
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
.... templateId:provenance-author 1..1 II
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1 st
..... @displayable 0..1 bl
..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1 st Required Pattern: 2019-10-01
... @typeCode 0..1 cs Binding: CDAParticipationType (required)
Fixed Value: AUT
... @contextControlCode 0..1 cs Binding: CDAContextControl (required)
Fixed Value: OP
... functionCode 0..1 CE
... time 1..1 TS (USCDI) Author Time Stamp
... assignedAuthor C 1..1 AssignedAuthor author-details: 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.
4515-64: If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
should-code: SHOULD contain code
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... realmCode 0..* CS
.... typeId 0..1 II
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1 st
..... @displayable 0..1 bl
..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1 st
.... templateId 0..* II
.... @classCode 0..1 cs Binding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
.... Slices for id 1..* II Slice: Unordered, Open by value:root
..... id:npi 1..1 II
...... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1 st
.... sdtcIdentifiedBy 0..* IdentifiedBy XML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
.... code 0..1 CE When the author is a person who is not acting in the role of a clinician, this code encodes the personal or legal relationship between author and the patient.
Binding: CDARoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider Taxonomy . Preferred Binding
Providers
Personal And Legal Relationship Role Type . Preferred Binding
Non-clinicians
.... addr C 0..* USRealmAddress Required on at least one instance of this author in the document
shall-city: SHALL contain exactly one [1..1] city (CONF:81-7292).
shall-streetAddressLine: SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
should-use: SHOULD contain @use
should-country: SHOULD contain country
81-7296: **SHALL NOT** have mixed content except for white space (CONF:81-7296)
81-10024: If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
81-10025: If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
shall-max-ad-parts: SHALL have at most one of each: state, city, postalCode, and country
.... telecom 0..* TEL Required on at least one instance of this author in the document
.... assignedPerson 0..1 Person assignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
..... realmCode 0..* CS
..... typeId 0..1 II
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1 st
..... templateId 0..* II
..... @classCode 0..1 cs Binding: EntityClassLivingSubject (required)
Fixed Value: PSN
..... @determinerCode 0..1 cs Binding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... name C 1..* PN shall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @use 0..* cs Binding: CDAEntityNameUse (required)
...... item C 1..* Base Choice Group: This is a repeating choice group that does not appear directly in the instance
EN-1: Can only have only one of the possible item elements in each choice
....... (Choice of one) 1..1
........ delimiter 0..* ENXP
........ family 0..* ENXP Family required
........ given 0..* ENXP SHOULD contain given
........ prefix 0..* ENXP
........ suffix 0..* ENXP
........ xmlText 0..1 st Allows for mixed text content
...... validTime 0..1 IVL_TS
..... sdtcDesc 0..1 ED XML Namespace: urn:hl7-org:sdtc
XML: desc (urn:hl7-org:sdtc)
..... sdtcAsPatientRelationship 0..* InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
XML: asPatientRelationship (urn:hl7-org:sdtc)
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... realmCode 0..* CS
...... typeId 0..1 II
....... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
....... @extension 1..1 st
...... templateId 0..* II
...... @classCode 1..1 cs Fixed Value: PRS
...... @determinerCode 0..1 cs Fixed Value: INSTANCE
...... code 1..1 CE XML Namespace: urn:hl7-org:sdtc
XML Namespace: urn:hl7-org:sdtc
.... assignedAuthoringDevice 0..1 AuthoringDevice
.... representedOrganization C 0..1 Organization (USCDI) Author Organization - If the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (See - CONF:4440-64).
provenance-org-details: If the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
..... @nullFlavor 0..1 cs A nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... realmCode 0..* CS
..... typeId 0..1 II
...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1 st
...... @displayable 0..1 bl
...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1 st
..... templateId 0..* II
..... @classCode 0..1 cs Binding: EntityClassOrganization (required)
Fixed Value: ORG
..... @determinerCode 0..1 cs Binding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... Slices for id 0..* II Slice: Unordered, Open by value:root
...... id:taxId 0..1 II
....... @nullFlavor 0..1 cs If Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1 st
...... id:npi 0..1 II
....... @nullFlavor 0..1 cs If NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1 st
....... @displayable 0..1 bl
....... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1 st
..... name 0..1 ON
..... telecom 0..* TEL
..... addr 0..* AD
..... standardIndustryClassCode 0..1 CE Binding: OrganizationIndustryClassNAICS (example)
..... asOrganizationPartOf 0..1 OrganizationPartOf

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Author.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.templateId:provenance-author.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.typeCoderequiredFixed Value: AUT
http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType
Author.contextControlCoderequiredFixed Value: OP
http://hl7.org/cda/stds/core/ValueSet/CDAContextControl
Author.assignedAuthor.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.classCoderequiredFixed Value: ASSIGNED
http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.codeexampleCDARoleCode
http://hl7.org/cda/stds/core/ValueSet/CDARoleCode
Author.assignedAuthor.assignedPerson.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.classCoderequiredFixed Value: PSN
http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject
Author.assignedAuthor.assignedPerson.determinerCoderequiredFixed Value: INSTANCE
http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
Author.assignedAuthor.assignedPerson.name.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.name.userequiredCDAEntityNameUse
http://hl7.org/cda/stds/core/ValueSet/CDAEntityNameUse
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.classCoderequiredFixed Value: ORG
http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization
Author.assignedAuthor.representedOrganization.determinerCoderequiredFixed Value: INSTANCE
http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
Author.assignedAuthor.representedOrganization.standardIndustryClassCodeexampleOrganizationIndustryClassNAICS
http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS

Constraints

IdGradePath(s)DetailsRequirements
4515-64errorAuthor.assignedAuthorIf the assignedAuthor/id is not referencing a Provenance Author described elsewhere in the document with a representedOrganization populated, this assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4515-64).
: representedOrganization.exists() or (%resource.descendants().ofType(CDA.Author).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.5.6' and $this.extension = '2019-10-01') and assignedAuthor.representedOrganization.exists() and assignedAuthor.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))
81-7296errorAuthor.assignedAuthor.addr**SHALL NOT** have mixed content except for white space (CONF:81-7296)
: item.xmlText.empty()
81-10024errorAuthor.assignedAuthor.addrIf the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))
81-10025errorAuthor.assignedAuthor.addrIf the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))
EN-1errorAuthor.assignedAuthor.assignedPerson.name.itemCan only have only one of the possible item elements in each choice
: (delimiter | family | given | prefix | suffix | xmlText).count() = 1
author-detailserrorAuthor.assignedAuthorAuthors 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.
: 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())))
provenance-org-detailserrorAuthor.assignedAuthor.representedOrganizationIf the author is not a clinician, set nullFlavor='NA'. Otherwise, the taxId, npi, and name are required.
: nullFlavor = 'NA' or (id.where(root='2.16.840.1.113883.4.2').exists() and id.where(root='2.16.840.1.113883.4.6').exists() and name.exists())
shall-cityerrorAuthor.assignedAuthor.addrSHALL contain exactly one [1..1] city (CONF:81-7292).
: nullFlavor.exists() or item.city.count() = 1
shall-familyerrorAuthor.assignedAuthor.assignedPerson.nameSHALL contain exactly one [1..1] family (CONF:81-7159).
: nullFlavor.exists() or item.family.count() = 1
shall-max-ad-partserrorAuthor.assignedAuthor.addrSHALL have at most one of each: state, city, postalCode, and country
: (item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)
shall-streetAddressLineerrorAuthor.assignedAuthor.addrSHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
: nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4)
should-codewarningAuthor.assignedAuthorSHOULD contain code
: code.exists()
should-countrywarningAuthor.assignedAuthor.addrSHOULD contain country
: nullFlavor.exists() or item.country.exists()
should-givenwarningAuthor.assignedAuthor.assignedPerson.nameSHOULD contain given
: item.given.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()

This structure is derived from Author

Summary

Mandatory: 6 elements(3 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Author.templateId
  • The element 1 is sliced based on the value of Author.assignedAuthor.id
  • The element 1 is sliced based on the value of Author.assignedAuthor.representedOrganization.id

 

Other representations of profile: CSV, Excel