<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="4410a60f-5ca2-493f-9e6d-b84de3da8594" />
  <meta>
    <lastUpdated value="2019-05-03T12:20:27.5058346+00:00" />
  </meta>
  <url value="http://example.org/fhir/StructureDefinition/MyCondition" />
  <name value="PosiThera Condition Wound Profile" />
  <status value="draft" />
  <date value="2019-05-03T12:20:27.4847065+00:00" />
  <description value="Wound Profile on Condition used in the PosiThera project" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Condition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
  <derivation value="constraint" />
  <differential>
    <element id="Condition.bodySite">
      <path value="Condition.bodySite" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Anatomical location of lower leg" />
      <definition value="The anatomical location where this condition manifests itself. It only allows loctions of lower leg. The ValueSet has been created in accordance to the &quot;Nationaler Konsensus zur Dokumentation des Ulcus Cruris&quot;" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite" />
        </extension>
        <strength value="example" />
        <valueSetReference>
          <reference value="https://sciphy-stats.de/topography-lower-leg" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Condition.bodySite:laterality">
      <path value="Condition.bodySite" />
      <sliceName value="laterality" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Condition.bodySite:laterality.coding.system">
      <path value="Condition.bodySite.coding.system" />
      <fixedUri value="https://sciphy-stats.de/topography-lower-leg" />
      <binding>
        <strength value="example" />
        <valueSetUri value="https://sciphy-stats.de/posithera-laterality" />
      </binding>
    </element>
    <element id="Condition.bodySite:bodySite">
      <path value="Condition.bodySite" />
      <sliceName value="bodySite" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Condition.bodySite:bodySite.coding.system">
      <path value="Condition.bodySite.coding.system" />
      <fixedUri value="https://sciphy-stats.de/topography-lower-leg" />
      <binding>
        <strength value="example" />
        <valueSetReference>
          <reference value="https://sciphy-stats.de/topography-lower-leg" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Condition.onset[x]:onsetDateTime">
      <path value="Condition.onsetDateTime" />
      <sliceName value="onsetDateTime" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
  </differential>
</StructureDefinition>