<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://posithera.de/fhir/StructureDefinition/CDSReducedWalkingDistanceSeqToSwollenLegs" />
  <name value="CDSReducedWalkingDistanceSeqToSwollenLegs" />
  <status value="draft" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.org/attributebinding" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.extension">
      <path value="Observation.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.extension:sequelTo">
      <path value="Observation.extension" />
      <sliceName value="sequelTo" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/observation-sequelTo" />
      </type>
    </element>
    <element id="Observation.extension:sequelTo.value[x]">
      <path value="Observation.extension.value[x]" />
      <type>
        <code value="Reference" />
      </type>
    </element>
    <element id="Observation.extension:sequelTo.value[x]:valueReference">
      <path value="Observation.extension.valueReference" />
      <sliceName value="valueReference" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://posithera.de/fhir/StructureDefinition/CDSSwollenLegs" />
      </type>
    </element>
    <element id="Observation.category.coding.system">
      <path value="Observation.category.coding.system" />
      <fixedUri value="http://hl7.org/fhir/ValueSet/observation-category" />
    </element>
    <element id="Observation.category.coding.code">
      <path value="Observation.category.coding.code" />
      <fixedCode value="exam" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.code:NKDUC">
      <path value="Observation.code" />
      <sliceName value="NKDUC" />
    </element>
    <element id="Observation.code:NKDUC.coding.system">
      <path value="Observation.code.coding.system" />
      <fixedUri value="https://posithera.de/fhir/codeSystem/NKDUC" />
    </element>
    <element id="Observation.code:NKDUC.coding.code">
      <path value="Observation.code.coding.code" />
      <fixedCode value="C0501" />
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
        <targetProfile value="https://posithera.de/fhir/StructureDefinition/Wound" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <max value="0" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>