<?xml version="1.0" encoding="utf-8"?>
<DiagnosticReport xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h3>CBC Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2011 11:45</h3>
      <!--  you could use an html table here, but laboratories are still 
     using fixed text tables, and this will take decades to change...  -->
      <pre>
Test                  Units       Value       Reference Range
Haemoglobin           g/L         176         135 - 180
Red Cell Count        x10*12/L    5.9         4.2 - 6.0
Haematocrit                       0.55+       0.38 - 0.52
Mean Cell Volume      fL          99+         80 - 98
Mean Cell Haemoglobin pg          36+         27 - 35
Platelet Count        x10*9/L     444         150 - 450
White Cell Count      x10*9/L     4.6         4.0 - 11.0
Neutrophils           %           20 
Neutrophils           x10*9/L     0.9---      2.0 - 7.5
Lymphocytes           %           20  
Lymphocytes           x10*9/L     0.9-        1.1 - 4.0
Monocytes             %           20 
Monocytes             x10*9/L     0.9         0.2 - 1.0
Eosinophils           %           20 
Eosinophils           x10*9/L     0.92++      0.04 - 0.40
Basophils             %           20 
Basophils             x10*9/L     0.92+++     &lt;0.21</pre>
      <p>Acme Laboratory, Inc signed: Dr Pete Pathologist</p>
    </div>
  </text>
  <contained>
    <!--  
    	  all the data items (= Observations) are contained 
    	  in this diagnostic report. It would be equally 
          valid - and normal - for them to be separate trackable
          items. However for the purposes of this example, it's
    	  more convenient to have them here. For more discussion,
    	  see under "Contained Resources" on the Resource Definitions
    	  topic page  -->
    <!--  for users steeped in v2, each observation roughly corresponds with an 
    	    OBX, and the Diagnostic Report with an ORU_R01 message  -->
    <Observation>
      <id value="r1" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="718-7" />
          <display value="Haemoglobin" />
        </coding>
      </code>
      <valueQuantity>
        <value value="176" />
        <unit value="g/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="g/L" />
      </valueQuantity>
      <!--status value="final" /-->
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="135" />
          <unit value="g/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="g/L" />
        </low>
        <high>
          <value value="180" />
          <unit value="g/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="g/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r2" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="789-8" />
          <display value="Red Cell Count" />
        </coding>
      </code>
      <valueQuantity>
        <value value="5.9" />
        <unit value="x10*12/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*12/L" />
      </valueQuantity>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="4.2" />
          <unit value="x10*12/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*12/L" />
        </low>
        <high>
          <value value="6.0" />
          <unit value="x10*12/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*12/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r3" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="4544-3" />
          <display value="Haematocrit" />
        </coding>
      </code>
      <valueQuantity>
        <value value="55" />
        <unit value="%" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="H" />
        </coding>
      </interpretation>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="38" />
          <unit value="%" />
        </low>
        <high>
          <value value="52" />
          <unit value="%" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r4" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="787-2" />
          <display value="Mean Cell Volume" />
        </coding>
      </code>
      <valueQuantity>
        <value value="99" />
        <unit value="fL" />
        <system value="http://unitsofmeasure.org" />
        <code value="fL" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="H" />
        </coding>
      </interpretation>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="80" />
          <unit value="fL" />
          <system value="http://unitsofmeasure.org" />
          <code value="fL" />
        </low>
        <high>
          <value value="98" />
          <unit value="fL" />
          <system value="http://unitsofmeasure.org" />
          <code value="fL" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r5" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="785-6" />
          <display value="Mean Cell Haemoglobin" />
        </coding>
      </code>
      <valueQuantity>
        <value value="36" />
        <unit value="pg" />
        <system value="http://unitsofmeasure.org" />
        <code value="pg" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="H" />
        </coding>
      </interpretation>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="27" />
          <unit value="pg" />
          <system value="http://unitsofmeasure.org" />
          <code value="pg" />
        </low>
        <high>
          <value value="35" />
          <unit value="pg" />
          <system value="http://unitsofmeasure.org" />
          <code value="pg" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r6" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="777-3" />
          <display value="Platelet Count" />
        </coding>
      </code>
      <valueQuantity>
        <value value="444" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="150" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="450" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r7" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="6690-2" />
          <display value="White Cell Count" />
        </coding>
      </code>
      <valueQuantity>
        <value value="4.6" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <!--reliability value="ok" /-->
      <referenceRange>
        <low>
          <value value="4.0" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="11.0" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r8" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="770-8" />
          <display value="Neutrophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="20" />
        <unit value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r9" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="751-8" />
          <display value="Neutrophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="0.9" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="LL" />
        </coding>
      </interpretation>
      <referenceRange>
        <low>
          <value value="2.0" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="7.5" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r10" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="736-9" />
          <display value="Lymphocytes" />
        </coding>
      </code>
      <valueQuantity>
        <value value="20" />
        <unit value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r11" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="731-0" />
          <display value="Lymphocytes" />
        </coding>
      </code>
      <valueQuantity>
        <value value="0.9" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="L" />
        </coding>
      </interpretation>
      <referenceRange>
        <low>
          <value value="1.1" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="4.0" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r12" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="5905-5" />
          <display value="Monocytes" />
        </coding>
      </code>
      <valueQuantity>
        <value value="20" />
        <unit value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r13" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="742-7" />
          <display value="Monocytes" />
        </coding>
      </code>
      <valueQuantity>
        <value value="0.9" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <referenceRange>
        <low>
          <value value="0.2" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="1.0" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r14" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="713-8" />
          <display value="Eosinophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="20" />
        <unit value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r15" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="711-2" />
          <display value="Eosinophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="0.92" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="HH" />
        </coding>
      </interpretation>
      <referenceRange>
        <low>
          <value value="0.04" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="0.40" />
          <unit value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r16" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="706-2" />
          <display value="Basophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="20" />
        <unit value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
    </Observation>
  </contained>
  <contained>
    <Observation>
      <id value="r17" />
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="704-7" />
          <display value="Basophils" />
        </coding>
      </code>
      <valueQuantity>
        <value value="0.92" />
        <unit value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <!--referenceRange>
            <rangeQuantity>
              <value value="0.21"/>
              <comparator value="&lt;"/>
              <unit value="x10*9/L"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="10*9/L"/>
            </rangeQuantity>
          </referenceRange-->
    </Observation>
  </contained>
  <!--  first, various administrative/context stuff  -->
  <identifier>
    <system value="http://acme.com/lab/reports" />
    <value value="1" />
  </identifier>
  <status value="final" />
  <category>
    <coding>
      <system value="http://hl7.org/fhir/v2/0074" />
      <code value="HM" />
    </coding>
  </category>
  <code>
    <coding>
      <system value="http://loinc.org" />
      <code value="15430-2" />
      <display value="FULL BLOOD EXAMINATION" />
    </coding>
  </code>
  <subject>
    <reference value="Patient/2" />
  </subject>
  <effectiveDateTime value="2011-03-04T08:30:00+11:00" />
  <issued value="2011-03-04T11:45:33+11:00" />
  <performer>
    <reference value="Organization/10" />
    <display value="Acme Laboratory, Inc" />
  </performer>
  <!--  now the atomic results  -->
  <result>
    <reference value="#r1" />
  </result>
  <result>
    <reference value="#r2" />
  </result>
  <result>
    <reference value="#r3" />
  </result>
  <result>
    <reference value="#r4" />
  </result>
  <result>
    <reference value="#r5" />
  </result>
  <result>
    <reference value="#r6" />
  </result>
  <result>
    <reference value="#r7" />
  </result>
  <result>
    <reference value="#r8" />
  </result>
  <result>
    <reference value="#r9" />
  </result>
  <result>
    <reference value="#r10" />
  </result>
  <result>
    <reference value="#r11" />
  </result>
  <result>
    <reference value="#r12" />
  </result>
  <result>
    <reference value="#r13" />
  </result>
  <result>
    <reference value="#r14" />
  </result>
  <result>
    <reference value="#r15" />
  </result>
  <result>
    <reference value="#r16" />
  </result>
  <result>
    <reference value="#r17" />
  </result>
  <!--  finally, here's a pdf representation of the same report. 
        A consuming application could choose to display either the 
    	html version above, or the pdf version - they both need to convey the
    	same information  -->
  <presentedForm>
    <contentType value="application/pdf" />
    <language value="en-AU" />
    <data value="" />
    <title value="HTML Report" />
  </presentedForm>
</DiagnosticReport>