<StructureDefinition xmlns="http://hl7.org/fhir">
  <language value="English" />
  <url value="http://cds.cambio.se/fhir/stu3/StructureDefinition/CambioCDS-Observation-basic" />
  <version value="1" />
  <name value="Cambio CDS Observation" />
  <title value="Cambio CDS Observation Profile" />
  <status value="draft" />
  <date value="2017-11-02T15:18:53.948+01:00" />
  <contact>
    <telecom>
      <system value="email" />
      <value value="fhir@cambio.se" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A base Observation representing a laboratory test result used by Cambio CDS Services." />
  <purpose value="An Observation representing a laboratory analysis result used by Cambio CDS Services. To be used for evaluating clinical decision support rules. This profile will be further constrained to match the specific requirements of specific CDS Services." />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.identifier">
      <path value="Observation.identifier" />
      <max value="1" />
    </element>
    <element id="Observation.identifier.use">
      <path value="Observation.identifier.use" />
      <max value="0" />
    </element>
    <element id="Observation.identifier.period">
      <path value="Observation.identifier.period" />
      <max value="0" />
    </element>
    <element id="Observation.identifier.assigner">
      <path value="Observation.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <max value="0" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <max value="0" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCategory" />
        </extension>
        <strength value="preferred" />
        <valueSetUri value="http://hl7.org/fhir/ValueSet/observation-category" />
      </binding>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <max value="0" />
    </element>
    <element id="Observation.context">
      <path value="Observation.context" />
      <max value="0" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <min value="1" />
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <max value="0" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <max value="0" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.comment">
      <path value="Observation.comment" />
      <max value="0" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <max value="0" />
    </element>
    <element id="Observation.related">
      <path value="Observation.related" />
      <max value="1" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>