<?xml version="1.0" encoding="UTF-8"?>

<Observation xmlns="http://hl7.org/fhir">
  <id value="f004"/>
  <!--    urn:oid:2.16.840.1.113883.4.642.1.7    -->
  <identifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/zorgportal/identifiers/observations"/>
    <value value="6326"/>
  </identifier>
  <status value="final"/>
  <code>
    <coding>
      <system value="http://loinc.org"/>
      <code value="789-8"/>
      <display value="Erythrocytes [#/volume] in Blood by Automated count"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient/f001"/>
    <display value="P. van de Heuvel"/>
  </subject>
  <effectiveDateTime value="2013-04-02T10:30:10+01:00"/>
  <issued value="2013-04-03T15:30:10+01:00"/>
  <performer>
    <reference value="Practitioner/f005"/>
    <display value="A. Langeveld"/>
  </performer>
  <valueQuantity>
    <value value="4.12"/>
    <!--   Actually, 4.12E+12   -->
    <unit value="10^12/L"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="10*12/L"/>
  </valueQuantity>
  <interpretation>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
      <code value="L"/>
      <display value="Low"/>
    </coding>
  </interpretation>
  <!--  this example demonstrates using the reference range text element for stuff that is not easily structured ! -->
  <referenceRange>
    <text value="12-14 y Male: 4.4 - 5.2  x  10^12/L ; 12-14 y Female: 4.2 - 4.8  x  10^12/L ; 15-17 y Male: 4.6 - 5.4  x  10^12/L ; 15-17 y Female: 4.2 - 4.8  x  10^12/L ; 18-64 y Male: 4.6 - 5.4  x  10^12/L ; 18-64 y Female: 4.0 - 4.8  x  10^12/L ; 65-74 y Male: 4.3 - 5.3  x  10^12/L ; 65-74 y Female: 4.1 - 4.9  x  10^12/L"/>
  </referenceRange>
</Observation>