ClinicalDocument
type: StructureDefinition
node role: treeRoot
id:
  v: ClinicalDocument
text:
  status:
    v: generated
  div: The ClinicalDocument class is the entry point into the CDA R-MIM, and corresponds to the <ClinicalDocument> XML element that is the root element of a CDA document. A CDA document is logically broken up into a CDA Header and a CDA Body. The CDA Header is comprised of ClinicalDocument attributes, participants, and act relationships. The CDA Body is the target of the ClinicalDocument component act relationship. The ClinicalDocument class inherits various attributes from the InfrastructureRoot class of the RIM, including ClinicalDocument.templateId and ClinicalDocument.typeId. When ClinicalDocument.templateId is valued in an instance, it signals the imposition of a set of template-defined constraints. In addition, the templateId attribute is available in all other CDA classes, thus enabling the imposition of a set of template-defined constraints at any level of granularity. The value of this attribute provides a unique identifier for the template(s) in question. ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two specification, and must be valued as follows: ClinicalDocument.typeId.root = "2.16.840.1.113883.1.3" (which is the OID for HL7 Registered models); ClinicalDocument.typeId.extension = "POCD_HD000040" (which is the unique identifier for the CDA, Release Two Hierarchical Description).
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value: boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
      value: code
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value: string
    v: ClinicalDocument
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
  value: code
    v: cda
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
  value: uri
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
url:
  v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
version:
  v: 1.0.1
name:
  v: ClinicalDocument
title:
  v: ClinicalDocument (CDA Class)
status:
  v: active
experimental:
  v: false
date:
  v: 2025-10-10T09:58:30+10:00
publisher:
  v: HL7
description:
  v: This is a generated StructureDefinition that describes CDA - that is, CDA as it actually is for R2. The intent of this StructureDefinition is to enable CDA to be a FHIR resource. That enables the FHIR infrastructure - API, conformance, query - to be used directly against CDA
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/ANY
  link: http://hl7.org/cda/stds/core/StructureDefinition/ANY
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 1.0.1
  element:
    id:
      v: ClinicalDocument
    path:
      v: ClinicalDocument
    short:
      v: Base for all types and resources
    definition:
      v: Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: ClinicalDocument.nullFlavor
    path:
      v: ClinicalDocument.nullFlavor
    representation:
      v: xmlAttr
    label:
      v: Exceptional Value Detail
    definition:
      v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ANY.nullFlavor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  element:
    id:
      v: ClinicalDocument.classCode
    path:
      v: ClinicalDocument.classCode
    representation:
      v: xmlAttr
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ClinicalDocument.classCode
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    fixed: code
      v: DOCCLIN
    binding:
      strength:
        v: example
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDAActClass
        link: http://hl7.org/cda/stds/core/ValueSet/CDAActClass
  element:
    id:
      v: ClinicalDocument.moodCode
    path:
      v: ClinicalDocument.moodCode
    representation:
      v: xmlAttr
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ClinicalDocument.moodCode
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    fixed: code
      v: EVN
    binding:
      strength:
        v: required

id:
  v: ClinicalDocument.realmCode
path:
  v: ClinicalDocument.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: ClinicalDocument.typeId
path:
  v: ClinicalDocument.typeId
definition:
  v: ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two specification, and must be valued as follows: ClinicalDocument.typeId.root = "2.16.840.1.113883.1.3" (which is the OID for HL7 Registered models); ClinicalDocument.typeId.extension = "POCD_HD000040" (which is the unique identifier for the CDA, Release Two Hierarchical Description).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()

id:
  v: ClinicalDocument.typeId.nullFlavor
path:
  v: ClinicalDocument.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: ClinicalDocument.typeId.assigningAuthorityName
path:
  v: ClinicalDocument.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: ClinicalDocument.typeId.displayable
path:
  v: ClinicalDocument.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: ClinicalDocument.typeId.root
path:
  v: ClinicalDocument.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed: string
  v: 2.16.840.1.113883.1.3

id:
  v: ClinicalDocument.typeId.extension
path:
  v: ClinicalDocument.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
fixed: string
  v: POCD_HD000040

id:
  v: ClinicalDocument.templateId
path:
  v: ClinicalDocument.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: ClinicalDocument.id
path:
  v: ClinicalDocument.id
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.id
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: ClinicalDocument.sdtcCategory
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value: string
    v: category
path:
  v: ClinicalDocument.sdtcCategory
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.sdtcCategory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD

id:
  v: ClinicalDocument.code
path:
  v: ClinicalDocument.code
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: example
  value set:
    v: http://hl7.org/fhir/ValueSet/doc-typecodes
    link: http://hl7.org/fhir/ValueSet/doc-typecodes

id:
  v: ClinicalDocument.title
path:
  v: ClinicalDocument.title
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ST

