<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/WoundRelatedPain" />
  <name value="WoundRelatedPain" />
  <version value="0.9" />
  <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="This observation contains information about the wound related pain, e.g. its strength." />
  <copyright value="Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück" />
  <fhirVersion value="4.0.1" />
  <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.code">
      <path value="Observation.code" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/Schmerzassessmentskalen" />
      </binding>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
        <targetProfile value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Wound" />
        <targetProfile value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/BodyStructure" />
      </type>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="example" />
        <valueSet value="http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/Wundschmerz" />
      </binding>
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>