<?xml version="1.0" encoding="UTF-8"?>
<DiagnosticReport xmlns="http://hl7.org/fhir"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://hl7.org/fhir ./fhir-single.xsd">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"> &#x0A;      &#x0A;      
      <h3>CBC Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2011 11:45</h3>            &#x0A;&#x0A;      
      <!--  you could use ab html table here, but laboratories are still 
 using fixed text tables, and this will take decades to change...  -->&#x0A;            &#x0A;      
      <pre>&#x0A;Test                  Units       Value       Reference Range&#x0A;Haemoglobin           g/L         176         135 - 180&#x0A;Red Cell Count        x10*12/L    5.9         4.2 - 6.0&#x0A;Haematocrit                       0.55+       0.38 - 0.52&#x0A;Mean Cell Volume      fL          99+         80 - 98&#x0A;Mean Cell Haemoglobin pg          36+         27 - 35&#x0A;Platelet Count        x10*9/L     444         150 - 450&#x0A;White Cell Count      x10*9/L     4.6         4.0 - 11.0&#x0A;Neutrophils           %           20 &#x0A;Neutrophils           x10*9/L     0.9---      2.0 - 7.5&#x0A;Lymphocytes           %           20  &#x0A;Lymphocytes           x10*9/L     0.9-        1.1 - 4.0&#x0A;Monocytes             %           20 &#x0A;Monocytes             x10*9/L     0.9         0.2 - 1.0&#x0A;Eosinophils           %           20 &#x0A;Eosinophils           x10*9/L     0.92++      0.04 - 0.40&#x0A;Basophils             %           20 &#x0A;Basophils             x10*9/L     0.92+++     &lt;0.21&#x0A;      </pre>&#x0A;          &#x0A;      
      <p>Acme Laboratory, Inc signed: Dr Pete Pathologist</p>&#x0A;      </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">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="718-7"/>
          <display value="Hemoglobin [Mass/volume] in Blood"/>
        </coding>
        <text value="Haemoglobin"/>
      </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>
    <Observation id="r2">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="789-8"/>
          <display value="Erythrocytes [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Red Cell Count"/>
      </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>
    <Observation id="r3">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="4544-3"/>
          <display value="Hematocrit [Volume Fraction] of Blood by Automated count"/>
        </coding>
        <text value="Haematocrit"/>
      </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>
    <Observation id="r4">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="787-2"/>
          <display value="Erythrocyte mean corpuscular volume [Entitic volume] by Automated count"/>
        </coding>
        <text value="Mean Cell Volume"/>
      </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>
    <Observation id="r5">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="785-6"/>
          <display value="Erythrocyte mean corpuscular hemoglobin [Entitic mass] by Automated count"/>
        </coding>
        <text value="Mean Cell Haemoglobin"/>
      </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>
    <Observation id="r6">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="777-3"/>
          <display value="Platelets [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Platelet Count"/>
      </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>
    <Observation id="r7">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="6690-2"/>
          <display value="Leukocytes [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="White Cell Count"/>
      </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>
    <Observation id="r8">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="770-8"/>
          <display value="Neutrophils/100 leukocytes in Blood by Automated count"/>
        </coding>
        <text value="Neutrophils"/>
      </name>
      <valueQuantity>
        <value value="20"/>
        <units value="%"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="%"/>
      </valueQuantity>
      <status value="final"/>
      <reliability value="ok"/>
    </Observation>
    <Observation id="r9">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="751-8"/>
          <display value="Neutrophils [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Neutrophils"/>
      </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>
    <Observation id="r10">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="736-9"/>
          <display value="Lymphocytes/100 leukocytes in Blood by Automated count"/>
        </coding>
        <text value="Lymphocytes"/>
      </name>
      <valueQuantity>
        <value value="20"/>
        <units value="%"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="%"/>
      </valueQuantity>
      <status value="final"/>
      <reliability value="ok"/>
    </Observation>
    <Observation id="r11">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="731-0"/>
          <display value="Lymphocytes [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Lymphocytes"/>
      </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>
    <Observation id="r12">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="5905-5"/>
          <display value="Monocytes/100 leukocytes in Blood by Automated count"/>
        </coding>
        <text value="Monocytes"/>
      </name>
      <valueQuantity>
        <value value="20"/>
        <units value="%"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="%"/>
      </valueQuantity>
      <status value="final"/>
      <reliability value="ok"/>
    </Observation>
    <Observation id="r13">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="742-7"/>
          <display value="Monocytes [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Monocytes"/>
      </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>
    <Observation id="r14">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="713-8"/>
          <display value="Eosinophils/100 leukocytes in Blood by Automated count"/>
        </coding>
        <text value="Eosinophils"/>
      </name>
      <valueQuantity>
        <value value="20"/>
        <units value="%"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="%"/>
      </valueQuantity>
      <status value="final"/>
      <reliability value="ok"/>
    </Observation>
    <Observation id="r15">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="711-2"/>
          <display value="Eosinophils [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Eosinophils"/>
      </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>
    <Observation id="r16">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="706-2"/>
          <display value="Basophils/100 leukocytes in Blood by Automated count"/>
        </coding>
        <text value="Basophils"/>
      </name>
      <valueQuantity>
        <value value="20"/>
        <units value="%"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="%"/>
      </valueQuantity>
      <status value="final"/>
      <reliability value="ok"/>
    </Observation>
    <Observation id="r17">
      <text>
        <status value="empty"/>
        <div xmlns="http://www.w3.org/1999/xhtml">Missing</div>
      </text>
      <name>
        <coding>
          <system value="http://loinc.org"/>
          <code value="704-7"/>
          <display value="Basophils [#/volume] in Blood by Automated count"/>
        </coding>
        <text value="Basophils"/>
      </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>
        <high>
          <value value="0.21"/>
          <units value="x10*9/L"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="10*9/L"/>
        </high>
      </referenceRange>
    </Observation>
  </contained>
  <!--  first, various administrative/context stuff  -->
  <name>
    <coding>
      <system value="http://loinc.org"/>
      <code value="58410-2"/>
      <display value="Complete blood count (hemogram) panel - Blood by Automated count"/>
    </coding>
    <coding>
      <code value="CBC"/>
      <display value="MASTER FULL BLOOD COUNT"/>
    </coding>
    <text value="Complete Blood Count"/>
  </name>
  <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="5234342"/>
  </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="[encoded data, 93412 characters]"/>
    <title value="HTML Report"/>
  </presentedForm>
</DiagnosticReport>