Consolidated CDA
3.0.0-ballot - ballot United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . 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-ballot
Draft as of 2023-12-21 Computable Name: ProvenanceAuthorParticipation
Other Identifiers: id: 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 Profile Content

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

This structure is derived from Author

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr 0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item
....... family 0..*ENXPFamily required
....... given 0..*ENXPSHOULD contain given
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Author.assignedAuthor.codeexampleRoleCode

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()
should-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr C0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item C1..*BaseChoice Group: This is a repeating choice group that does not appear directly in the instance
....... family 0..*ENXPFamily required
....... given 0..*ENXPSHOULD contain given
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.codeexampleRoleCode
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor

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-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
.... templateId:provenance-author 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... @typeCode 0..1csBinding: ParticipationType (required)
Fixed Value: AUT
... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
... functionCode 0..1CE
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..1csBinding: CDANullFlavor (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1st
.... templateId 0..*II
.... @classCode 0..1csBinding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
.... Slices for id 1..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... sdtcIdentifiedBy 0..*IdentifiedByXML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr C0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @classCode 0..1csBinding: EntityClassLivingSubject (required)
Fixed Value: PSN
..... @determinerCode 0..1csBinding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @use 0..*csBinding: CDAEntityNameUse (required)
...... item C1..*BaseChoice Group: This is a repeating choice group that does not appear directly in the instance
....... (Choice of one) 1..1
........ delimiter 0..*ENXP
........ family 0..*ENXPFamily required
........ given 0..*ENXPSHOULD contain given
........ prefix 0..*ENXP
........ suffix 0..*ENXP
........ xmlText 0..1stAllows for mixed text content
...... validTime 0..1IVL_TS
..... sdtcDesc 0..1EDXML Namespace: urn:hl7-org:sdtc
XML: desc (urn:hl7-org:sdtc)
..... sdtcAsPatientRelationship 0..*InfrastructureRootXML Namespace: urn:hl7-org:sdtc
XML: asPatientRelationship (urn:hl7-org:sdtc)
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... realmCode 0..*CS
...... typeId 0..1II
....... @nullFlavor 0..1csBinding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
....... @extension 1..1st
...... templateId 0..*II
...... @classCode 1..1csFixed Value: PRS
...... @determinerCode 0..1csFixed Value: INSTANCE
...... code 1..1CEXML Namespace: urn:hl7-org:sdtc
XML Namespace: urn:hl7-org:sdtc
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @classCode 0..1csBinding: EntityClassOrganization (required)
Fixed Value: ORG
..... @determinerCode 0..1csBinding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL
..... addr 0..*AD
..... standardIndustryClassCode 0..1CEBinding: OrganizationIndustryClassNAICS (example)
..... asOrganizationPartOf 0..1OrganizationPartOf

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Author.nullFlavorrequiredCDANullFlavor
Author.typeId.nullFlavorrequiredCDANullFlavor
Author.templateId:provenance-author.nullFlavorrequiredCDANullFlavor
Author.typeCoderequiredFixed Value: AUT
Author.contextControlCoderequiredFixed Value: OP
Author.assignedAuthor.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.classCoderequiredFixed Value: ASSIGNED
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.codeexampleRoleCode
Author.assignedAuthor.assignedPerson.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.classCoderequiredFixed Value: PSN
Author.assignedAuthor.assignedPerson.determinerCoderequiredFixed Value: INSTANCE
Author.assignedAuthor.assignedPerson.name.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.name.userequiredCDAEntityNameUse
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.classCoderequiredFixed Value: ORG
Author.assignedAuthor.representedOrganization.determinerCoderequiredFixed Value: INSTANCE
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.standardIndustryClassCodeexampleOrganizationIndustryClassNAICS

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-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.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 Author.templateId is sliced based on the values of value:root, value:extension
  • The element Author.assignedAuthor.id is sliced based on the value of value:root
  • The element Author.assignedAuthor.representedOrganization.id is sliced based on the value of value:root

Differential View

This structure is derived from Author

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr 0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item
....... family 0..*ENXPFamily required
....... given 0..*ENXPSHOULD contain given
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Author.assignedAuthor.codeexampleRoleCode

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()
should-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:provenance-author 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr C0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... item C1..*BaseChoice Group: This is a repeating choice group that does not appear directly in the instance
....... family 0..*ENXPFamily required
....... given 0..*ENXPSHOULD contain given
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.codeexampleRoleCode
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor

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-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.exists()
should-usewarningAuthor.assignedAuthor.addrSHOULD contain @use
: nullFlavor.exists() or use.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Author 1..1AuthorXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @typeCode, @contextControlCode, functionCode, time, assignedAuthor
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
.... templateId:provenance-author 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.5.6
..... @extension 1..1stRequired Pattern: 2019-10-01
... @typeCode 0..1csBinding: ParticipationType (required)
Fixed Value: AUT
... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
... functionCode 0..1CE
... time 1..1TS(USCDI) Author Time Stamp
... assignedAuthor C1..1AssignedAuthorauthor-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..1csBinding: CDANullFlavor (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1st
.... templateId 0..*II
.... @classCode 0..1csBinding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
.... Slices for id 1..*IISlice: Unordered, Open by value:root
..... id:npi 1..1II
...... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
...... @extension 0..1st
.... sdtcIdentifiedBy 0..*IdentifiedByXML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
.... code 0..1CEWhen 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: v3 Code System RoleCode (example): See additional bindings

Additional BindingsPurposeDocumentation
Healthcare Provider TaxonomyPreferred Binding
Providers
Personal And Legal Relationship Role TypePreferred Binding
Non-clinicians
.... addr C0..*USRealmAddressRequired on at least one instance of this author in the document
.... telecom 0..*TELRequired on at least one instance of this author in the document
.... assignedPerson 0..1PersonassignedPerson/name or assignedAuthoringDevice/manufacturerModelName is required on at least one instance of this author in the document
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @classCode 0..1csBinding: EntityClassLivingSubject (required)
Fixed Value: PSN
..... @determinerCode 0..1csBinding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... name C1..*PNshall-family: SHALL contain exactly one [1..1] family (CONF:81-7159).
should-given: SHOULD contain given
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @use 0..*csBinding: CDAEntityNameUse (required)
...... item C1..*BaseChoice Group: This is a repeating choice group that does not appear directly in the instance
....... (Choice of one) 1..1
........ delimiter 0..*ENXP
........ family 0..*ENXPFamily required
........ given 0..*ENXPSHOULD contain given
........ prefix 0..*ENXP
........ suffix 0..*ENXP
........ xmlText 0..1stAllows for mixed text content
...... validTime 0..1IVL_TS
..... sdtcDesc 0..1EDXML Namespace: urn:hl7-org:sdtc
XML: desc (urn:hl7-org:sdtc)
..... sdtcAsPatientRelationship 0..*InfrastructureRootXML Namespace: urn:hl7-org:sdtc
XML: asPatientRelationship (urn:hl7-org:sdtc)
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... realmCode 0..*CS
...... typeId 0..1II
....... @nullFlavor 0..1csBinding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
....... @extension 1..1st
...... templateId 0..*II
...... @classCode 1..1csFixed Value: PRS
...... @determinerCode 0..1csFixed Value: INSTANCE
...... code 1..1CEXML Namespace: urn:hl7-org:sdtc
XML Namespace: urn:hl7-org:sdtc
.... assignedAuthoringDevice 0..1AuthoringDevice
.... representedOrganization C0..1Organization(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.
should-telecom: SHOULD contain telecom
..... @nullFlavor 0..1csA nullFlavor of "NA" is allowed If the assignedAuthor is not a clinician
Binding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @classCode 0..1csBinding: EntityClassOrganization (required)
Fixed Value: ORG
..... @determinerCode 0..1csBinding: EntityDeterminer (required)
Fixed Value: INSTANCE
..... Slices for id 0..*IISlice: Unordered, Open by value:root
...... id:taxId 0..1II
....... @nullFlavor 0..1csIf Tax ID Number is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.2
....... @extension 0..1st
...... id:npi 0..1II
....... @nullFlavor 0..1csIf NPI is unknown, set @nullFlavor to UNK
Binding: CDANullFlavor (required)
....... @assigningAuthorityName 0..1st
....... @displayable 0..1bl
....... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.4.6
....... @extension 0..1st
..... name 0..1ON
..... telecom 0..*TEL
..... addr 0..*AD
..... standardIndustryClassCode 0..1CEBinding: OrganizationIndustryClassNAICS (example)
..... asOrganizationPartOf 0..1OrganizationPartOf

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Author.nullFlavorrequiredCDANullFlavor
Author.typeId.nullFlavorrequiredCDANullFlavor
Author.templateId:provenance-author.nullFlavorrequiredCDANullFlavor
Author.typeCoderequiredFixed Value: AUT
Author.contextControlCoderequiredFixed Value: OP
Author.assignedAuthor.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.classCoderequiredFixed Value: ASSIGNED
Author.assignedAuthor.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.codeexampleRoleCode
Author.assignedAuthor.assignedPerson.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.classCoderequiredFixed Value: PSN
Author.assignedAuthor.assignedPerson.determinerCoderequiredFixed Value: INSTANCE
Author.assignedAuthor.assignedPerson.name.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.name.userequiredCDAEntityNameUse
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.typeId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.classCoderequiredFixed Value: ORG
Author.assignedAuthor.representedOrganization.determinerCoderequiredFixed Value: INSTANCE
Author.assignedAuthor.representedOrganization.id:taxId.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.id:npi.nullFlavorrequiredCDANullFlavor
Author.assignedAuthor.representedOrganization.standardIndustryClassCodeexampleOrganizationIndustryClassNAICS

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-telecomwarningAuthor.assignedAuthor.representedOrganizationSHOULD contain telecom
: telecom.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 Author.templateId is sliced based on the values of value:root, value:extension
  • The element Author.assignedAuthor.id is sliced based on the value of value:root
  • The element Author.assignedAuthor.representedOrganization.id is sliced based on the value of value:root

 

Other representations of profile: CSV, Excel