id:
  v: ClinicalDocument.sdtcStatusCode
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value: string
    v: statusCode
path:
  v: ClinicalDocument.sdtcStatusCode
definition:
  v: The statusCode extension attribute allows the implementer to identify a ClinicalDocument that is in other than the completed state. It was created to support the Structured Form Definition IG to identify that the document itself is an unfinished product currently being completed for a patient.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.sdtcStatusCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    link: http://terminology.hl7.org/ValueSet/v3-ActStatus

id:
  v: ClinicalDocument.effectiveTime
path:
  v: ClinicalDocument.effectiveTime
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.effectiveTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS

id:
  v: ClinicalDocument.confidentialityCode
path:
  v: ClinicalDocument.confidentialityCode
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.confidentialityCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE

id:
  v: ClinicalDocument.languageCode
path:
  v: ClinicalDocument.languageCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.languageCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages
    link: http://hl7.org/fhir/ValueSet/all-languages

id:
  v: ClinicalDocument.setId
path:
  v: ClinicalDocument.setId
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.setId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: ClinicalDocument.versionNumber
path:
  v: ClinicalDocument.versionNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.versionNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT

id:
  v: ClinicalDocument.copyTime
path:
  v: ClinicalDocument.copyTime
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.copyTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS

id:
  v: ClinicalDocument.recordTarget
path:
  v: ClinicalDocument.recordTarget
min:
  v: 1
max:
  v: *
base:
  path:
    v: ClinicalDocument.recordTarget
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RecordTarget

id:
  v: ClinicalDocument.author
path:
  v: ClinicalDocument.author
min:
  v: 1
max:
  v: *
base:
  path:
    v: ClinicalDocument.author
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author

id:
  v: ClinicalDocument.dataEnterer
path:
  v: ClinicalDocument.dataEnterer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.dataEnterer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/DataEnterer

id:
  v: ClinicalDocument.informant
path:
  v: ClinicalDocument.informant
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.informant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Informant

id:
  v: ClinicalDocument.custodian
path:
  v: ClinicalDocument.custodian
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.custodian
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Custodian

id:
  v: ClinicalDocument.informationRecipient
path:
  v: ClinicalDocument.informationRecipient
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.informationRecipient
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InformationRecipient

id:
  v: ClinicalDocument.legalAuthenticator
path:
  v: ClinicalDocument.legalAuthenticator
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.legalAuthenticator
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/LegalAuthenticator

id:
  v: ClinicalDocument.authenticator
path:
  v: ClinicalDocument.authenticator
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.authenticator
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Authenticator

id:
  v: ClinicalDocument.participant
path:
  v: ClinicalDocument.participant
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant1

id:
  v: ClinicalDocument.inFulfillmentOf
path:
  v: ClinicalDocument.inFulfillmentOf
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.inFulfillmentOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf

id:
  v: ClinicalDocument.documentationOf
path:
  v: ClinicalDocument.documentationOf
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.documentationOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/DocumentationOf

id:
  v: ClinicalDocument.relatedDocument
path:
  v: ClinicalDocument.relatedDocument
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.relatedDocument
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RelatedDocument

id:
  v: ClinicalDocument.authorization
path:
  v: ClinicalDocument.authorization
min:
  v: 0
max:
  v: *
base:
  path:
    v: ClinicalDocument.authorization
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Authorization

id:
  v: ClinicalDocument.componentOf
path:
  v: ClinicalDocument.componentOf
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ClinicalDocument.componentOf
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ComponentOf

id:
  v: ClinicalDocument.component
path:
  v: ClinicalDocument.component
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ClinicalDocument.component
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Component

element:
  id:
    v: ClinicalDocument
  path:
    v: ClinicalDocument
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: ClinicalDocument.classCode
  path:
    v: ClinicalDocument.classCode
  representation:
    v: xmlAttr
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
    profile:
      v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
      link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
  fixed: code
    v: DOCCLIN
  binding:
    strength:
      v: example
    value set:
      v: http://hl7.org/cda/stds/core/ValueSet/CDAActClass
      link: http://hl7.org/cda/stds/core/ValueSet/CDAActClass
element:
  id:
    v: ClinicalDocument.moodCode
  path:
    v: ClinicalDocument.moodCode
  representation:
    v: xmlAttr
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
    profile:
      v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
      link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
  fixed: code
    v: EVN
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/cda/stds/core/ValueSet/CDAActMood
      link: http://hl7.org/cda/stds/core/ValueSet/CDAActMood
element:
  id:
    v: ClinicalDocument.realmCode
  path:
    v: ClinicalDocument.realmCode
  definition:
    v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/CS
