<?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="r1">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="718-7" />
          <display value="Haemoglobin" />
        </coding>
      </name>
      <valueQuantity>
        <value value="176" />
        <units value="g/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="g/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="135" />
          <units value="g/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="g/L" />
        </low>
        <high>
          <value value="180" />
          <units value="g/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="g/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r2">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="789-8" />
          <display value="Red Cell Count" />
        </coding>
      </name>
      <valueQuantity>
        <value value="5.9" />
        <units value="x10*12/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*12/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="4.2" />
          <units value="x10*12/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*12/L" />
        </low>
        <high>
          <value value="6.0" />
          <units value="x10*12/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*12/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r3">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="4544-3" />
          <display value="Haematocrit" />
        </coding>
      </name>
      <valueQuantity>
        <value value="55" />
        <units value="%" />
      </valueQuantity>
      <interpretation>
        <coding>
          <system value="http://hl7.org/fhir/v2/0078" />
          <code value="H" />
        </coding>
      </interpretation>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="38" />
          <units value="%" />
        </low>
        <high>
          <value value="52" />
          <units value="%" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r4">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="787-2" />
          <display value="Mean Cell Volume" />
        </coding>
      </name>
      <valueQuantity>
        <value value="99" />
        <units 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>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="80" />
          <units value="fL" />
          <system value="http://unitsofmeasure.org" />
          <code value="fL" />
        </low>
        <high>
          <value value="98" />
          <units value="fL" />
          <system value="http://unitsofmeasure.org" />
          <code value="fL" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r5">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="785-6" />
          <display value="Mean Cell Haemoglobin" />
        </coding>
      </name>
      <valueQuantity>
        <value value="36" />
        <units 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>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="27" />
          <units value="pg" />
          <system value="http://unitsofmeasure.org" />
          <code value="pg" />
        </low>
        <high>
          <value value="35" />
          <units value="pg" />
          <system value="http://unitsofmeasure.org" />
          <code value="pg" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r6">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="777-3" />
          <display value="Platelet Count" />
        </coding>
      </name>
      <valueQuantity>
        <value value="444" />
        <units value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="150" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="450" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r7">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="6690-2" />
          <display value="White Cell Count" />
        </coding>
      </name>
      <valueQuantity>
        <value value="4.6" />
        <units value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="4.0" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="11.0" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r8">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="770-8" />
          <display value="Neutrophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="20" />
        <units value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
    </Observation>
  </contained>
  <contained>
    <Observation id="r9">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="751-8" />
          <display value="Neutrophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="0.9" />
        <units 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>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="2.0" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="7.5" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r10">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="736-9" />
          <display value="Lymphocytes" />
        </coding>
      </name>
      <valueQuantity>
        <value value="20" />
        <units value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
    </Observation>
  </contained>
  <contained>
    <Observation id="r11">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="731-0" />
          <display value="Lymphocytes" />
        </coding>
      </name>
      <valueQuantity>
        <value value="0.9" />
        <units 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>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="1.1" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="4.0" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r12">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="5905-5" />
          <display value="Monocytes" />
        </coding>
      </name>
      <valueQuantity>
        <value value="20" />
        <units value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
    </Observation>
  </contained>
  <contained>
    <Observation id="r13">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="742-7" />
          <display value="Monocytes" />
        </coding>
      </name>
      <valueQuantity>
        <value value="0.9" />
        <units value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="0.2" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="1.0" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r14">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="713-8" />
          <display value="Eosinophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="20" />
        <units value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
    </Observation>
  </contained>
  <contained>
    <Observation id="r15">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="711-2" />
          <display value="Eosinophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="0.92" />
        <units 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>
      <status value="final" />
      <reliability value="ok" />
      <referenceRange>
        <low>
          <value value="0.04" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </low>
        <high>
          <value value="0.40" />
          <units value="x10*9/L" />
          <system value="http://unitsofmeasure.org" />
          <code value="10*9/L" />
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <contained>
    <Observation id="r16">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="706-2" />
          <display value="Basophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="20" />
        <units value="%" />
        <system value="http://unitsofmeasure.org" />
        <code value="%" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
    </Observation>
  </contained>
  <contained>
    <Observation id="r17">
      <text>
        <status value="empty" />
        <div xmlns="http://www.w3.org/1999/xhtml" />
      </text>
      <name>
        <coding>
          <system value="http://loinc.org" />
          <code value="704-7" />
          <display value="Basophils" />
        </coding>
      </name>
      <valueQuantity>
        <value value="0.92" />
        <units value="x10*9/L" />
        <system value="http://unitsofmeasure.org" />
        <code value="10*9/L" />
      </valueQuantity>
      <status value="final" />
      <reliability value="ok" />
      <!--referenceRange>
            <rangeQuantity>
              <value value="0.21"/>
              <comparator value="&lt;"/>
              <units value="x10*9/L"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="10*9/L"/>
            </rangeQuantity>
          </referenceRange-->
    </Observation>
  </contained>
  <name>
    <coding>
      <system value="http://loinc.org" />
      <code value="15430-2" />
      <display value="FULL BLOOD EXAMINATION" />
    </coding>
  </name>
  <!--  first, various administrative/context stuff  -->
  <status value="final" />
  <!--  all this report is final  -->
  <issued value="2011-03-04T11:45:33+11:00" />
  <subject>
    <reference value="patient/@pat2" />
  </subject>
  <performer>
    <reference value="organization/@1832473e-2fe0-452d-abe9-3cdb9879522f" />
    <display value="Acme Laboratory, Inc" />
  </performer>
  <identifier>
    <system value="http://acme.com/lab/reports" />
    <value value="1" />
  </identifier>
  <serviceCategory>
    <coding>
      <system value="http://hl7.org/fhir/v2/0074" />
      <code value="HM" />
    </coding>
  </serviceCategory>
  <diagnosticDateTime value="2011-03-04T08:30:00+11:00" />
  <!--  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>