<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="7407b13c-8a82-47cb-a6b9-649da5348cb1" />
  <meta>
    <lastUpdated value="2022-03-08T09:26:31.994+00:00" />
  </meta>
  <url value="https://fhir.cambio.se/StructureDefinition/ObservationRespiratoryRateLite/v1" />
  <version value="1.1.0" />
  <name value="ObservationRespiratoryRateLite" />
  <status value="active" />
  <date value="2021-11-18T09:04:07.1443925+00:00" />
  <description value="Cambio Lite profile for communicating the vital parameter, respiratory rate, between an external system and COSMIC. The respiratory rate profile includes the value of the respiratory rate, contextuel data and meta data." />
  <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="https://fhir.cambio.se/StructureDefinition/ObservationRespiratoryRateCore/v1" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.meta">
      <path value="Observation.meta" />
      <min value="1" />
    </element>
    <element id="Observation.meta.source">
      <path value="Observation.meta.source" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.meta.profile">
      <path value="Observation.meta.profile" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.identifier.use">
      <path value="Observation.identifier.use" />
      <max value="0" />
    </element>
    <element id="Observation.identifier.type">
      <path value="Observation.identifier.type" />
      <max value="0" />
    </element>
    <element id="Observation.identifier.system">
      <path value="Observation.identifier.system" />
      <min value="1" />
    </element>
    <element id="Observation.identifier.value">
      <path value="Observation.identifier.value" />
      <min value="1" />
    </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.partOf">
      <path value="Observation.partOf" />
      <max value="0" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="preliminary | final | entered-in-error | cancelled" />
      <definition value="The status of th result value. &#xD;&#xA;FHIR - Cambio&#xD;&#xA;preliminary -&gt; unsigned&#xA;final -&gt; signed and completednonSignable&#xA;amended -&gt; not supported&#xA;entered in error -&gt; invalidated&#xA;cancelled -&gt; removed" />
      <binding>
        <strength value="required" />
        <description value="Subset of  codes providing the status of an observation." />
        <valueSet value="https://cambio.codes/fhir/vs/vital-sign-status/v1" />
      </binding>
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <max value="2" />
    </element>
    <element id="Observation.encounter.identifier.system">
      <path value="Observation.encounter.identifier.system" />
      <min value="1" />
    </element>
    <element id="Observation.encounter.identifier.value">
      <path value="Observation.encounter.identifier.value" />
      <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="2" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.performer:organization">
      <path value="Observation.performer" />
      <sliceName value="organization" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://commonprofiles.care/StructureDefinition/OrganizationSEVendorLite/v1" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.value[x]" />
      <sliceName value="valueQuantity" />
      <min value="1" />
    </element>
    <element id="Observation.value[x]:valueQuantity.value">
      <path value="Observation.value[x].value" />
      <definition value="The value of the measured amount. The value of the respiratory rate must be within the range of 0.0.. &lt; 200.0." />
      <minValueDecimal value="0" />
      <maxValueDecimal value="199.9" />
    </element>
    <element id="Observation.value[x]:valueQuantity.unit">
      <path value="Observation.value[x].unit" />
      <fixedString value="/min" />
    </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.note">
      <path value="Observation.note" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <max value="0" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <max value="0" />
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <max value="0" />
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>