Clinical Document Architecture with Australian Schema
1.0.0 - current Australia flag

Clinical Document Architecture with Australian Schema - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: au-ClinicalDocument - XML Profile

Active as of 2024-08-29

XML representation of the au-ClinicalDocument logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="au-ClinicalDocument"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The ClinicalDocument class is the entry point into the CDA R-MIM, and corresponds to the
        &lt;ClinicalDocument&gt; XML element that is the root element of a CDA document.</p>
      <p>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.</p>
      <p>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.</p>
      <p>ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two
        specification, and must be valued as follows: ClinicalDocument.typeId.root =
        &quot;2.16.840.1.113883.1.3&quot; (which is the OID for HL7 Registered models);
        ClinicalDocument.typeId.extension = &quot;POCD_HD000040&quot; (which is the unique identifier for the
        CDA, Release Two Hierarchical Description).</p>
    </div>
  </text>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
    <valueBoolean>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
        <valueCode value="not-applicable"/>
      </extension>
    </valueBoolean>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
    <valueString value="ClinicalDocument"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-style">
    <valueUri value="cda"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
    <valueUri
              value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
  </extension>
  <url
       value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ClinicalDocument"/>
  <version value="1.0.0"/>
  <name value="au-ClinicalDocument"/>
  <title value="ADHA ClinicalDocument (CDA Class)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2024-08-29T09:46:41+10:00"/>
  <publisher value="Australian Digital Health Agency"/>
  <contact>
    <name value="Australian Digital Health Agency"/>
    <telecom>
      <system value="email"/>
      <value value="mailto:[email protected]"/>
    </telecom>
  </contact>
  <description
               value="**Australian adaptation of the [HL7 International CDA ClinicalDocument class](     https://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ClinicalDocument.html)**.     

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"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="AU"/>
    </coding>
  </jurisdiction>
  <copyright
             value="Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)."/>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
  <baseDefinition
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ANY"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="ClinicalDocument">
      <path value="ClinicalDocument"/>
      <short
             value="Australian adaptation of the HL7 International CDA ClinicalDocument class"/>
      <definition
                  value="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 value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ClinicalDocument.nullFlavor">
      <path value="ClinicalDocument.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="ClinicalDocument.classCode">
      <path value="ClinicalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.classCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DOCCLIN"/>
      <binding>
        <strength value="example"/>
        <valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.moodCode">
      <path value="ClinicalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.moodCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="EVN"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActMood"/>
      </binding>
    </element>
    <element id="ClinicalDocument.realmCode">
      <path value="ClinicalDocument.realmCode"/>
      <definition
                  value="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 value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId">
      <path value="ClinicalDocument.typeId"/>
      <definition
                  value="ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two specification, and must be valued as follows: ClinicalDocument.typeId.root = &quot;2.16.840.1.113883.1.3&quot; (which is the OID for HL7 Registered models); ClinicalDocument.typeId.extension = &quot;POCD_HD000040&quot; (which is the unique identifier for the CDA, Release Two Hierarchical Description)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId.nullFlavor">
      <path value="ClinicalDocument.typeId.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="ClinicalDocument.typeId.assigningAuthorityName">
      <path value="ClinicalDocument.typeId.assigningAuthorityName"/>
      <representation value="xmlAttr"/>
      <label value="Assigning Authority Name"/>
      <definition
                  value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="II.assigningAuthorityName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId.displayable">
      <path value="ClinicalDocument.typeId.displayable"/>
      <representation value="xmlAttr"/>
      <label value="Displayable"/>
      <definition
                  value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="II.displayable"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId.root">
      <path value="ClinicalDocument.typeId.root"/>
      <representation value="xmlAttr"/>
      <label value="Root"/>
      <definition value="Identifies the type as an HL7 Registered model"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.root"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
      <fixedString value="2.16.840.1.113883.1.3"/>
    </element>
    <element id="ClinicalDocument.typeId.extension">
      <path value="ClinicalDocument.typeId.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.extension"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <fixedString value="POCD_HD000040"/>
    </element>
    <element id="ClinicalDocument.templateId">
      <path value="ClinicalDocument.templateId"/>
      <definition
                  value="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 value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.id">
      <path value="ClinicalDocument.id"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.id"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.code">
      <path value="ClinicalDocument.code"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.title">
      <path value="ClinicalDocument.title"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="ClinicalDocument.effectiveTime">
      <path value="ClinicalDocument.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.effectiveTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.confidentialityCode">
      <path value="ClinicalDocument.confidentialityCode"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.confidentialityCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.languageCode">
      <path value="ClinicalDocument.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.languageCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.setId">
      <path value="ClinicalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.setId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.versionNumber">
      <path value="ClinicalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.versionNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="ClinicalDocument.completionCode">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
        <valueUri
                  value="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"/>
      </extension>
      <path value="ClinicalDocument.completionCode"/>
      <short
             value="ADHA CDA extension to represent document lifecycle codes"/>
      <definition
                  value="The completionCode extension attribute allows the implementer to identify the lifecycle status of a document."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.completionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://ns.electronichealth.net.au/cda/ValueSet/dh-NctisAdminCodesDocumentStatus"/>
      </binding>
    </element>
    <element id="ClinicalDocument.copyTime">
      <path value="ClinicalDocument.copyTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.copyTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget">
      <path value="ClinicalDocument.recordTarget"/>
      <short value="Australian-adapted RecordTarget class"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.recordTarget"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RecordTarget"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RecordTarget"/>
      </type>
    </element>
    <element id="ClinicalDocument.author">
      <path value="ClinicalDocument.author"/>
      <short value="Australian-adapted Author class"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.author"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer">
      <path value="ClinicalDocument.dataEnterer"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.dataEnterer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DataEnterer"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant">
      <path value="ClinicalDocument.informant"/>
      <short value="Australian-adapted Informant class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian">
      <path value="ClinicalDocument.custodian"/>
      <short value="Australian-adapted Custodian class"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.custodian"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Custodian"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Custodian"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient">
      <path value="ClinicalDocument.informationRecipient"/>
      <short value="Australian-adapted InformationRecipient class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.informationRecipient"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InformationRecipient"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InformationRecipient"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator">
      <path value="ClinicalDocument.legalAuthenticator"/>
      <short value="Australian-adapted LegalAuthenticator class"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.legalAuthenticator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-LegalAuthenticator"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-LegalAuthenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator">
      <path value="ClinicalDocument.authenticator"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.authenticator"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant">
      <path value="ClinicalDocument.participant"/>
      <short value="Australian-adapted Participant class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant1"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant1"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf">
      <path value="ClinicalDocument.inFulfillmentOf"/>
      <short value="Australian-adapted InFulfillmentOf class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.inFulfillmentOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InFulfillmentOf"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InFulfillmentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf">
      <path value="ClinicalDocument.documentationOf"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.documentationOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DocumentationOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.relatedDocument">
      <path value="ClinicalDocument.relatedDocument"/>
      <short value="Australian-adapted RelatedDocument class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.relatedDocument"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RelatedDocument"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RelatedDocument"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization">
      <path value="ClinicalDocument.authorization"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.authorization"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authorization"/>
      </type>
    </element>
    <element id="ClinicalDocument.componentOf">
      <path value="ClinicalDocument.componentOf"/>
      <short value="Australian-adapted ComponentOf class"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.componentOf"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ComponentOf"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ComponentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.component">
      <path value="ClinicalDocument.component"/>
      <short value="Australian-adapted Component class"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.component"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Component"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Component"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="ClinicalDocument">
      <path value="ClinicalDocument"/>
      <short
             value="Australian adaptation of the HL7 International CDA ClinicalDocument class"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="ClinicalDocument.classCode">
      <path value="ClinicalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DOCCLIN"/>
      <binding>
        <strength value="example"/>
        <valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.moodCode">
      <path value="ClinicalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="EVN"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActMood"/>
      </binding>
    </element>
    <element id="ClinicalDocument.realmCode">
      <path value="ClinicalDocument.realmCode"/>
      <definition
                  value="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 value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId">
      <path value="ClinicalDocument.typeId"/>
      <definition
                  value="ClinicalDocument.typeId is a technology-neutral explicit reference to this CDA, Release Two specification, and must be valued as follows: ClinicalDocument.typeId.root = &quot;2.16.840.1.113883.1.3&quot; (which is the OID for HL7 Registered models); ClinicalDocument.typeId.extension = &quot;POCD_HD000040&quot; (which is the unique identifier for the CDA, Release Two Hierarchical Description)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId.root">
      <path value="ClinicalDocument.typeId.root"/>
      <representation value="xmlAttr"/>
      <definition value="Identifies the type as an HL7 Registered model"/>
      <min value="1"/>
      <max value="1"/>
      <fixedString value="2.16.840.1.113883.1.3"/>
    </element>
    <element id="ClinicalDocument.typeId.extension">
      <path value="ClinicalDocument.typeId.extension"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <fixedString value="POCD_HD000040"/>
    </element>
    <element id="ClinicalDocument.templateId">
      <path value="ClinicalDocument.templateId"/>
      <definition
                  value="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 value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.id">
      <path value="ClinicalDocument.id"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.code">
      <path value="ClinicalDocument.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.title">
      <path value="ClinicalDocument.title"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="ClinicalDocument.effectiveTime">
      <path value="ClinicalDocument.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.confidentialityCode">
      <path value="ClinicalDocument.confidentialityCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.languageCode">
      <path value="ClinicalDocument.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.setId">
      <path value="ClinicalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.versionNumber">
      <path value="ClinicalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="ClinicalDocument.completionCode">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
        <valueUri
                  value="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"/>
      </extension>
      <path value="ClinicalDocument.completionCode"/>
      <short
             value="ADHA CDA extension to represent document lifecycle codes"/>
      <definition
                  value="The completionCode extension attribute allows the implementer to identify the lifecycle status of a document."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://ns.electronichealth.net.au/cda/ValueSet/dh-NctisAdminCodesDocumentStatus"/>
      </binding>
    </element>
    <element id="ClinicalDocument.copyTime">
      <path value="ClinicalDocument.copyTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget">
      <path value="ClinicalDocument.recordTarget"/>
      <short value="Australian-adapted RecordTarget class"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RecordTarget"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RecordTarget"/>
      </type>
    </element>
    <element id="ClinicalDocument.author">
      <path value="ClinicalDocument.author"/>
      <short value="Australian-adapted Author class"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer">
      <path value="ClinicalDocument.dataEnterer"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DataEnterer"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant">
      <path value="ClinicalDocument.informant"/>
      <short value="Australian-adapted Informant class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian">
      <path value="ClinicalDocument.custodian"/>
      <short value="Australian-adapted Custodian class"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Custodian"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Custodian"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient">
      <path value="ClinicalDocument.informationRecipient"/>
      <short value="Australian-adapted InformationRecipient class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InformationRecipient"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InformationRecipient"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator">
      <path value="ClinicalDocument.legalAuthenticator"/>
      <short value="Australian-adapted LegalAuthenticator class"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-LegalAuthenticator"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-LegalAuthenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator">
      <path value="ClinicalDocument.authenticator"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant">
      <path value="ClinicalDocument.participant"/>
      <short value="Australian-adapted Participant class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant1"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant1"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf">
      <path value="ClinicalDocument.inFulfillmentOf"/>
      <short value="Australian-adapted InFulfillmentOf class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InFulfillmentOf"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-InFulfillmentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf">
      <path value="ClinicalDocument.documentationOf"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DocumentationOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.relatedDocument">
      <path value="ClinicalDocument.relatedDocument"/>
      <short value="Australian-adapted RelatedDocument class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RelatedDocument"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-RelatedDocument"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization">
      <path value="ClinicalDocument.authorization"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authorization"/>
      </type>
    </element>
    <element id="ClinicalDocument.componentOf">
      <path value="ClinicalDocument.componentOf"/>
      <short value="Australian-adapted ComponentOf class"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ComponentOf"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ComponentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.component">
      <path value="ClinicalDocument.component"/>
      <short value="Australian-adapted Component class"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Component"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Component"/>
      </type>
    </element>
  </differential>
</StructureDefinition>