<?xml version=“1.0” encoding=“UTF-8”?> <Observation xmlns=“hl7.org/fhir”>

      <id value="satO2"/>
      <meta>
              <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>

  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>
      <identifier>
              <system value="http://goodcare.org/observation/id"/>
              <value value="o1223435-10"/>
      </identifier>
      <partOf>
              <reference value="Procedure/ob"/>
      </partOf>
      <status value="final"/>
      <category>
              <coding>
                      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
                      <code value="vital-signs"/>
                      <display value="Vital Signs"/>
              </coding>
              <text value="Vital Signs"/>
      </category>
      <code>
              <coding>
                      <system value="http://loinc.org"/>
                      <!--   LOINC   -->
                      <code value="2708-6"/>
                      <display value="Oxygen saturation in Arterial blood"/>
              </coding>
              <!--   Example of a translation to a more specific code  to the vitals profile LOINC code   -->
  <coding>
                      <system value="http://loinc.org"/>
                      <!--   LOINC   -->
                      <code value="59408-5"/>
                      <display value="Oxygen saturation in Arterial blood by Pulse oximetry"/>
              </coding>
  <!--   Example of a translation to a more specific code  to the vitals profile LOINC code   -->
  <coding>
                      <system value="urn:iso:std:iso:11073:10101"/>
                      <!--      mdc      -->
                      <code value="150456"/>
                      <display value="MDC_PULS_OXIM_SAT_O2"/>
              </coding>
      </code>
      <subject>
              <reference value="Patient/example"/>
      </subject>
      <effectiveDateTime value="2014-12-05T09:30:10+01:00"/>
      <valueQuantity>
              <value value="95"/>
              <unit value="%"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="%"/>
      </valueQuantity>
      <interpretation>
              <coding>
                      <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
                      <code value="N"/>
                      <display value="Normal"/>
              </coding>
              <text value="Normal (applies to non-numeric results)"/>
      </interpretation>
      <device>
              <reference value="DeviceMetric/example"/>
      </device>
      <referenceRange>
              <low>
                      <value value="90"/>
                      <unit value="%"/>
                      <system value="http://unitsofmeasure.org"/>
                      <code value="%"/>
              </low>
              <high>
                      <value value="99"/>
                      <unit value="%"/>
                      <system value="http://unitsofmeasure.org"/>
                      <code value="%"/>
              </high>
      </referenceRange>

</Observation>