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-Supply - XML Profile

Active as of 2024-08-29

XML representation of the au-Supply logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="au-Supply"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>A derivative of the RIM Supply class, used for representing the provision of a material by one entity to another.</p>
      <p>The dispensed product is associated with the Supply act via a product participant, which connects to the same ManufacturedProduct role used for SubstanceAdministration.</p>
      <p>The Supply class represents dispensing, whereas the SubstanceAdministration class represents administration. Prescriptions are complex activities that involve both an administration request to the patient (e.g. take digoxin 0.125mg by mouth once per day) and a supply request to the pharmacy (e.g. dispense 30 tablets, with 5 refills). This should be represented in CDA by a SubstanceAdministration entry that has a component Supply entry. The nested Supply entry can have Supply.independentInd set to &quot;false&quot; to signal that the Supply cannot stand alone, without it's containing SubstanceAdministration. The following example illustrates a prescription representation in CDA.</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="supply"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
    <valueUri
              value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-style">
    <valueUri value="cda"/>
  </extension>
  <url
       value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Supply"/>
  <version value="1.0.0"/>
  <name value="au-Supply"/>
  <title value="ADHA Supply (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 Supply class](     https://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-Supply.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/Supply"/>
  <baseDefinition
                  value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="Supply">
      <path value="Supply"/>
      <short
             value="Australian adaptation of the HL7 International CDA Supply 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="Supply.nullFlavor">
      <path value="Supply.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="Supply.realmCode">
      <path value="Supply.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="InfrastructureRoot.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Supply.typeId">
      <path value="Supply.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InfrastructureRoot.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.typeId.nullFlavor">
      <path value="Supply.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="Supply.typeId.assigningAuthorityName">
      <path value="Supply.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="Supply.typeId.displayable">
      <path value="Supply.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="Supply.typeId.root">
      <path value="Supply.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="Supply.typeId.extension">
      <path value="Supply.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>
    </element>
    <element id="Supply.templateId">
      <path value="Supply.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="InfrastructureRoot.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.classCode">
      <path value="Supply.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Supply.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="SPLY"/>
      <fixedCode value="SPLY"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassSupply"/>
      </binding>
    </element>
    <element id="Supply.moodCode">
      <path value="Supply.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Supply.moodCode"/>
        <min value="1"/>
        <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://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0"/>
      </binding>
    </element>
    <element id="Supply.id">
      <path value="Supply.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.code">
      <path value="Supply.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Code"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
      </binding>
    </element>
    <element id="Supply.text">
      <path value="Supply.text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Supply.statusCode">
      <path value="Supply.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.statusCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
      </binding>
    </element>
    <element id="Supply.effectiveTime">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
      </extension>
      <path value="Supply.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.effectiveTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="Supply.priorityCode">
      <path value="Supply.priorityCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.priorityCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
      </binding>
    </element>
    <element id="Supply.repeatNumber">
      <path value="Supply.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.repeatNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT"/>
      </type>
    </element>
    <element id="Supply.independentInd">
      <path value="Supply.independentInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.independentInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="Supply.quantity">
      <path value="Supply.quantity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="Supply.expectedUseTime">
      <path value="Supply.expectedUseTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.expectedUseTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Supply.product">
      <path value="Supply.product"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.product"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
      </type>
    </element>
    <element id="Supply.product.nullFlavor">
      <path value="Supply.product.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="Supply.product.realmCode">
      <path value="Supply.product.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="InfrastructureRoot.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Supply.product.typeId">
      <path value="Supply.product.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InfrastructureRoot.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.product.typeId.nullFlavor">
      <path value="Supply.product.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="Supply.product.typeId.assigningAuthorityName">
      <path value="Supply.product.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="Supply.product.typeId.displayable">
      <path value="Supply.product.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="Supply.product.typeId.root">
      <path value="Supply.product.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="Supply.product.typeId.extension">
      <path value="Supply.product.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>
    </element>
    <element id="Supply.product.templateId">
      <path value="Supply.product.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="InfrastructureRoot.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.product.typeCode">
      <path value="Supply.product.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.product.typeCode"/>
        <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="PRD"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
      </binding>
    </element>
    <element id="Supply.product.manufacturedProduct">
      <path value="Supply.product.manufacturedProduct"/>
      <short value="Australian-adapted ManufacturedProduct class"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Supply.product.manufacturedProduct"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ManufacturedProduct"/>
      </type>
    </element>
    <element id="Supply.subject">
      <path value="Supply.subject"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Subject"/>
      </type>
    </element>
    <element id="Supply.specimen">
      <path value="Supply.specimen"/>
      <short value="Australian-adapted Specimen class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Specimen"/>
      </type>
    </element>
    <element id="Supply.performer">
      <path value="Supply.performer"/>
      <short value="Australian-adapted Performer class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Performer2"/>
      </type>
    </element>
    <element id="Supply.author">
      <path value="Supply.author"/>
      <short value="Australian-adapted Author class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
      </type>
    </element>
    <element id="Supply.informant">
      <path value="Supply.informant"/>
      <short value="Australian-adapted Informant class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
      </type>
    </element>
    <element id="Supply.participant">
      <path value="Supply.participant"/>
      <short value="Australian-adapted Participant2 class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant2"/>
      </type>
    </element>
    <element id="Supply.entryRelationship">
      <path value="Supply.entryRelationship"/>
      <short value="Australian-adapted EntryRelationship class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EntryRelationship"/>
      </type>
    </element>
    <element id="Supply.reference">
      <path value="Supply.reference"/>
      <short value="Australian-adapted Reference class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Reference"/>
      </type>
    </element>
    <element id="Supply.precondition">
      <path value="Supply.precondition"/>
      <short value="Australian-adapted Precondition class"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.precondition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Precondition"/>
      </type>
    </element>
    <element id="Supply.SubjectOf2">
      <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="Supply.SubjectOf2"/>
      <short value="ADHA CDA extension to represent SubjectOf2"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Supply.SubjectOf2"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/subjectOf2"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/subjectOf2"/>
      </type>
    </element>
    <element id="Supply.coverage2">
      <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="Supply.coverage2"/>
      <short
             value="ADHA CDA extension to represent coverage2 for supply's entitlement"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.coverage2"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/coverage2"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/coverage2"/>
      </type>
    </element>
    <element id="Supply.InFulfillmentOf">
      <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="Supply.InFulfillmentOf"/>
      <short value="ADHA CDA extension to represent InFulfillmentOf"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Supply.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>
  </snapshot>
  <differential>
    <element id="Supply">
      <path value="Supply"/>
      <short
             value="Australian adaptation of the HL7 International CDA Supply class"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Supply.classCode">
      <path value="Supply.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="SPLY"/>
      <fixedCode value="SPLY"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassSupply"/>
      </binding>
    </element>
    <element id="Supply.moodCode">
      <path value="Supply.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0"/>
      </binding>
    </element>
    <element id="Supply.id">
      <path value="Supply.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Supply.code">
      <path value="Supply.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Code"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
      </binding>
    </element>
    <element id="Supply.text">
      <path value="Supply.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Supply.statusCode">
      <path value="Supply.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
      </binding>
    </element>
    <element id="Supply.effectiveTime">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
      </extension>
      <path value="Supply.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="Supply.priorityCode">
      <path value="Supply.priorityCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-CE"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
      </binding>
    </element>
    <element id="Supply.repeatNumber">
      <path value="Supply.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT"/>
      </type>
    </element>
    <element id="Supply.independentInd">
      <path value="Supply.independentInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="Supply.quantity">
      <path value="Supply.quantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="Supply.expectedUseTime">
      <path value="Supply.expectedUseTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Supply.product">
      <path value="Supply.product"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
      </type>
    </element>
    <element id="Supply.product.typeCode">
      <path value="Supply.product.typeCode"/>
      <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="PRD"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
      </binding>
    </element>
    <element id="Supply.product.manufacturedProduct">
      <path value="Supply.product.manufacturedProduct"/>
      <short value="Australian-adapted ManufacturedProduct class"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-ManufacturedProduct"/>
      </type>
    </element>
    <element id="Supply.subject">
      <path value="Supply.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Subject"/>
      </type>
    </element>
    <element id="Supply.specimen">
      <path value="Supply.specimen"/>
      <short value="Australian-adapted Specimen class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Specimen"/>
      </type>
    </element>
    <element id="Supply.performer">
      <path value="Supply.performer"/>
      <short value="Australian-adapted Performer class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Performer2"/>
      </type>
    </element>
    <element id="Supply.author">
      <path value="Supply.author"/>
      <short value="Australian-adapted Author class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Author"/>
      </type>
    </element>
    <element id="Supply.informant">
      <path value="Supply.informant"/>
      <short value="Australian-adapted Informant class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Informant"/>
      </type>
    </element>
    <element id="Supply.participant">
      <path value="Supply.participant"/>
      <short value="Australian-adapted Participant2 class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Participant2"/>
      </type>
    </element>
    <element id="Supply.entryRelationship">
      <path value="Supply.entryRelationship"/>
      <short value="Australian-adapted EntryRelationship class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EntryRelationship"/>
      </type>
    </element>
    <element id="Supply.reference">
      <path value="Supply.reference"/>
      <short value="Australian-adapted Reference class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Reference"/>
      </type>
    </element>
    <element id="Supply.precondition">
      <path value="Supply.precondition"/>
      <short value="Australian-adapted Precondition class"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-Precondition"/>
      </type>
    </element>
    <element id="Supply.SubjectOf2">
      <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="Supply.SubjectOf2"/>
      <short value="ADHA CDA extension to represent SubjectOf2"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/subjectOf2"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/subjectOf2"/>
      </type>
    </element>
    <element id="Supply.coverage2">
      <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="Supply.coverage2"/>
      <short
             value="ADHA CDA extension to represent coverage2 for supply's entitlement"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="http://ns.electronichealth.net.au/cda/StructureDefinition/coverage2"/>
        <profile
                 value="http://ns.electronichealth.net.au/cda/StructureDefinition/coverage2"/>
      </type>
    </element>
    <element id="Supply.InFulfillmentOf">
      <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="Supply.InFulfillmentOf"/>
      <short value="ADHA CDA extension to represent InFulfillmentOf"/>
      <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>
  </differential>
</StructureDefinition>