<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/BodyStructure" />
  <version value="0.9" />
  <name value="BodyStructure" />
  <status value="draft" />
  <publisher value="Hochschule Osnabrück" />
  <contact>
    <name value="Mareike Przysucha" />
    <telecom>
      <system value="email" />
      <value value="ewundbericht@hs-osnabrueck.de" />
      <use value="work" />
    </telecom>
    <telecom>
      <system value="phone" />
      <value value="+49 541 969 3354" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Profile for the body structure where the wound is located." />
  <copyright value="Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="BodyStructure" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/BodyStructure" />
  <derivation value="constraint" />
  <differential>
    <element id="BodyStructure.location">
      <path value="BodyStructure.location" />
      <mustSupport value="true" />
    </element>
    <element id="BodyStructure.location.coding">
      <path value="BodyStructure.location.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <mustSupport value="false" />
    </element>
    <element id="BodyStructure.location.coding:snomed-ct">
      <path value="BodyStructure.location.coding" />
      <sliceName value="snomed-ct" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/LowerLegBodyStructure" />
      </binding>
    </element>
    <element id="BodyStructure.locationQualifier">
      <path value="BodyStructure.locationQualifier" />
      <mustSupport value="true" />
    </element>
    <element id="BodyStructure.locationQualifier.coding">
      <path value="BodyStructure.locationQualifier.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <mustSupport value="false" />
    </element>
    <element id="BodyStructure.locationQualifier.coding:snomed-ct">
      <path value="BodyStructure.locationQualifier.coding" />
      <sliceName value="snomed-ct" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/Laterality" />
      </binding>
    </element>
    <element id="BodyStructure.patient">
      <path value="BodyStructure.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Patient" />
      </type>
    </element>
  </differential>
</StructureDefinition>