Consolidated CDA Release 2.2
2.2 - CI Build United States of America flag

Consolidated CDA Release 2.2, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.2). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.2/ and changes regularly. See the Directory of published versions

Resource Profile: ProcedureContext - XML Profile

Active as of 2022-05-13

XML representation of the 2.16.840.1.113883.10.20.6.2.5 resource profile.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="2.16.840.1.113883.10.20.6.2.5"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act">Act</a><a name="Act"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (81-9199)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Act.html">CDAR2.Act</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">81-9199: </span>Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.classCode">classCode</a><a name="Act.classCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">ACT</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.moodCode">moodCode</a><a name="Act.moodCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">EVN</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId">Slices for templateId</a><a name="Act.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:root</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId:primary" title="Slice primary">templateId:primary</a><a name="Act.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId:primary.root">root</a><a name="Act.templateId.root"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.10.20.6.2.5</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.code">code</a><a name="Act.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.effectiveTime">effectiveTime</a><a name="Act.effectiveTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.effectiveTime.value">value</a><a name="Act.effectiveTime.value"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.6.2.5"/>
  <identifier>
    <value value="urn:oid:2.16.840.1.113883.10.20.6.2.5"/>
  </identifier>
  <version value="2.2"/>
  <name value="ProcedureContext"/>
  <title value="Procedure Context"/>
  <status value="active"/>
  <date value="2022-05-13T15:50:12+00:00"/>
  <publisher value="Health Level Seven"/>
  <contact>
    <name value="HL7 International - Structured Documents"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/structure"/>
    </telecom>
  </contact>
  <description
               value="The ServiceEvent Procedure Context of the document header may be overridden in the CDA structured body if there is a need to refer to multiple imaging procedures or acts. The selection of the Procedure or Act entry from the clinical statement choice box depends on the nature of the imaging service that has been performed. The Procedure entry shall be used for image-guided interventions and minimally invasive imaging services, whereas the Act entry shall be used for diagnostic imaging services."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1"/>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="Act"/>
  <baseDefinition value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="Act">
      <path value="Act"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="81-9199"/>
        <severity value="warning"/>
        <human
               value="Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199)."/>
      </constraint>
      <isModifier value="false"/>
    </element>
    <element id="Act.classCode">
      <path value="Act.classCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @classCode=&quot;ACT&quot; (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:81-26452)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="ACT"/>
    </element>
    <element id="Act.moodCode">
      <path value="Act.moodCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @moodCode=&quot;EVN&quot; (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:81-26453)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.moodCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="EVN"/>
    </element>
    <element id="Act.realmCode">
      <path value="Act.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Act.typeId">
      <path value="Act.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Act.templateId">
      <path value="Act.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <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="Act.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Act.templateId:primary">
      <path value="Act.templateId"/>
      <sliceName value="primary"/>
      <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"/>
      <requirements
                    value="SHALL contain exactly one [1..1] templateId (CONF:81-9200) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Act.templateId:primary.nullFlavor">
      <path value="Act.templateId.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Act.templateId:primary.assigningAuthorityName">
      <path value="Act.templateId.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"/>
      </type>
    </element>
    <element id="Act.templateId:primary.displayable">
      <path value="Act.templateId.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"/>
      </type>
    </element>
    <element id="Act.templateId:primary.root">
      <path value="Act.templateId.root"/>
      <representation value="xmlAttr"/>
      <label value="Root"/>
      <definition
                  value="A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier."/>
      <requirements
                    value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.6.2.5&quot; (CONF:81-10530)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.root"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <patternString value="2.16.840.1.113883.10.20.6.2.5"/>
    </element>
    <element id="Act.templateId:primary.extension">
      <path value="Act.templateId.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="0"/>
      <max value="1"/>
      <base>
        <path value="II.extension"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Act.id">
      <path value="Act.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Act.code">
      <path value="Act.code"/>
      <requirements
                    value="SHALL contain exactly one [1..1] code (CONF:81-9201)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
      </binding>
    </element>
    <element id="Act.negationInd">
      <path value="Act.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Act.text">
      <path value="Act.text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Act.statusCode">
      <path value="Act.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.statusCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
      </binding>
    </element>
    <element id="Act.effectiveTime">
      <path value="Act.effectiveTime"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] effectiveTime (CONF:81-9203)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.effectiveTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Act.effectiveTime.nullFlavor">
      <path value="Act.effectiveTime.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Act.effectiveTime.value">
      <extension
                 url="http://www.healthintersections.com.au/fhir/StructureDefinition/elementdefinition-dateformat">
        <valueString value="v3"/>
      </extension>
      <path value="Act.effectiveTime.value"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression."/>
      <requirements
                    value="The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-17173)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TS.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="Act.effectiveTime.inclusive">
      <path value="Act.effectiveTime.inclusive"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies whether the limit is included in the interval (interval is closed) or excluded from the interval (interval is open)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TS.inclusive"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Act.effectiveTime.operator">
      <path value="Act.effectiveTime.operator"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SXCM_TS.operator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="Act.effectiveTime.low">
      <path value="Act.effectiveTime.low"/>
      <label value="Low Boundary"/>
      <definition value="This is the low limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.low"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="Act.effectiveTime.high">
      <path value="Act.effectiveTime.high"/>
      <label value="High Boundary"/>
      <definition value="This is the high limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.high"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="Act.effectiveTime.width">
      <path value="Act.effectiveTime.width"/>
      <label value="Width"/>
      <definition
                  value="The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.width"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="Act.effectiveTime.center">
      <path value="Act.effectiveTime.center"/>
      <label value="Central Value"/>
      <definition
                  value="The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.center"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="Act.priorityCode">
      <path value="Act.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.priorityCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
      </binding>
    </element>
    <element id="Act.languageCode">
      <path value="Act.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.languageCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-HumanLanguage"/>
      </binding>
    </element>
    <element id="Act.subject">
      <path value="Act.subject"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="Act.subject.typeCode">
      <path value="Act.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.subject.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
      </binding>
    </element>
    <element id="Act.subject.contextControlCode">
      <path value="Act.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.subject.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="Act.subject.awarenessCode">
      <path value="Act.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.subject.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="Act.subject.relatedSubject">
      <path value="Act.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.subject.relatedSubject"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
      </type>
    </element>
    <element id="Act.specimen">
      <path value="Act.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Specimen"/>
      </type>
    </element>
    <element id="Act.performer">
      <path value="Act.performer"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Performer2"/>
      </type>
    </element>
    <element id="Act.author">
      <path value="Act.author"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
      </type>
    </element>
    <element id="Act.informant">
      <path value="Act.informant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="Act.informant.typeCode">
      <path value="Act.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.informant.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
      </binding>
    </element>
    <element id="Act.informant.contextControlCode">
      <path value="Act.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.informant.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="Act.informant.assignedEntity">
      <path value="Act.informant.assignedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.informant.assignedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="Act.informant.relatedEntity">
      <path value="Act.informant.relatedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.informant.relatedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="Act.participant">
      <path value="Act.participant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="Act.entryRelationship">
      <path value="Act.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="act-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </constraint>
    </element>
    <element id="Act.entryRelationship.typeCode">
      <path value="Act.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="Act.entryRelationship.inversionInd">
      <path value="Act.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Act.entryRelationship.contextConductionInd">
      <path value="Act.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element id="Act.entryRelationship.sequenceNumber">
      <path value="Act.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="Act.entryRelationship.negationInd">
      <path value="Act.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Act.entryRelationship.seperatableInd">
      <path value="Act.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="Act.entryRelationship.observation">
      <path value="Act.entryRelationship.observation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element id="Act.entryRelationship.regionOfInterest">
      <path value="Act.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element id="Act.entryRelationship.observationMedia">
      <path value="Act.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element id="Act.entryRelationship.substanceAdministration">
      <path value="Act.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="Act.entryRelationship.supply">
      <path value="Act.entryRelationship.supply"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="Act.entryRelationship.procedure">
      <path value="Act.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="Act.entryRelationship.encounter">
      <path value="Act.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="Act.entryRelationship.organizer">
      <path value="Act.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="Act.entryRelationship.act">
      <path value="Act.entryRelationship.act"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="Act.reference">
      <path value="Act.reference"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="Act.reference.typeCode">
      <path value="Act.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="Act.reference.seperatableInd">
      <path value="Act.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="Act.reference.externalAct">
      <path value="Act.reference.externalAct"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.externalAct"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
      </type>
    </element>
    <element id="Act.reference.externalObservation">
      <path value="Act.reference.externalObservation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.externalObservation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
      </type>
    </element>
    <element id="Act.reference.externalProcedure">
      <path value="Act.reference.externalProcedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.externalProcedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
      </type>
    </element>
    <element id="Act.reference.externalDocument">
      <path value="Act.reference.externalDocument"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Act.reference.externalDocument"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
      </type>
    </element>
    <element id="Act.precondition">
      <path value="Act.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Act.precondition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Precondition"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="Act">
      <path value="Act"/>
      <constraint>
        <key value="81-9199"/>
        <severity value="warning"/>
        <human
               value="Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199)."/>
      </constraint>
    </element>
    <element id="Act.classCode">
      <path value="Act.classCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @classCode=&quot;ACT&quot; (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:81-26452)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="ACT"/>
    </element>
    <element id="Act.moodCode">
      <path value="Act.moodCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @moodCode=&quot;EVN&quot; (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:81-26453)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="EVN"/>
    </element>
    <element id="Act.templateId">
      <path value="Act.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="Act.templateId:primary">
      <path value="Act.templateId"/>
      <sliceName value="primary"/>
      <requirements
                    value="SHALL contain exactly one [1..1] templateId (CONF:81-9200) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Act.templateId:primary.root">
      <path value="Act.templateId.root"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.6.2.5&quot; (CONF:81-10530)."/>
      <min value="1"/>
      <max value="1"/>
      <patternString value="2.16.840.1.113883.10.20.6.2.5"/>
    </element>
    <element id="Act.code">
      <path value="Act.code"/>
      <requirements
                    value="SHALL contain exactly one [1..1] code (CONF:81-9201)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Act.effectiveTime">
      <path value="Act.effectiveTime"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] effectiveTime (CONF:81-9203)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="Act.effectiveTime.value">
      <path value="Act.effectiveTime.value"/>
      <requirements
                    value="The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-17173)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
  </differential>
</StructureDefinition>