<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://apiframework.dedalus.eu/fhir/StructureDefinition/Observation-ForLIS" />
  <name value="Observation-ForLIS" />
  <status value="draft" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://apiframework.dedalus.eu/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.category.coding">
      <path value="Observation.category.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.category.coding.system">
      <path value="Observation.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/ValueSet/observation-category" />
    </element>
    <element id="Observation.category.coding.code">
      <path value="Observation.category.coding.code" />
      <min value="1" />
      <fixedCode value="laboratory" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Attachment" />
        <profile value="http://apiframework.dedalus.eu/fhir/StructureDefinition/Attachment" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.component.extension">
      <path value="Observation.component.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component.extension:qualifier">
      <path value="Observation.component.extension" />
      <sliceName value="qualifier" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://apiframework.dedalus.eu/fhir/StructureDefinition/extension-observationComponentQualifier" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSetUri value="http://apiframework.dedalus.eu/fhir/ValueSet/ObservationComponentQualifier" />
      </binding>
    </element>
    <element id="Observation.component.extension:qualifier.valueCoding:valueCoding">
      <path value="Observation.component.extension.valueCoding" />
      <sliceName value="valueCoding" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.component.extension:qualifier.valueCoding:valueCoding.system">
      <path value="Observation.component.extension.valueCoding.system" />
      <min value="1" />
    </element>
    <element id="Observation.component.extension:qualifier.valueCoding:valueCoding.code">
      <path value="Observation.component.extension.valueCoding.code" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>