element:
  id:
    v: ClinicalDocument.typeId
  path:
    v: ClinicalDocument.typeId
  definition:
    v: ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two specification, and must be valued as follows: ClinicalDocument.typeId.root = "2.16.840.1.113883.1.3" (which is the OID for HL7 Registered models); ClinicalDocument.typeId.extension = "POCD_HD000040" (which is the unique identifier for the CDA, Release Two Hierarchical Description).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/II
element:
  id:
    v: ClinicalDocument.typeId.root
  path:
    v: ClinicalDocument.typeId.root
  representation:
    v: xmlAttr
  definition:
    v: Identifies the type as an HL7 Registered model
  min:
    v: 1
  max:
    v: 1
  fixed: string
    v: 2.16.840.1.113883.1.3
element:
  id:
    v: ClinicalDocument.typeId.extension
  path:
    v: ClinicalDocument.typeId.extension
  representation:
    v: xmlAttr
  definition:
    v: A character string as a unique identifier within the scope of the identifier root.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
    profile:
      v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
      link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
  fixed: string
    v: POCD_HD000040
element:
  id:
    v: ClinicalDocument.templateId
  path:
    v: ClinicalDocument.templateId
  definition:
    v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/II
element:
  id:
    v: ClinicalDocument.id
  path:
    v: ClinicalDocument.id
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/II
element:
  id:
    v: ClinicalDocument.sdtcCategory
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    value: uri
      v: urn:hl7-org:sdtc
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    value: string
      v: category
  path:
    v: ClinicalDocument.sdtcCategory
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/CD
element:
  id:
    v: ClinicalDocument.code
  path:
    v: ClinicalDocument.code
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/CE
  binding:
    strength:
      v: example
    value set:
      v: http://hl7.org/fhir/ValueSet/doc-typecodes
      link: http://hl7.org/fhir/ValueSet/doc-typecodes
element:
  id:
    v: ClinicalDocument.title
  path:
    v: ClinicalDocument.title
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/ST

id:
  v: ClinicalDocument.sdtcStatusCode
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value: string
    v: statusCode
path:
  v: ClinicalDocument.sdtcStatusCode
definition:
  v: The statusCode extension attribute allows the implementer to identify a ClinicalDocument that is in other than the completed state. It was created to support the Structured Form Definition IG to identify that the document itself is an unfinished product currently being completed for a patient.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    link: http://terminology.hl7.org/ValueSet/v3-ActStatus

id:
  v: ClinicalDocument.effectiveTime
path:
  v: ClinicalDocument.effectiveTime
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS

id:
  v: ClinicalDocument.confidentialityCode
path:
  v: ClinicalDocument.confidentialityCode
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE

id:
  v: ClinicalDocument.languageCode
path:
  v: ClinicalDocument.languageCode
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages
    link: http://hl7.org/fhir/ValueSet/all-languages

id:
  v: ClinicalDocument.setId
path:
  v: ClinicalDocument.setId
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: ClinicalDocument.versionNumber
path:
  v: ClinicalDocument.versionNumber
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT

id:
  v: ClinicalDocument.copyTime
path:
  v: ClinicalDocument.copyTime
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS

id:
  v: ClinicalDocument.recordTarget
path:
  v: ClinicalDocument.recordTarget
min:
  v: 1
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RecordTarget

id:
  v: ClinicalDocument.author
path:
  v: ClinicalDocument.author
min:
  v: 1
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author

id:
  v: ClinicalDocument.dataEnterer
path:
  v: ClinicalDocument.dataEnterer
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/DataEnterer

id:
  v: ClinicalDocument.informant
path:
  v: ClinicalDocument.informant
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Informant

id:
  v: ClinicalDocument.custodian
path:
  v: ClinicalDocument.custodian
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Custodian

id:
  v: ClinicalDocument.informationRecipient
path:
  v: ClinicalDocument.informationRecipient
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InformationRecipient

id:
  v: ClinicalDocument.legalAuthenticator
path:
  v: ClinicalDocument.legalAuthenticator
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/LegalAuthenticator

id:
  v: ClinicalDocument.authenticator
path:
  v: ClinicalDocument.authenticator
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Authenticator

id:
  v: ClinicalDocument.participant
path:
  v: ClinicalDocument.participant
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant1

id:
  v: ClinicalDocument.inFulfillmentOf
path:
  v: ClinicalDocument.inFulfillmentOf
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf

id:
  v: ClinicalDocument.documentationOf
path:
  v: ClinicalDocument.documentationOf
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/DocumentationOf

id:
  v: ClinicalDocument.relatedDocument
path:
  v: ClinicalDocument.relatedDocument
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RelatedDocument

id:
  v: ClinicalDocument.authorization
path:
  v: ClinicalDocument.authorization
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Authorization

id:
  v: ClinicalDocument.componentOf
path:
  v: ClinicalDocument.componentOf
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ComponentOf

id:
  v: ClinicalDocument.component
path:
  v: ClinicalDocument.component
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Component