<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="example-composition" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: example-composition</p>
      <p>
        <b>url</b>: <b>http://hl7.org/fhir/StructureDefinition/example-composition</b></p>
      <p>
        <b>name</b>: DocumentStructure</p>
      <p>
        <b>title</b>: Document Structure (For testing section templates)</p>
      <p>
        <b>status</b>: active</p>
      <p>
        <b>experimental</b>: false</p>
      <p>
        <b>date</b>: 05/11/2018 5:47:00 PM</p>
      <p>
        <b>kind</b>: complex-type</p>
      <p>
        <b>abstract</b>: false</p>
      <p>
        <b>type</b>: <a>Composition</a></p>
      <p>
        <b>baseDefinition</b>: <a>http://hl7.org/fhir/StructureDefinition/Composition</a></p>
      <p>
        <b>derivation</b>: constraint</p>
      <h3>Differentials</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Element</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>todo-bundle</td>
        </tr>
      </table>
    </div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/example-composition" />
  <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" />
  <kind value="complex-type" />
  <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" />
      </type>
    </element>
    <element id="Composition.section:medications">
      <path value="Composition.section" />
      <sliceName value="medications" />
      <min value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="Composition.section:plan">
      <path value="Composition.section" />
      <sliceName value="plan" />
      <min value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
  </differential>
</StructureDefinition>