<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IRD-Disease-Observation" />
  <url value="https://health.linova.de/fhir/v1/IRD/Disease_Observation" />
  <version value="1.0.0" />
  <name value="IRD_Disease_Observation" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="specialization" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <definition value="An disease observation describes the Patient's disease which leads to the treatment" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <min value="0" />
      <max value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="https://health.linova.de/CodeSystem/Observations" />
          <code value="DISEASE" />
          <display value="Disease" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <definition value="The description of the disease" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <definition value="Patient the disease is based on." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/Patient" />
      </type>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <definition value="Practitioner who was responsible for the disease observation" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/PractitionerRole" />
      </type>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <definition value="Date and time when the disease has happened / occured first" />
    </element>
  </differential>
</StructureDefinition>