<?xml version="1.0" encoding="UTF-8"?><StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="example-composition"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/example-composition"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.5.1040"/>
  </identifier>
  <name value="DocumentStructure"/>
  <title value="Document Structure (For testing section templates)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2018-11-05T17:47:00+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="Document Structure (For testing section templates)"/>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="Composition"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition"/>
  <derivation value="constraint"/>
  <differential>
    <element id="Composition">
      <path value="Composition"/>
    </element>
    <element id="Composition.section">
      <path value="Composition.section"/>
      <slicing>
        <discriminator>
          <type value="pattern"/>
          <path value="code"/>
        </discriminator>
        <description value="Slice by .section.code"/>
        <ordered value="true"/>
        <rules value="closed"/>
      </slicing>
    </element>
    <element id="Composition.section:procedure">
      <path value="Composition.section"/>
      <sliceName value="procedure"/>
      <min value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/example-section-library">
          <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element">
            <valueString value="Composition.section:procedure"/>
          </extension>
        </profile>
      </type>
    </element>
    <element id="Composition.section:medications">
      <path value="Composition.section"/>
      <sliceName value="medications"/>
      <min value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/example-section-library">
          <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element">
            <valueString value="Composition.section:medications"/>
          </extension>
        </profile>
      </type>
    </element>
    <element id="Composition.section:plan">
      <path value="Composition.section"/>
      <sliceName value="plan"/>
      <min value="0"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/example-section-library">
          <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element">
            <valueString value="Composition.section:plan"/>
          </extension>
        </profile>
      </type>
    </element>
  </differential>
</StructureDefinition>