CREATED
authorEric Prud'hommeaux <eric@w3.org>
Tue, 06 Jul 2010 14:06:18 -0400
changeset 0 a7ce735ef19f
child 1 28e608c0323d
CREATED
syntheticPatients/AD_PCHR_1.html
syntheticPatients/AD_PCHR_1.rdf
syntheticPatients/AD_PCHR_1.xml
syntheticPatients/AD_PCHR_2.html
syntheticPatients/AD_PCHR_2.rdf
syntheticPatients/AD_PCHR_2.xml
syntheticPatients/AD_PCHR_3.html
syntheticPatients/AD_PCHR_3.rdf
syntheticPatients/AD_PCHR_3.xml
syntheticPatients/AD_PCHR_4.html
syntheticPatients/AD_PCHR_4.rdf
syntheticPatients/AD_PCHR_4.xml
syntheticPatients/AD_PCHR_5.html
syntheticPatients/AD_PCHR_5.rdf
syntheticPatients/AD_PCHR_5.xml
syntheticPatients/AD_PCHR_6.html
syntheticPatients/AD_PCHR_6.rdf
syntheticPatients/AD_PCHR_6.xml
syntheticPatients/AD_PCHR_7.html
syntheticPatients/AD_PCHR_7.rdf
syntheticPatients/AD_PCHR_7.xml
syntheticPatients/Makefile
syntheticPatients/Pat2rdf.xsl
syntheticPatients/Patrdf2html.xsl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_1.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,2317 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>George Andrew Tour</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>George Andrew Tour</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>000007414020</td>
+               <td>COREG TABLETS</td>
+               <td>6.25</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>b.i.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Henry No</td>
+               <td>2009-05-15</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>000071015595</td>
+               <td>LIPITOR TABLETS</td>
+               <td>10</td>
+               <td>MG</td>
+               <td>8 X 7</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Henry No</td>
+               <td>2009-05-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>66105051810</td>
+               <td>COUMADIN TABLETS</td>
+               <td>1.00</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>0</td>
+               <td>ongoing</td>
+               <td>Henry No</td>
+               <td>2009-05-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>11071084101</td>
+               <td>DONEPEZIL HYDROCHLORIDE TABLETS</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>90</td>
+               <td>Henry No</td>
+               <td>2009-08-10</td>
+               <td>2009-08-15</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>62856083130</td>
+               <td>ARICEPT TABLETS ORALLY DISINTEGRATING</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>0</td>
+               <td>ongoing</td>
+               <td>Henry No</td>
+               <td>2009-08-15</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>hypertension</td>
+               <td>410</td>
+               <td>2009-05-15</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>hypercholesterolaemia</td>
+               <td>272</td>
+               <td>2009-05-20</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>atrial fibrillation</td>
+               <td>427</td>
+               <td>2009-05-20</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>alzheimer’s disease</td>
+               <td>331</td>
+               <td>2009-08-10</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>appendectomy via incision</td>
+               <td>47.09</td>
+               <td>2000-07-01</td>
+               <td> …..</td>
+               <td>Henry No</td>
+               <td>Redding Hospital</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>fish</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>dust</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>measles</td>
+               <td>1940</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Henry No</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mumps</td>
+               <td>1940</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Henry No</td>
+            </tr>
+            
+            
+            <tr>
+               <td>rubella</td>
+               <td>1949</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Henry No</td>
+            </tr>
+            
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2005</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Henry No</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>2</td>
+               <td>week</td>
+               <td>4</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>5</td>
+               <td>week</td>
+               <td></td>
+               <td>25</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>0</td>
+               <td>never</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>10</td>
+               <td>7</td>
+               <td>4</td>
+               <td>8</td>
+               <td>4</td>
+               <td>2</td>
+               <td>2004-08-15</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Susie</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>24</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>TB</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Paul</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>81</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Betty</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>62</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>myocardialInfarction</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Gary</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>45</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>MedicalError</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Elizabeth</td>
+               <td>Female</td>
+               <td>yes</td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Frank</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>yes</td>
+               <td>Colorectal</td>
+               <td>62</td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>brother</td>
+               <td>Jake</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-05-15</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>160</td>
+                           <td>70</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>151</td>
+                           <td>92</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.89</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.4</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.9</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.62</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.70</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.21</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.32</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.36</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>162</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>230</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>17</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.8</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>43</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>19</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>139</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>5.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>5.42</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.34</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-05-17</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>routine</td>
+                  <td>false</td>
+                  <td>
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>93040</td>
+                           <td>Rhythm ECG</td>
+                           <td>Edward Schmidt</td>
+                           <td>Heart Clinic</td>
+                           <td>Henry No</td>
+                           <td>http://</td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-05-18</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>irregular pulse</td>
+                  <td>atrial fibrillation</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </td>
+                           <td>Ambry test </td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs72547528</td>
+                                    <td>VKOR; MST134; MST576; VKCFD2; EDTP308; MGC2694; FLJ00289; IMAGE345520</td>
+                                    <td>VKORC1</td>
+                                    <td> Vitamin K Epoxide Reductase Complex, subunity 1</td>
+                                    <td>79001</td>
+                                    <td>NG_011564.1</td>
+                                    <td>16:31009664-31013777(-)</td>
+                                    <td>C/T</td>
+                                    <td>Missense</td>
+                                    <td>R98W</td>
+                                    <td>Nonsynonymous</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </td>
+                           <td></td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td>rs1799853</td>
+                                    <td> CPC9; CYP2C; CYP2C10; MGC88320; P450IIC9; MGC149605; CYP2C9 </td>
+                                    <td>CYP2C9</td>
+                                    <td> Cytochrome P450, family 2, subfamily C, polypeptide 9</td>
+                                    <td>1559</td>
+                                    <td>NG_008385.1</td>
+                                    <td>10:96688430-96739137(+)</td>
+                                    <td>C/T</td>
+                                    <td>Missense</td>
+                                    <td>R144C</td>
+                                    <td>Nonsynonymous</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-05-20</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>125</td>
+                           <td>85</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>76</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-06-03</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>115</td>
+                           <td>75</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>105</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>160</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-03</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>117</td>
+                           <td>74</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>76</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>98</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>148</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-15 2009-07-16</a></td>
+                  <td>Henry No Mark Tourney</td>
+                  <td>false true</td>
+                  <td>false false</td>
+                  <td>false true</td>
+                  <td>Confusion, Declining memory  Confusion, Declining memory </td>
+                  <td>
+                     
+                     
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>24 35</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain</td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Henry No</td>
+                           <td>http:hospital.com/images/patient/1234</td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.7</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.80</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>38.2</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.2</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.7</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.2</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.60</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.69</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.20</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.30</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.34</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td>ADmark Alzheimer's Evaluation</td>
+                           <td>Neurologist Vince</td>
+                           <td>Neuro Clinic</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs429358</td>
+                                    <td>APOE4, NG_007084.2:g.7903T&gt;C</td>
+                                    <td>APOE</td>
+                                    <td> apolipoprotein E</td>
+                                    <td>348</td>
+                                    <td> NG_007084.2</td>
+                                    <td>coding_region</td>
+                                    <td>g.7903T&gt;C</td>
+                                    <td>Substitution</td>
+                                    <td>C112R</td>
+                                    <td>Missense</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-08-03</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>116</td>
+                           <td>73</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>98</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>148</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-08-15</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>none</td>
+                  <td>nausea</td>
+                  <td>adverse event to Donepezil</td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-11-03</a></td>
+                  <td>Henry No</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>119</td>
+                           <td>78</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Henry No</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>97</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>148</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : Family Health</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>20 Water St.</td>
+               <td>53326</td>
+               <td>New Hope</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td>17891011782</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Henry No</td>
+                  <td>Henry</td>
+                  <td>No</td>
+                  <td>AK 9934273</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1934-05-15</td>
+               <td>XXXX-XX-XX</td>
+               <td>Male</td>
+               <td>Basque</td>
+               <td>EN</td>
+               <td>Single</td>
+               <td>Retired</td>
+               <td>Technology</td>
+               <td>Developer</td>
+               <td>Catholic</td>
+               <td>100,000 USD</td>
+               <td>PhD</td>
+               <td>false</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>George Andrew Tour</td>
+               <td>George</td>
+               <td>Tour</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>15 Water St.</td>
+               <td>53326</td>
+               <td>New Hope</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+       
+         
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_1.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1470 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>Family Health</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>20 Water St.</vcard:Street>
+            <vcard:Pcode>53326</vcard:Pcode>
+            <vcard:Locality>New Hope</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+            <foaf:phone>17891011782</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Henry No</foaf:name>
+            <foaf:givenName>Henry</foaf:givenName>
+            <foaf:familyName>No</foaf:familyName>
+            <trans:license>AK 9934273</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1934-05-15</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Male</indivo:gender>
+      <indivo:ethnicity>Basque</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Single</indivo:maritalStatus>
+      <indivo:employmentStatus>Retired</indivo:employmentStatus>
+      <indivo:employmentIndustry>Technology</indivo:employmentIndustry>
+      <indivo:occupation>Developer</indivo:occupation>
+      <indivo:religion>Catholic</indivo:religion>
+      <indivo:income>100,000 USD</indivo:income>
+      <indivo:highestEducation>PhD</indivo:highestEducation>
+      <indivo:organDonor>false</indivo:organDonor>
+   </trans:Demographics>
+
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>George Andrew Tour</foaf:name>
+      <foaf:givenName>George</foaf:givenName>
+      <foaf:familyName>Tour</foaf:familyName>
+      <!--personal mbox--><foaf:mbox>
+        gtour@hotmail.com
+    </foaf:mbox>
+      <!--work mbox--><foaf:mbox>
+        george.tour@technology.com
+    </foaf:mbox>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>15 Water St.</vcard:Street>
+            <vcard:Pcode>53326</vcard:Pcode>
+            <vcard:Locality>New Hope</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>41N</geo:lat>
+         <geo:long>69W</geo:long>
+      </pim:location>
+      <foaf:phone>123456</foaf:phone>
+      <foaf:phone>17891011734</foaf:phone>
+      <foaf:accountName>scotour</foaf:accountName>
+   </foaf:Person>
+
+       
+      <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>000007414020</trans:NDC>
+      <trans:genericName>COREG TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>6.25</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>b.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-05-15</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug> 
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>000071015595</trans:NDC>
+      <trans:genericName>LIPITOR TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>10</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>8 X 7</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-05-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>   
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>66105051810</trans:NDC>
+      <trans:genericName>COUMADIN TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>1.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>0</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-05-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+  <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>11071084101</trans:NDC>
+      <trans:genericName>DONEPEZIL HYDROCHLORIDE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>90</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-08-10</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>2009-08-15</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>62856083130</trans:NDC>
+      <trans:genericName>ARICEPT TABLETS ORALLY DISINTEGRATING</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>0</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-08-15</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+ 
+
+
+       
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>hypertension</trans:diagnosedWith>
+            <trans:ICD9>410</trans:ICD9>
+            <trans:dateDiagnosed>2009-05-15</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>hypercholesterolaemia</trans:diagnosedWith>
+            <trans:ICD9>272</trans:ICD9>
+            <trans:dateDiagnosed>2009-05-20</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>atrial fibrillation</trans:diagnosedWith>
+            <trans:ICD9>427</trans:ICD9>
+            <trans:dateDiagnosed>2009-05-20</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>alzheimer’s disease</trans:diagnosedWith>
+            <trans:ICD9>331</trans:ICD9>
+            <trans:dateDiagnosed>2009-08-10</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+      <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>appendectomy via incision</trans:procedureName>
+      <trans:ICD9procedure>47.09</trans:ICD9procedure>
+      <indivo:datePerformed>2000-07-01</indivo:datePerformed>
+      <trans:procedureNotes> …..</trans:procedureNotes>
+      <trans:referredBy>Henry No</trans:referredBy>
+      <trans:referredInstitution>Redding Hospital</trans:referredInstitution>
+   </trans:Procedure>
+            
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>fish</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>dust</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>measles</trans:diseaseName>
+            <indivo:dateAdministered>1940</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Henry No</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>mumps</trans:diseaseName>
+            <indivo:dateAdministered>1940</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Henry No</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>rubella</trans:diseaseName>
+            <indivo:dateAdministered>1949</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Henry No</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2005</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Henry No</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+   
+
+  
+  
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>2</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>4</trans:quantity>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>5</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>25</trans:averageDuration>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:packYears>0</trans:packYears>
+            <trans:history>never</trans:history>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>10</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>7</trans:wholeGrainsRating>
+            <trans:dairyRating>4</trans:dairyRating>
+            <trans:proteinRating>8</trans:proteinRating>
+            <trans:fatsRating>4</trans:fatsRating>
+            <trans:junkFoodRating>2</trans:junkFoodRating>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Susie</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>24</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>TB</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Paul</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>81</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Betty</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>62</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>myocardialInfarction</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Gary</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>45</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>MedicalError</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Elizabeth</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <!--@@ x_1="RA", whatever that means--><trans:medicalConditions>yes</trans:medicalConditions>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Frank</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Colorectal</trans:cancerType>
+            <trans:cancerTypeColorectalAge>62</trans:cancerTypeColorectalAge>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>brother</trans:relation>
+            <trans:fname>Jake</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-05-15</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">160</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">70</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">151</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">92</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.89</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.4</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.9</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.62</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.70</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.21</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.32</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.36</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>162</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>230</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.8</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>43</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>19</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>139</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>5.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>5.42</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.34</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-05-17</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>routine</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>93040</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Edward Schmidt</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;???&lt;/testScore&gt;</trans:misParse>
+            <trans:misParse>&lt;testNormalRange&gt;????&lt;/testNormalRange&gt;</trans:misParse>
+            <trans:misParse>&lt;testResult&gt;abnormal&lt;/testResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http://</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-05-18</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>irregular pulse</trans:reportedSymptoms>
+      <trans:workingDiagnosis>atrial fibrillation</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Ambry test </trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs72547528</trans:rs_Number>
+            <trans:variant_Synonyms>VKOR; MST134; MST576; VKCFD2; EDTP308; MGC2694; FLJ00289; IMAGE345520</trans:variant_Synonyms>
+            <trans:gene_Symbol>VKORC1</trans:gene_Symbol>
+            <trans:gene_Name> Vitamin K Epoxide Reductase Complex, subunity 1</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>79001</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>NG_011564.1</trans:Accession_ID>
+            <trans:Gene_Region>16:31009664-31013777(-)</trans:Gene_Region>
+            <trans:DNA_Change>C/T</trans:DNA_Change>
+            <trans:DNA_Change_Type>Missense</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>R98W</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Nonsynonymous</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName/>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number>rs1799853</trans:rs_Number>
+            <trans:variant_Synonyms> CPC9; CYP2C; CYP2C10; MGC88320; P450IIC9; MGC149605; CYP2C9 </trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2C9</trans:gene_Symbol>
+            <trans:gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 9</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1559</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>NG_008385.1</trans:Accession_ID>
+            <trans:Gene_Region>10:96688430-96739137(+)</trans:Gene_Region>
+            <trans:DNA_Change>C/T</trans:DNA_Change>
+            <trans:DNA_Change_Type>Missense</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>R144C</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Nonsynonymous</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-05-20</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">125</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">85</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">76</trans:restingHeartRate>
+         </trans:restingHeartRate>
+      </trans:physicalObservations>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-06-03</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">115</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">75</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>105</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>160</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-03</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">117</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">74</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">76</trans:restingHeartRate>
+         </trans:restingHeartRate>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>98</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>148</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+      
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No Mark Tourney</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-15</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Confusion, Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-16</trans:dateOfEncounter>
+      <trans:physician>Mark Tourney</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:misParse>&lt;referredClinic&gt;Happy Days&lt;/referredClinic&gt;</trans:misParse>
+      <trans:misParse>&lt;referredBy&gt;Henry No&lt;/referredBy&gt;</trans:misParse>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms> Confusion, Declining memory </trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>24</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>35</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http:hospital.com/images/patient/1234</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.7</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.80</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.2</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.2</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.7</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.2</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.60</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.69</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.20</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.30</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.34</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>ADmark Alzheimer's Evaluation</trans:testName>
+         <trans:referredTo>Neurologist Vince</trans:referredTo>
+         <trans:referredClinic>Neuro Clinic</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs429358</trans:rs_Number>
+            <trans:variant_Synonyms>APOE4, NG_007084.2:g.7903T&gt;C</trans:variant_Synonyms>
+            <trans:gene_Symbol>APOE</trans:gene_Symbol>
+            <trans:gene_Name> apolipoprotein E</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>348</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID> NG_007084.2</trans:Accession_ID>
+            <trans:Gene_Region>coding_region</trans:Gene_Region>
+            <trans:DNA_Change>g.7903T&gt;C</trans:DNA_Change>
+            <trans:DNA_Change_Type>Substitution</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>C112R</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Missense</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-08-03</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">116</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">73</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>98</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>148</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-08-15</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>none</trans:medicalTest>
+      <trans:reportedSymptoms>nausea</trans:reportedSymptoms>
+      <trans:workingDiagnosis>adverse event to Donepezil</trans:workingDiagnosis>
+   </trans:Encounter>
+   
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Henry No</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-11-03</trans:dateOfEncounter>
+      <trans:physician>Henry No</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">119</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">78</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Henry No</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>97</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>148</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_1.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1137 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 1
+$Id: AD_PCHR_1_Final.xml,v 1.6 2009/12/02 21:08:30 eric Exp $
+ -->
+<root>
+<Practice>
+    <practiceName>Family Health</practiceName>
+    <practiceAddress>
+    <streetAddress>20 Water St.</streetAddress>
+        <postalCode>53326</postalCode>
+        <locality>New Hope</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+        <phoneNumber>17891011782</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Henry No</fullName>
+        <givenName>Henry</givenName>
+        <familyName>No</familyName>
+        <license>AK 9934273</license>   
+        <gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1934-05-15</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Male</gender>
+    <ethnicity>Basque</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Single</maritalStatus>
+    <employmentStatus>Retired</employmentStatus>
+    <employmentIndustry>Technology</employmentIndustry>
+    <occupation>Developer</occupation>
+    <religion>Catholic</religion>
+    <income>100,000 USD</income>
+    <highestEducation>PhD</highestEducation>
+    <organDonor>false</organDonor>
+</Demographics>
+
+
+<Contact>
+    <name>
+        <fullName>George Andrew Tour</fullName>
+        <givenName>George</givenName>
+        <familyName>Tour</familyName>
+    </name>
+    <email type="personal">
+        gtour@hotmail.com
+    </email>
+    <email type="work">
+        george.tour@technology.com
+    </email>
+    <address type="home">
+        <streetAddress>15 Water St.</streetAddress>
+        <postalCode>53326</postalCode>
+        <locality>New Hope</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>41N</latitude>
+        <longitude>69W</longitude>
+    </location>
+    <phoneNumber type="home">123456</phoneNumber>
+    <phoneNumber type="work">17891011734</phoneNumber>
+    <instantMessengerName protocol="aim">scotour</instantMessengerName>
+</Contact>
+
+   <prescriptions>    
+      <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>000007414020</NDC>
+       <genericName>COREG TABLETS</genericName>
+       <strength>6.25</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>b.i.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>  
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-05-15</datePrescribed>  
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+   </drug> 
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>000071015595</NDC>
+       <genericName>LIPITOR TABLETS</genericName>
+       <strength>10</strength>
+       <unit>MG</unit>
+       <packSize>8 X 7</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>q.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-05-20</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+   </drug>   
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>66105051810</NDC>
+       <genericName>COUMADIN TABLETS</genericName>
+       <strength>1.00</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>  
+       <refill>0</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-05-20</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+  </drug>
+  <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>11071084101</NDC>
+       <genericName>DONEPEZIL HYDROCHLORIDE TABLETS</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>  
+       <refill>3</refill>
+       <daysToTake>90</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-08-10</datePrescribed>
+       <datePrescriptionEnded>2009-08-15</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+   </drug>
+   <drug>
+<ontology>National Drug Code Directory</ontology>
+       <NDC>62856083130</NDC>
+       <genericName>ARICEPT TABLETS ORALLY DISINTEGRATING</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>  
+       <refill>0</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-08-15</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+     </drug>
+ </prescriptions>
+
+
+  <conditions>     
+       <condition>
+           <diagnosedWith>hypertension</diagnosedWith>
+           <ICD9>410</ICD9>
+           <dateDiagnosed>2009-05-15</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>hypercholesterolaemia</diagnosedWith>
+           <ICD9>272</ICD9>
+           <dateDiagnosed>2009-05-20</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>atrial fibrillation</diagnosedWith>
+           <ICD9>427</ICD9>
+           <dateDiagnosed>2009-05-20</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>alzheimer’s disease</diagnosedWith>
+           <ICD9>331</ICD9>
+           <dateDiagnosed>2009-08-10</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+      <procedure>   
+	   <procedureName>appendectomy via incision</procedureName>
+           <ICD9_Procedure>47.09</ICD9_Procedure>
+           <procedureDate>2000-07-01</procedureDate>
+           <procedureNotes> …..</procedureNotes>
+	<referredBy>Henry No</referredBy>
+           <referredInstitution>Redding Hospital</referredInstitution> 
+      </procedure>
+   </procedures>         
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>fish</food>
+       <environment>dust</environment>
+  </allergies>
+
+
+  <immunizations>
+      <measles>
+         <date>1940</date>
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Henry No</administeredBy>
+      </measles>
+      <mumps>
+         <date>1940</date>   
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+      <administeredBy>Henry No</administeredBy>
+      </mumps>
+      <rubella>
+         <date>1949</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Henry No</administeredBy>
+      </rubella>
+      <tetanus>
+         <date>2005</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Henry No</administeredBy>
+      </tetanus> 
+  </immunizations> 
+
+  
+<lifestyle>  
+       <alcoholConsumption>
+           <frequency>2</frequency>
+           <units>week</units>
+           <quantity>4</quantity>
+           <date>2004-08-15</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>5</frequency>
+           <units>week</units>
+           <averageDuration>25</averageDuration>
+           <date>2004-08-15</date>
+       </exercise>
+       <smoking>
+           <packYears>0</packYears>
+           <history>never</history>
+           <date>2004-08-15</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>10</fruitVegetablesRating>
+            <wholeGrainsRating>7</wholeGrainsRating>
+            <dairyRating>4</dairyRating>
+            <proteinRating>8</proteinRating>
+            <fatsRating>4</fatsRating>
+            <junkFoodRating>2</junkFoodRating>
+            <date>2004-08-15</date>
+       </diet>
+  </lifestyle>
+
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Susie</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>24</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>TB</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Paul</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>81</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Betty</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>62</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>myocardialInfarction</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Gary</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>45</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>MedicalError</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Elizabeth</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="RA">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Frank</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>yes</cancer>
+         <cancerType>Colorectal</cancerType>
+         <cancerTypeColorectalAge>62</cancerTypeColorectalAge>
+      </subject>
+      <subject id="7">
+         <relation>brother</relation>
+         <fname>Jake</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+</familyHistory>
+
+
+
+
+
+<Encounter>
+    <dateOfEncounter>2009-05-15</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">160</weight>
+         <height units="inches">70</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">151</systolic>
+         <diastolic units="mmHg">92</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.89</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.4</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.9</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.62</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.70</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.21</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.32</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.36</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>162</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>230</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>17</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.8</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>43</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>19</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>139</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>5.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>5.42</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.34</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2009-05-17</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>routine</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>atrial fibrillation</diagnosisDescription>
+          <ICD9>427</ICD9>
+          <ICD9Description>atrial fibrillation</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+          <ICD9>427</ICD9>
+          <ICD9Description>Atrial fibrillation</ICD9Description>
+       </differentialDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <test x_2="ECG">
+       <CPT>93040</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Edward Schmidt</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <result>
+          <testScore>???</testScore>
+          <testNormalRange>????</testNormalRange>
+          <testResult>abnormal</testResult>
+       </result>
+       <originalImage>http://</originalImage>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-05-18</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>	
+    <reportedSymptoms>irregular pulse</reportedSymptoms>
+    <workingDiagnosis>atrial fibrillation</workingDiagnosis>
+<test x_2="Genotyping SNPs">
+     <CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </CPT>
+       <testName>Ambry test </testName>
+       <referredTo>Gene Cato</referredTo>
+       <referredClinic>Geno Clinic</referredClinic>
+       <referredBy>Henry No</referredBy>
+    <result>
+          <value>abnormal</value>
+          <rs_Number> rs72547528</rs_Number>
+          <variant_Synonyms>VKOR; MST134; MST576; VKCFD2; EDTP308; MGC2694; FLJ00289; IMAGE345520</variant_Synonyms>
+          <gene_Symbol>VKORC1</gene_Symbol>
+          <gene_Name> Vitamin K Epoxide Reductase Complex, subunity 1</gene_Name>
+          <ENTREZ_Gene_ID>79001</ENTREZ_Gene_ID>
+          <Accession_ID>NG_011564.1</Accession_ID>
+          <Gene_Region>16:31009664-31013777(-)</Gene_Region>
+          <DNA_Change>C/T</DNA_Change>
+          <DNA_Change_Type>Missense</DNA_Change_Type>
+          <Amino_Acid_Change>R98W</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Nonsynonymous</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+<test x_2="Genotyping SNPs">
+       <CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1) </CPT>
+       <testName></testName>
+       <referredTo>Gene Cato</referredTo>
+       <referredClinic>Geno Clinic</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <result>
+          <value>abnormal</value>
+          <rs_Number>rs1799853</rs_Number>
+          <variant_Synonyms> CPC9; CYP2C; CYP2C10; MGC88320; P450IIC9; MGC149605; CYP2C9 </variant_Synonyms>
+          <gene_Symbol>CYP2C9</gene_Symbol>
+          <gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 9</gene_Name>
+          <ENTREZ_Gene_ID>1559</ENTREZ_Gene_ID>
+          <Accession_ID>NG_008385.1</Accession_ID>
+          <Gene_Region>10:96688430-96739137(+)</Gene_Region>
+          <DNA_Change>C/T</DNA_Change>
+          <DNA_Change_Type>Missense</DNA_Change_Type>
+          <Amino_Acid_Change>R144C</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Nonsynonymous</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-05-20</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>none</workingDiagnosis> 
+    <physicalObservations>
+<bloodPressure>
+         <systolic units="mmHg">125</systolic>
+         <diastolic units="mmHg">85</diastolic>
+      </bloodPressure>	
+<restingHeartRate>
+         <restingHeartRate units="BPM">76</restingHeartRate>
+      </restingHeartRate>
+    </physicalObservations>
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-06-03</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>none</workingDiagnosis>
+    <physicalObservations>
+<bloodPressure>
+         <systolic units="mmHg">115</systolic>
+         <diastolic units="mmHg">75</diastolic>
+      </bloodPressure>	
+<restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+    </physicalObservations>
+<test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>105</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>160</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-07-03</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>none</workingDiagnosis>
+    <physicalObservations>
+<bloodPressure>
+         <systolic units="mmHg">117</systolic>
+         <diastolic units="mmHg">74</diastolic>
+      </bloodPressure>	
+<restingHeartRate>
+         <restingHeartRate units="BPM">76</restingHeartRate>
+      </restingHeartRate>
+    </physicalObservations>
+<test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>98</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>148</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+      
+
+<Encounter>
+    <dateOfEncounter>2009-07-15</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Confusion, Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+<dateOfEncounter>2009-07-16</dateOfEncounter>
+    <physician>Mark Tourney</physician>
+    <referral>true</referral> 
+       <referredClinic>Happy Days</referredClinic>
+       <referredBy>Henry No</referredBy>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms> Confusion, Declining memory </reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+          <ICD9>331.0</ICD9>
+          <ICD9Description>Alzheimer's disease</ICD9Description>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>24</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>35</value>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.75</hippocampalLeft>
+          <hippocampalRight>0.72</hippocampalRight>
+          <temporalRight>1.10</temporalRight>
+          <temporalLeft>1.09</temporalLeft>
+          <angularRight>1.13</angularRight>
+          <angularLeft>1.14</angularLeft>
+          <cingulumPostBilateral>1.07</cingulumPostBilateral>
+          <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+       </result>
+      <originalImage>http:hospital.com/images/patient/1234</originalImage>
+      <physicianNotes>...</physicianNotes>
+    </test>  
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>12.7</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.80</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>38.2</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.2</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.7</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.2</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.60</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.69</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.20</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.30</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.34</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+   
+    <test x_2="Genotyping SNPs">
+       <CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+       <testName>ADmark Alzheimer's Evaluation</testName>
+       <referredTo>Neurologist Vince</referredTo>
+       <referredClinic>Neuro Clinic</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <result>
+          <value>abnormal</value>
+          <rs_Number> rs429358</rs_Number>
+          <variant_Synonyms>APOE4, NG_007084.2:g.7903T>C</variant_Synonyms>
+          <gene_Symbol>APOE</gene_Symbol>
+          <gene_Name> apolipoprotein E</gene_Name>
+          <ENTREZ_Gene_ID>348</ENTREZ_Gene_ID>
+          <Accession_ID> NG_007084.2</Accession_ID>
+          <Gene_Region>coding_region</Gene_Region>
+          <DNA_Change>g.7903T>C</DNA_Change>
+          <DNA_Change_Type>Substitution</DNA_Change_Type>
+          <Amino_Acid_Change>C112R</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Missense</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2009-08-03</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+<bloodPressure>
+         <systolic units="mmHg">116</systolic>
+         <diastolic units="mmHg">73</diastolic>
+      </bloodPressure>	
+<restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+    </physicalObservations>
+<test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>98</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>148</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-08-15</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>none</medicalTest>
+    <reportedSymptoms>nausea</reportedSymptoms>
+    <workingDiagnosis>adverse event to Donepezil</workingDiagnosis>
+</Encounter>
+   
+
+<Encounter>
+    <dateOfEncounter>2009-11-03</dateOfEncounter>
+    <physician>Henry No</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+<bloodPressure>
+         <systolic units="mmHg">119</systolic>
+         <diastolic units="mmHg">78</diastolic>
+      </bloodPressure>	
+<restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+    </physicalObservations>
+<test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Henry No</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>97</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>148</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_2.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,7482 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Monica Mary Mall</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Monica Mary Mall</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>26053006601</td>
+               <td>ATORVASTATIN TABLET</td>
+               <td>10</td>
+               <td>MG</td>
+               <td>1 TAB</td>
+               <td>PKG</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Bill Stall</td>
+               <td>2007-07-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>63739043401</td>
+               <td>CHEWABLE ORANGE ASPIRIN TABLETS</td>
+               <td>81</td>
+               <td>MG</td>
+               <td>750</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Bill Stall</td>
+               <td>2007-07-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>55111019690</td>
+               <td>CLOPIDOGREL TABLETS</td>
+               <td>75</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BOTL</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Bill Stall</td>
+               <td>2008-03-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>54569597500</td>
+               <td>CARVEDILOL TABLETS</td>
+               <td>6.25</td>
+               <td>MG</td>
+               <td>60</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>b.i.d.</td>
+               <td>3</td>
+               <td>90</td>
+               <td>Bill Stall</td>
+               <td>2008-03-20</td>
+               <td>2009-08-15</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>54569529101</td>
+               <td>FLUOXETINE CAPSULES</td>
+               <td>20.00</td>
+               <td>MG</td>
+               <td>60</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>CAPSULE</td>
+               <td>o.d.</td>
+               <td>0</td>
+               <td>ongoing</td>
+               <td>Bill Stall</td>
+               <td>2008-05-18</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>54569476401</td>
+               <td>DIAZEPAM TABLETS</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>b.i.d.</td>
+               <td>3</td>
+               <td>90</td>
+               <td>Bill Stall</td>
+               <td>2008-05-18</td>
+               <td>2009-08-15</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>54907010101</td>
+               <td>MEMANTINE HYDROCHLORIDE</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>DRUM</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>0</td>
+               <td>ongoing</td>
+               <td>Bill Stall</td>
+               <td>2009-10-15</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>mild cognitive impairment</td>
+               <td>290.0</td>
+               <td>2004-07-10</td>
+               <td>Bill Stall</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>hypercholesterolaemia</td>
+               <td>272</td>
+               <td>2007-07-20</td>
+               <td>Bill Stall</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>myocardial infarction</td>
+               <td>410.3</td>
+               <td>2008-03-18</td>
+               <td>William Tett</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>anxiety depression</td>
+               <td>300.4</td>
+               <td>2008-05-16</td>
+               <td>Bill Stall</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>alzheimer’s disease</td>
+               <td>331</td>
+               <td>2009-10-15</td>
+               <td>Bill Stall</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>Angioplasty with placement of a Stent</td>
+               <td>36.06</td>
+               <td>2008-03-18</td>
+               <td> …..</td>
+               <td>Bill Stall</td>
+               <td>Reed Hospital</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>none</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>measles</td>
+               <td>1942</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Bill Stall</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mumps</td>
+               <td>1942</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Bill Stall</td>
+            </tr>
+            
+            
+            <tr>
+               <td>rubella</td>
+               <td>1950</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Bill Stall</td>
+            </tr>
+            
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2006</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Bill Stall</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>1</td>
+               <td>week</td>
+               <td>2</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2009-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>2</td>
+               <td>week</td>
+               <td></td>
+               <td>20</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2009-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>0</td>
+               <td>never</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2009-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>4</td>
+               <td>5</td>
+               <td>7</td>
+               <td>10</td>
+               <td>8</td>
+               <td>6</td>
+               <td>2009-08-15</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Mary</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>54</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Malaria</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>David</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>98</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Betty</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>62</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>alzheimer’s disease</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Tim</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>45</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>depression</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Elizabeth</td>
+               <td>Female</td>
+               <td>yes</td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Frank</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>yes</td>
+               <td>Colorectal</td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>brother</td>
+               <td>Tim</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2004-07-10</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2004-07-17</a></td>
+                  <td>Jeff Down</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>8.67 16.67</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2004-07-20</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>150</td>
+                           <td>68</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>120</td>
+                           <td>80</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>70</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.89</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.4</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.9</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.8</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.62</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.70</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.21</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.32</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.36</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>145</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>230</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>17</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.8</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>43</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>19</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>139</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>111</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.34</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Syphilis test; quantitative</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2004-10-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI evaluation</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td>ADmark Alzheimer's Evaluation</td>
+                           <td>Jay Lynch</td>
+                           <td>Neuro Clinic</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs429358</td>
+                                    <td>APOE4, NG_007084.2:g.7903T&gt;C</td>
+                                    <td>APOE</td>
+                                    <td> apolipoprotein E</td>
+                                    <td>348</td>
+                                    <td> NG_007084.2</td>
+                                    <td>coding_region</td>
+                                    <td>g.7903T&gt;C</td>
+                                    <td>Substitution</td>
+                                    <td>C112R</td>
+                                    <td>Missense</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>8.67 13.67</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>25</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>47 26 12</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-04-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>8.77 13.77</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>26</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>47 26 12</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-07-20</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>150</td>
+                           <td>68</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>119</td>
+                           <td>79</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>69</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>134</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>559</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.9</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.79</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.1</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.5</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.8</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.7</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.61</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.71</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.25</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.33</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.35</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>147</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>231</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.7</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>17.1</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.9</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>44</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>18</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.8</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>138</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.2</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.67</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>109</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>14</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.35</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-10-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>9.67 14.67</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>23</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>40 23 11</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2006-04-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>12.67 22.11</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>25</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>30 27 10</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2006-07-20</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>150</td>
+                           <td>68</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>121</td>
+                           <td>81</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>138</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.85</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.2</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.2</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.4</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.6</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>297</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.68</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.70</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.28</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.38</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.38</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>146</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>231</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.9</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>16</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.9</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>44</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>18</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>139</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.7</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.35</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2006-10-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>8.67 13.67</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>25</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>28 24 7</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2007-07-18</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>152</td>
+                           <td>67</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>43</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>128</td>
+                           <td>84</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>78</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.9</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.88</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.1</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.2</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.8</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.7</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.62</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.71</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.29</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.33</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.37</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>165</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>249</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>17</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.8</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>43</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>19</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.6</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>135</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.5</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.35</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2007-10-01</a></td>
+                  <td>Jay Lynch</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>ADNI</td>
+                  <td>Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>13.67 21.00</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>24</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>41 19 7</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              
+                           </td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest
+                              moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate
+                              atrophy....
+                           </td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Spinal tap</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2007-10-18</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>106</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>161</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-01-18</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>105</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>170</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-03-18</a></td>
+                  <td>William Tett</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>acute admission to hospital</td>
+                  <td>chest pains</td>
+                  <td>myocardial infarction</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>150</td>
+                           <td>68</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>120</td>
+                           <td>80</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>70</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>93040</td>
+                           <td>Rhythm ECG</td>
+                           <td>Edward Schmidt</td>
+                           <td>Heart Clinic</td>
+                           <td>William Tett</td>
+                           <td>http://</td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>93040</td>
+                           <td>Rhythm ECG</td>
+                           <td>Edward Schmidt</td>
+                           <td>Heart Clinic</td>
+                           <td>William Tett</td>
+                           <td>http://</td>
+                           <td></td>
+                           <td>Mildly impaired left ventricular dysfunction, with wall motion defect</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>93040</td>
+                           <td>Rhythm ECG</td>
+                           <td>Edward Schmidt</td>
+                           <td>Heart Clinic</td>
+                           <td>William Tett</td>
+                           <td>http://</td>
+                           <td></td>
+                           <td>Mildly impaired left ventricular dysfunction, with wall motion defect</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>???</td>
+                           <td>TNI Biomarker</td>
+                           <td>John Moles</td>
+                           <td>Heart Clinic</td>
+                           <td>William Tett</td>
+                           <td></td>
+                           <td></td>
+                           <td>Dying cardiac tissue</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>???</td>
+                           <td>PT INR APTT Fibrogen</td>
+                           <td>John Moles</td>
+                           <td>Heart Clinic</td>
+                           <td>William Tett</td>
+                           <td></td>
+                           <td></td>
+                           <td>Dying cardiac tissue</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.89</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.4</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.9</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.8</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.62</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.70</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.21</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.32</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.36</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>102</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.8</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>43</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>19</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>139</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>109</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.34</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>105</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>165</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-03-19</a></td>
+                  <td>Bill Stall</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>myocardial infarction</td>
+                  <td>myocardial infarction</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td></td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>rs4244285</td>
+                                    <td>CYP2C19; RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19</td>
+                                    <td>CYP2C19</td>
+                                    <td> cytochrome P450, family 2, subfamily C, polypeptide 19</td>
+                                    <td>1557</td>
+                                    <td>NG_008384.1</td>
+                                    <td>10:96512444-96602661(+)</td>
+                                    <td>G/C/A</td>
+                                    <td>Synonymous</td>
+                                    <td>P227P</td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-05-16</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Depression</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Depression Questionnaire</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>myocardial infarction appears to have been the trigger. patient indicates inability to sleep, feelings of worthlessness, anxiety</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>39</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-05-17</a></td>
+                  <td>Bill Stall</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>depression</td>
+                  <td>myocardial infarction</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1 )</td>
+                           <td></td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>rs35742686</td>
+                                    <td> RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1</td>
+                                    <td>CYP2D6</td>
+                                    <td> cytochrome P450, family 2, subfamily D, polypeptide 6</td>
+                                    <td>1565</td>
+                                    <td>NG_003180.2</td>
+                                    <td>22:40852447-40856827(-)</td>
+                                    <td>A/-</td>
+                                    <td>Deletion</td>
+                                    <td>R259</td>
+                                    <td>Frame shift</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-05-18</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Depression</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Depression Questionnaire</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>myocardial infarction trigger. patient indicates inability to sleep, weight loss, feelings of worthlessness, anxiety</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>38</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-06-18</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Depression</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Depression Questionnaire</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>appears to have improved. Stable mood.</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>25</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-07-20</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>150</td>
+                           <td>68</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>38</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>121</td>
+                           <td>81</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>75</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>appears to have improved. Stable mood.</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.4</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.80</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.1</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.6</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.4</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>290</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.61</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.69</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.21</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.31</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.35</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>appears to have improved. Stable mood.</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>161</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>235</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>appears to have improved. Stable mood.</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.7</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>101</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.7</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>44</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>18</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>appears to have improved. Stable mood.</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>138</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.2</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.65</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>109</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>14</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.5</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.33</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-15</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Confusion, Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-20</a></td>
+                  <td>Bill Stall</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>152</td>
+                           <td>67</td>
+                           <td>23</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>39</td>
+                           <td>42</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>125</td>
+                           <td>85</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>12.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>3.87</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td>41654-5</td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>97.3</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>32.8</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.7</td>
+                                    <td>hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>290</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>4.61</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>1.70</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2.21</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.31</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.35</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>161</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> High-density lipoprotein</td>
+                                    <td>45</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>229</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.7</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>16</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>0.7</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>44</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>19</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>139</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>5.3</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.66</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>9.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>9.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>15</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Bill Stall</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>1.34</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : All Health</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>20 Earth St.</td>
+               <td>53326</td>
+               <td>New Bournemouth</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td>17891011781</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Bill Stall</td>
+                  <td>Bill</td>
+                  <td>Stall</td>
+                  <td>AP 2435677</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1937-05-15</td>
+               <td>XXXX-XX-XX</td>
+               <td>Female</td>
+               <td>Basque</td>
+               <td>EN</td>
+               <td>Widow</td>
+               <td>Retired</td>
+               <td>Health Care</td>
+               <td>Nurse</td>
+               <td>Catholic</td>
+               <td>55,000 USD</td>
+               <td>High School</td>
+               <td>true</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Monica Mary Mall</td>
+               <td>Monica</td>
+               <td>Mall</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>15 Sky St.</td>
+               <td>53327</td>
+               <td>New Bournemouth</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+         
+       
+        
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_2.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,4175 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>All Health</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>20 Earth St.</vcard:Street>
+            <vcard:Pcode>53326</vcard:Pcode>
+            <vcard:Locality>New Bournemouth</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+            <foaf:phone>17891011781</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Bill Stall</foaf:name>
+            <foaf:givenName>Bill</foaf:givenName>
+            <foaf:familyName>Stall</foaf:familyName>
+            <trans:license>AP 2435677</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1937-05-15</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Female</indivo:gender>
+      <indivo:ethnicity>Basque</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Widow</indivo:maritalStatus>
+      <indivo:employmentStatus>Retired</indivo:employmentStatus>
+      <indivo:employmentIndustry>Health Care</indivo:employmentIndustry>
+      <indivo:occupation>Nurse</indivo:occupation>
+      <indivo:religion>Catholic</indivo:religion>
+      <indivo:income>55,000 USD</indivo:income>
+      <indivo:highestEducation>High School</indivo:highestEducation>
+      <indivo:organDonor>true</indivo:organDonor>
+   </trans:Demographics>
+
+
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Monica Mary Mall</foaf:name>
+      <foaf:givenName>Monica</foaf:givenName>
+      <foaf:familyName>Mall</foaf:familyName>
+      <!--personal mbox--><foaf:mbox>
+        mmall@hotmail.com</foaf:mbox>
+      <trans:misParse>&lt;email&gt;false&lt;/email&gt;</trans:misParse>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>15 Sky St.</vcard:Street>
+            <vcard:Pcode>53327</vcard:Pcode>
+            <vcard:Locality>New Bournemouth</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>41N</geo:lat>
+         <geo:long>69W</geo:long>
+      </pim:location>
+      <foaf:phone>123356</foaf:phone>
+      <foaf:phone>17893011734</foaf:phone>
+   </foaf:Person>
+
+     
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>26053006601</trans:NDC>
+      <trans:genericName>ATORVASTATIN TABLET</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>10</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>1 TAB</trans:packSize>
+      <trans:packType>PKG</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2007-07-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>   
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>63739043401</trans:NDC>
+      <trans:genericName>CHEWABLE ORANGE ASPIRIN TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>81</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>750</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2007-07-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug> 
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>55111019690</trans:NDC>
+      <trans:genericName>CLOPIDOGREL TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>75</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BOTL</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2008-03-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>  
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>54569597500</trans:NDC>
+      <trans:genericName>CARVEDILOL TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>6.25</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>60</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>b.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>90</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2008-03-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>2009-08-15</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug> 
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>54569529101</trans:NDC>
+      <trans:genericName>FLUOXETINE CAPSULES</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>20.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>60</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>CAPSULE</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>0</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2008-05-18</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+  <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>54569476401</trans:NDC>
+      <trans:genericName>DIAZEPAM TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>b.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>90</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2008-05-18</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>2009-08-15</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>54907010101</trans:NDC>
+      <trans:genericName>MEMANTINE HYDROCHLORIDE</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>DRUM</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>0</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Bill Stall</trans:prescribedBy>
+      <indivo:prescribedOn>2009-10-15</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+ 
+
+
+       
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>mild cognitive impairment</trans:diagnosedWith>
+            <trans:ICD9>290.0</trans:ICD9>
+            <trans:dateDiagnosed>2004-07-10</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Bill Stall</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>hypercholesterolaemia</trans:diagnosedWith>
+            <trans:ICD9>272</trans:ICD9>
+            <trans:dateDiagnosed>2007-07-20</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Bill Stall</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>myocardial infarction</trans:diagnosedWith>
+            <trans:ICD9>410.3</trans:ICD9>
+            <trans:dateDiagnosed>2008-03-18</trans:dateDiagnosed>
+            <indivo:diagnosedBy>William Tett</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>anxiety depression</trans:diagnosedWith>
+            <trans:ICD9>300.4</trans:ICD9>
+            <trans:dateDiagnosed>2008-05-16</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Bill Stall</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>alzheimer’s disease</trans:diagnosedWith>
+            <trans:ICD9>331</trans:ICD9>
+            <trans:dateDiagnosed>2009-10-15</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Bill Stall</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+      <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>Angioplasty with placement of a Stent</trans:procedureName>
+      <trans:ICD9procedure>36.06</trans:ICD9procedure>
+      <indivo:datePerformed>2008-03-18</indivo:datePerformed>
+      <trans:procedureNotes> …..</trans:procedureNotes>
+      <trans:referredBy>Bill Stall</trans:referredBy>
+      <trans:referredInstitution>Reed Hospital</trans:referredInstitution>
+   </trans:Procedure>
+            
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>measles</trans:diseaseName>
+            <indivo:dateAdministered>1942</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Bill Stall</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>mumps</trans:diseaseName>
+            <indivo:dateAdministered>1942</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Bill Stall</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>rubella</trans:diseaseName>
+            <indivo:dateAdministered>1950</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Bill Stall</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2006</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Bill Stall</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+   
+
+  
+  
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>1</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>2</trans:quantity>
+            <trans:date>2009-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>2</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>20</trans:averageDuration>
+            <trans:date>2009-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:packYears>0</trans:packYears>
+            <trans:history>never</trans:history>
+            <trans:date>2009-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>4</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>5</trans:wholeGrainsRating>
+            <trans:dairyRating>7</trans:dairyRating>
+            <trans:proteinRating>10</trans:proteinRating>
+            <trans:fatsRating>8</trans:fatsRating>
+            <trans:junkFoodRating>6</trans:junkFoodRating>
+            <trans:date>2009-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Mary</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>54</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Malaria</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>David</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>98</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Betty</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>62</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>alzheimer’s disease</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Tim</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>45</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>depression</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Elizabeth</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <!--@@ x_1="RA", whatever that means--><trans:medicalConditions>yes</trans:medicalConditions>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Frank</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Colorectal</trans:cancerType>
+            <trans:misParse>&lt;cancerTypeProstateAge&gt;62&lt;/cancerTypeProstateAge&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>brother</trans:relation>
+            <trans:fname>Tim</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2004-07-10</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jeff Down</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2004-07-17</trans:dateOfEncounter>
+      <trans:physician>Jeff Down</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:misParse>&lt;referredClinic&gt;Happy Days&lt;/referredClinic&gt;</trans:misParse>
+      <trans:misParse>&lt;referredBy&gt;Bill Stall&lt;/referredBy&gt;</trans:misParse>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>8.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>16.67</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2004-07-20</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">150</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">68</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">120</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">80</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">70</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.89</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.4</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.9</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.8</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.62</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.70</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.21</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.32</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.36</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>145</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>230</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.8</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>43</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>19</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>139</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>111</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.34</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;86593&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Syphilis test; quantitative</trans:testName>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2004-10-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI evaluation</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>ADmark Alzheimer's Evaluation</trans:testName>
+         <trans:referredTo>Jay Lynch</trans:referredTo>
+         <trans:referredClinic>Neuro Clinic</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs429358</trans:rs_Number>
+            <trans:variant_Synonyms>APOE4, NG_007084.2:g.7903T&gt;C</trans:variant_Synonyms>
+            <trans:gene_Symbol>APOE</trans:gene_Symbol>
+            <trans:gene_Name> apolipoprotein E</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>348</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID> NG_007084.2</trans:Accession_ID>
+            <trans:Gene_Region>coding_region</trans:Gene_Region>
+            <trans:DNA_Change>g.7903T&gt;C</trans:DNA_Change>
+            <trans:DNA_Change_Type>Substitution</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>C112R</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Missense</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>8.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>13.67</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>25</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>47</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>26</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>12</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.85&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.85&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.4&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.4&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.4&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.6&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;95.0&lt;/Tau&gt;
+       &lt;amyloid&gt;145.1&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-04-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>8.77</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>13.77</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>26</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;95.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>47</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>26</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>12</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.84&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.85&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.3&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.3&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.4&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.6&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;90.5&lt;/Tau&gt;
+       &lt;amyloid&gt;140.3&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-07-20</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">150</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">68</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">119</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">79</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">69</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">134</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.1</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">559</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.9</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.79</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.1</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.5</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.8</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.7</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.61</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.71</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.25</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.33</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.35</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>147</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>231</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.7</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>17.1</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.9</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>44</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>18</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.8</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>138</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.2</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.67</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>109</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>14</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.35</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-10-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>9.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>14.67</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>23</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>40</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>23</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>11</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.80&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.83&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.3&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.4&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.3&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.6&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;90.1&lt;/Tau&gt;
+       &lt;amyloid&gt;135.1&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2006-04-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>12.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>22.11</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>25</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>30</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>27</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>10</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.79&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.83&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.3&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.3&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.4&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.5&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;87.0&lt;/Tau&gt;
+       &lt;amyloid&gt;133.1&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2006-07-20</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">150</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">68</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">121</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">81</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">138</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.3</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.85</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.2</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.2</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.4</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.6</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>297</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.68</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.70</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.28</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.38</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.38</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>146</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>231</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.9</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>16</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.9</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>44</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>18</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>139</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.7</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.35</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2006-10-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>8.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>13.67</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>25</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>28</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>24</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>7</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.79&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.83&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.3&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.3&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.4&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.5&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;85.0&lt;/Tau&gt;
+       &lt;amyloid&gt;130.1&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2007-07-18</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">152</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">67</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">43</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">128</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">84</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">78</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.9</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.88</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.1</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.2</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.8</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.7</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.62</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.71</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.29</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.33</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.37</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>165</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>249</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.8</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>43</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>19</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.6</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>135</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.5</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.35</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Jay Lynch</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2007-10-01</trans:dateOfEncounter>
+      <trans:physician>Jay Lynch</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>ADNI</trans:medicalTest>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>13.67</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>21.00</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>24</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;total score&lt;/description&gt;</trans:misParse>
+            <trans:value>41</trans:value>
+            <trans:misParse>&lt;description&gt;total number correct (1+3)&lt;/description&gt;</trans:misParse>
+            <trans:value>19</trans:value>
+            <trans:misParse>&lt;description&gt;recognition score&lt;/description&gt;</trans:misParse>
+            <trans:value>7</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.77&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.82&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.3&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.3&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.3&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.4&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.6&lt;/cingulumPostBilateral&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;03.31&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Spinal tap</trans:testName>
+         <trans:misParse>&lt;results&gt;
+       &lt;Tau&gt;85.0&lt;/Tau&gt;
+       &lt;amyloid&gt;125.12&lt;/amyloid&gt;
+     &lt;/results&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2007-10-18</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>106</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>161</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-01-18</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>105</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>170</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>William Tett</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-03-18</trans:dateOfEncounter>
+      <trans:physician>William Tett</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>acute admission to hospital</trans:medicalTest>
+      <trans:reportedSymptoms>chest pains</trans:reportedSymptoms>
+      <trans:misParse>&lt;ICD9&gt;410.3&lt;/ICD9&gt;</trans:misParse>
+      <trans:workingDiagnosis>myocardial infarction</trans:workingDiagnosis>
+      <trans:misParse>&lt;physicianNotes&gt;...&lt;/physicianNotes&gt;</trans:misParse>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>93040</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Edward Schmidt</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>William Tett</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;abnormal&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http://</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>93040</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Edward Schmidt</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>William Tett</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;mildly abnormal&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http://</trans:originalImage>
+         <trans:physicianNotes>Mildly impaired left ventricular dysfunction, with wall motion defect</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>93040</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Edward Schmidt</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>William Tett</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;mildly abnormal&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http://</trans:originalImage>
+         <trans:physicianNotes>Mildly impaired left ventricular dysfunction, with wall motion defect</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#TNI"/>
+         <trans:CPT>???</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>TNI Biomarker</trans:testName>
+         <trans:referredTo>John Moles</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>William Tett</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;5.4&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Dying cardiac tissue</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#PT INR APTT Fibrogen"/>
+         <trans:CPT>???</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>PT INR APTT Fibrogen</trans:testName>
+         <trans:referredTo>John Moles</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>William Tett</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;normal&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Dying cardiac tissue</trans:physicianNotes>
+      </trans:test>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">150</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">68</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">120</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">80</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">70</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.89</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.4</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.9</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.8</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.62</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.70</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.21</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.32</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.36</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>102</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.8</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>43</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>19</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>139</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>109</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.34</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>105</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>165</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-03-19</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>myocardial infarction</trans:reportedSymptoms>
+      <trans:workingDiagnosis>myocardial infarction</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName/>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value/>
+            <trans:rs_Number>rs4244285</trans:rs_Number>
+            <trans:variant_Synonyms>CYP2C19; RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2C19</trans:gene_Symbol>
+            <trans:gene_Name> cytochrome P450, family 2, subfamily C, polypeptide 19</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1557</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>NG_008384.1</trans:Accession_ID>
+            <trans:Gene_Region>10:96512444-96602661(+)</trans:Gene_Region>
+            <trans:DNA_Change>G/C/A</trans:DNA_Change>
+            <trans:DNA_Change_Type>Synonymous</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>P227P</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type/>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-05-16</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Depression</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;xx&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Depression Questionnaire</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 21 point scale&lt;/description&gt;</trans:misParse>
+            <trans:value>39</trans:value>
+         </trans:result>
+         <trans:physicianNotes>myocardial infarction appears to have been the trigger. patient indicates inability to sleep, feelings of worthlessness, anxiety</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-05-17</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>depression</trans:reportedSymptoms>
+      <trans:workingDiagnosis>myocardial infarction</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1 )</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName/>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value/>
+            <trans:rs_Number>rs35742686</trans:rs_Number>
+            <trans:variant_Synonyms> RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2D6</trans:gene_Symbol>
+            <trans:gene_Name> cytochrome P450, family 2, subfamily D, polypeptide 6</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1565</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>NG_003180.2</trans:Accession_ID>
+            <trans:Gene_Region>22:40852447-40856827(-)</trans:Gene_Region>
+            <trans:DNA_Change>A/-</trans:DNA_Change>
+            <trans:DNA_Change_Type>Deletion</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>R259</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Frame shift</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-05-18</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Depression</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;xx&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Depression Questionnaire</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 21 point scale&lt;/description&gt;</trans:misParse>
+            <trans:value>38</trans:value>
+         </trans:result>
+         <trans:physicianNotes>myocardial infarction trigger. patient indicates inability to sleep, weight loss, feelings of worthlessness, anxiety</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-06-18</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Depression</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;xx&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Depression Questionnaire</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 21 point scale&lt;/description&gt;</trans:misParse>
+            <trans:value>25</trans:value>
+         </trans:result>
+         <trans:physicianNotes>appears to have improved. Stable mood.</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-07-20</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">150</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">68</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">121</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">81</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">75</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.4</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.80</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.1</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.6</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.4</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>290</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.61</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.69</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.21</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.31</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.35</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>appears to have improved. Stable mood.</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>161</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>235</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>appears to have improved. Stable mood.</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.7</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>44</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>18</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>appears to have improved. Stable mood.</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>138</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.2</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.65</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>109</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>14</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.5</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>appears to have improved. Stable mood.</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.33</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-15</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Confusion, Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Bill Stall</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-20</trans:dateOfEncounter>
+      <trans:physician>Bill Stall</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">152</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">67</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">23</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">39</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">125</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">85</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>12.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>3.87</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC>41654-5</trans:LOINC>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>97.3</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>32.8</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.7</trans:value>
+                  <trans:units>hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>290</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>4.61</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>1.70</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2.21</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.31</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.35</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>161</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> High-density lipoprotein</trans:description>
+                  <trans:value>45</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>229</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.7</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>16</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>44</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>19</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>139</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>5.3</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.66</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>9.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>9.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>15</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Bill Stall</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>1.34</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_2.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,3492 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 2
+$Id: AD_PCHR_2_Final.xml,v 1.7 2009/12/02 21:08:29 eric Exp $
+ -->
+<root>
+<Practice>
+    <practiceName>All Health</practiceName>
+    <practiceAddress>
+    <streetAddress>20 Earth St.</streetAddress>
+        <postalCode>53326</postalCode>
+        <locality>New Bournemouth</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+        <phoneNumber>17891011781</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Bill Stall</fullName>
+        <givenName>Bill</givenName>
+        <familyName>Stall</familyName>
+        <license>AP 2435677</license>   
+        <gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+
+<Demographics>
+    <dateOfBirth>1937-05-15</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Female</gender>
+    <ethnicity>Basque</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Widow</maritalStatus>
+    <employmentStatus>Retired</employmentStatus>
+    <employmentIndustry>Health Care</employmentIndustry>
+    <occupation>Nurse</occupation>
+    <religion>Catholic</religion>
+    <income>55,000 USD</income>
+    <highestEducation>High School</highestEducation>
+    <organDonor>true</organDonor>
+</Demographics>
+
+
+
+<Contact>
+    <name>
+        <fullName>Monica Mary Mall</fullName>
+        <givenName>Monica</givenName>
+        <familyName>Mall</familyName>
+    </name>
+    <email type="personal">
+        mmall@hotmail.com</email>
+    <email>false</email>
+    <address type="home">
+        <streetAddress>15 Sky St.</streetAddress>
+        <postalCode>53327</postalCode>
+        <locality>New Bournemouth</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>41N</latitude>
+        <longitude>69W</longitude>
+    </location>
+    <phoneNumber type="home">123356</phoneNumber>
+    <phoneNumber type="work">17893011734</phoneNumber>
+</Contact>
+
+   <prescriptions>  
+<drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>26053006601</NDC>
+       <genericName>ATORVASTATIN TABLET</genericName>
+       <strength>10</strength>
+       <unit>MG</unit>
+       <packSize>1 TAB</packSize>
+       <packType>PKG</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2007-07-20</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+   </drug>   
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>63739043401</NDC>
+       <genericName>CHEWABLE ORANGE ASPIRIN TABLETS</genericName>
+       <strength>81</strength>
+       <unit>MG</unit>
+       <packSize>750</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>  
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2007-07-20</datePrescribed>  
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+   </drug> 
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>55111019690</NDC>
+       <genericName>CLOPIDOGREL TABLETS</genericName>
+       <strength>75</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BOTL</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2008-03-20</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+   </drug>  
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>54569597500</NDC>
+       <genericName>CARVEDILOL TABLETS</genericName>
+       <strength>6.25</strength>
+       <unit>MG</unit>
+       <packSize>60</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>b.i.d.</frequency>  
+       <refill>3</refill>
+       <daysToTake>90</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2008-03-20</datePrescribed>
+       <datePrescriptionEnded>2009-08-15</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+   </drug> 
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>54569529101</NDC>
+       <genericName>FLUOXETINE CAPSULES</genericName>
+       <strength>20.00</strength>
+       <unit>MG</unit>
+       <packSize>60</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>CAPSULE</dosageName>
+       <frequency>o.d.</frequency>  
+       <refill>0</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2008-05-18</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+  </drug>
+  <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>54569476401</NDC>
+       <genericName>DIAZEPAM TABLETS</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>b.i.d.</frequency>  
+       <refill>3</refill>
+       <daysToTake>90</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2008-05-18</datePrescribed>
+       <datePrescriptionEnded>2009-08-15</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+   </drug>
+   <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>54907010101</NDC>
+       <genericName>MEMANTINE HYDROCHLORIDE</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>DRUM</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>  
+       <refill>0</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Bill Stall</prescribedBy>
+       <datePrescribed>2009-10-15</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+     <physicianNotes>...</physicianNotes>
+     </drug>
+ </prescriptions>
+
+
+  <conditions>     
+       <condition>
+           <diagnosedWith>mild cognitive impairment</diagnosedWith>
+           <ICD9>290.0</ICD9>
+          <dateDiagnosed>2004-07-10</dateDiagnosed>
+          <diagnosedBy>Bill Stall</diagnosedBy>
+     <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>hypercholesterolaemia</diagnosedWith>
+           <ICD9>272</ICD9>
+           <dateDiagnosed>2007-07-20</dateDiagnosed>
+           <diagnosedBy>Bill Stall</diagnosedBy>
+     <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>myocardial infarction</diagnosedWith>
+           <ICD9>410.3</ICD9>
+           <dateDiagnosed>2008-03-18</dateDiagnosed>
+           <diagnosedBy>William Tett</diagnosedBy>
+     <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>anxiety depression</diagnosedWith>
+           <ICD9>300.4</ICD9>
+           <dateDiagnosed>2008-05-16</dateDiagnosed>
+           <diagnosedBy>Bill Stall</diagnosedBy>
+     <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>alzheimer’s disease</diagnosedWith>
+           <ICD9>331</ICD9>
+           <dateDiagnosed>2009-10-15</dateDiagnosed>
+           <diagnosedBy>Bill Stall</diagnosedBy>
+     <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+      <procedure>   
+	   <procedureName>Angioplasty with placement of a Stent</procedureName>
+           <ICD9_Procedure>36.06</ICD9_Procedure>
+           <procedureDate>2008-03-18</procedureDate>
+           <procedureNotes> …..</procedureNotes>
+	<referredBy>Bill Stall</referredBy>
+           <referredInstitution>Reed Hospital</referredInstitution> 
+      </procedure>
+   </procedures>         
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>none</food>
+       <environment>none</environment>
+  </allergies>
+
+
+  <immunizations>
+      <measles>
+         <date>1942</date>
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Bill Stall</administeredBy>
+      </measles>
+      <mumps>
+         <date>1942</date>   
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+      <administeredBy>Bill Stall</administeredBy>
+      </mumps>
+      <rubella>
+         <date>1950</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Bill Stall</administeredBy>
+      </rubella>
+      <tetanus>
+         <date>2006</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Bill Stall</administeredBy>
+      </tetanus> 
+  </immunizations> 
+
+  
+<lifestyle>  
+       <alcoholConsumption>
+           <frequency>1</frequency>
+           <units>week</units>
+           <quantity>2</quantity>
+           <date>2009-08-15</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>2</frequency>
+           <units>week</units>
+           <averageDuration>20</averageDuration>
+           <date>2009-08-15</date>
+       </exercise>
+       <smoking>
+           <packYears>0</packYears>
+           <history>never</history>
+           <date>2009-08-15</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>4</fruitVegetablesRating>
+            <wholeGrainsRating>5</wholeGrainsRating>
+            <dairyRating>7</dairyRating>
+            <proteinRating>10</proteinRating>
+            <fatsRating>8</fatsRating>
+            <junkFoodRating>6</junkFoodRating>
+            <date>2009-08-15</date>
+       </diet>
+  </lifestyle>
+
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Mary</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>54</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Malaria</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>David</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>98</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Betty</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>62</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>alzheimer’s disease</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Tim</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>45</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>depression</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Elizabeth</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="RA">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Frank</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>yes</cancer>
+         <cancerType>Colorectal</cancerType>
+         <cancerTypeProstateAge>62</cancerTypeProstateAge>
+      </subject>
+      <subject id="7">
+         <relation>brother</relation>
+         <fname>Tim</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+</familyHistory>
+
+
+
+
+
+<Encounter>
+    <dateOfEncounter>2004-07-10</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+</Encounter>
+
+
+<Encounter>
+<dateOfEncounter>2004-07-17</dateOfEncounter>
+    <physician>Jeff Down</physician>
+    <referral>true</referral>
+       <referredClinic>Happy Days</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+          <ICD9>290.0</ICD9>
+          <ICD9Description></ICD9Description>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+           <value>8.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>16.67</value>
+       </result>
+       <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2004-07-20</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">150</weight>
+         <height units="inches">68</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">120</systolic>
+         <diastolic units="mmHg">80</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">70</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.89</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.4</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.9</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.8</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.62</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.70</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.21</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.32</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.36</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+     <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>145</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>230</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>17</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.8</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>43</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>19</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+     <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>139</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>111</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+    <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.34</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>	
+    </test>	
+
+    <test x_2="ICD9 Procedure">
+      <ICD9_Procedure>86593</ICD9_Procedure>
+      <testName>Syphilis test; quantitative</testName>
+      <!-- !!result>negative</result -->
+      <physicianNotes>...</physicianNotes>	
+      </test> 
+
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2004-10-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI evaluation</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+
+    <test x_2="Genotyping SNPs">
+       <CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+       <testName>ADmark Alzheimer's Evaluation</testName>
+       <referredTo>Jay Lynch</referredTo>
+       <referredClinic>Neuro Clinic</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result>
+          <value>abnormal</value>
+          <rs_Number> rs429358</rs_Number>
+          <variant_Synonyms>APOE4, NG_007084.2:g.7903T>C</variant_Synonyms>
+          <gene_Symbol>APOE</gene_Symbol>
+          <gene_Name> apolipoprotein E</gene_Name>
+          <ENTREZ_Gene_ID>348</ENTREZ_Gene_ID>
+          <Accession_ID> NG_007084.2</Accession_ID>
+          <Gene_Region>coding_region</Gene_Region>
+          <DNA_Change>g.7903T>C</DNA_Change>
+          <DNA_Change_Type>Substitution</DNA_Change_Type>
+          <Amino_Acid_Change>C112R</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Missense</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>8.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>13.67</value>
+       </result>
+       <physicianNotes>...</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>25</value>
+          </result>
+  <physicianNotes>...</physicianNotes>	
+</test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>47</value>
+          <description>total number correct (1+3)</description>
+          <value>26</value>
+          <description>recognition score</description>
+          <value>12</value>
+          </result>
+      <physicianNotes>...</physicianNotes>	
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.85</hippocampalLeft>
+          <hippocampalRight>0.85</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.4</temporalLeft>
+          <angularRight>1.4</angularRight>
+          <angularLeft>1.4</angularLeft>
+          <cingulumPostBilateral>1.6</cingulumPostBilateral>
+       </result>
+      <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>95.0</Tau>
+       <amyloid>145.1</amyloid>
+     </results>
+    <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2005-04-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>8.77</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>13.77</value>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>26</value>
+          </result>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>95.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>47</value>
+          <description>total number correct (1+3)</description>
+          <value>26</value>
+          <description>recognition score</description>
+          <value>12</value>
+          </result>
+     <physicianNotes>...</physicianNotes>
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.84</hippocampalLeft>
+          <hippocampalRight>0.85</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.3</temporalLeft>
+          <angularRight>1.3</angularRight>
+          <angularLeft>1.4</angularLeft>
+          <cingulumPostBilateral>1.6</cingulumPostBilateral>
+       </result>
+      <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>90.5</Tau>
+       <amyloid>140.3</amyloid>
+     </results>
+     <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+
+
+<Encounter>
+    <dateOfEncounter>2005-07-20</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">150</weight>
+         <height units="inches">68</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">119</systolic>
+         <diastolic units="mmHg">79</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">69</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">134</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.1</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">559</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.9</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.79</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.1</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.5</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.8</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.7</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.61</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.71</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.25</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.33</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.35</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>147</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>231</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.7</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>17.1</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.9</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>44</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>18</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.8</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>138</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.2</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.67</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>109</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>14</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.35</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+       <physicianNotes>...</physicianNotes>	
+    </test>	
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2005-10-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>9.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>14.67</value>
+       </result>
+      <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>23</value>
+          </result>
+     <physicianNotes>...</physicianNotes>	
+    </test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>40</value>
+          <description>total number correct (1+3)</description>
+          <value>23</value>
+          <description>recognition score</description>
+          <value>11</value>
+          </result>
+       <physicianNotes>...</physicianNotes>	
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.80</hippocampalLeft>
+          <hippocampalRight>0.83</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.3</temporalLeft>
+          <angularRight>1.4</angularRight>
+          <angularLeft>1.3</angularLeft>
+          <cingulumPostBilateral>1.6</cingulumPostBilateral>
+       </result>
+      <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>		
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>90.1</Tau>
+       <amyloid>135.1</amyloid>
+     </results>
+       <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+
+
+
+<Encounter>
+    <dateOfEncounter>2006-04-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>12.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>22.11</value>
+       </result>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>25</value>
+          </result>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>30</value>
+          <description>total number correct (1+3)</description>
+          <value>27</value>
+          <description>recognition score</description>
+          <value>10</value>
+          </result>
+        <physicianNotes>...</physicianNotes>
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.79</hippocampalLeft>
+          <hippocampalRight>0.83</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.3</temporalLeft>
+          <angularRight>1.3</angularRight>
+          <angularLeft>1.4</angularLeft>
+          <cingulumPostBilateral>1.5</cingulumPostBilateral>
+       </result>
+      <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest mild atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>87.0</Tau>
+       <amyloid>133.1</amyloid>
+     </results>
+      <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+
+
+<Encounter>
+    <dateOfEncounter>2006-07-20</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">150</weight>
+         <height units="inches">68</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">121</systolic>
+         <diastolic units="mmHg">81</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">138</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.3</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.85</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.2</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.2</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.4</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.6</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>297</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.68</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.70</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.28</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.38</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.38</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>146</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>231</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.9</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>16</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.9</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>44</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>18</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>139</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.7</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.35</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>	
+    </test>	
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2006-10-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>8.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>13.67</value>
+       </result>
+      <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>25</value>
+          </result>
+  <physicianNotes>...</physicianNotes>	
+</test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>28</value>
+          <description>total number correct (1+3)</description>
+          <value>24</value>
+          <description>recognition score</description>
+          <value>7</value>
+          </result>
+     <physicianNotes>...</physicianNotes>	
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.79</hippocampalLeft>
+          <hippocampalRight>0.83</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.3</temporalLeft>
+          <angularRight>1.3</angularRight>
+          <angularLeft>1.4</angularLeft>
+          <cingulumPostBilateral>1.5</cingulumPostBilateral>
+       </result>
+       <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>85.0</Tau>
+       <amyloid>130.1</amyloid>
+     </results>
+      <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2007-07-18</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">152</weight>
+         <height units="inches">67</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">43</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">128</systolic>
+         <diastolic units="mmHg">84</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">78</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.9</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.88</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.1</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.2</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.8</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.7</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.62</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.71</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.29</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.33</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.37</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>165</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>249</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>17</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.8</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>43</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>19</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.6</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>135</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.5</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.35</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+       <physicianNotes>...</physicianNotes>	
+    </test>	
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2007-10-01</dateOfEncounter>
+    <physician>Jay Lynch</physician>
+    <referral>true</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>ADNI</medicalTest>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>mild cognitive impairment</diagnosisDescription>
+          <ICD9>290.0</ICD9>
+          <ICD9Description> senile dementia, uncomplicated</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="ADAS Sub-Scores and Total Scores">
+           <description> Classic 70 point total. Excludes Q4 (Delayed      Word Recall) and Q14 (Number Cancellation)</description>
+           <value>13.67</value>
+           <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number Cancellation)</description>
+          <value>21.00</value>
+       </result>
+      <physicianNotes>...</physicianNotes>	
+    </test>
+
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Mini Mental State Exam">
+          <description>total score</description>
+          <value>24</value>
+          </result>
+  <physicianNotes>...</physicianNotes>	
+</test>
+
+  <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.08</ICD9_Procedure>
+       <testName>Other psychologic evaluation and testing</testName>     
+       <result x_4="Neuropsychological Battery">
+          <description>total score</description>
+          <value>41</value>
+          <description>total number correct (1+3)</description>
+          <value>19</value>
+          <description>recognition score</description>
+          <value>7</value>
+          </result>
+      <physicianNotes>...</physicianNotes>	
+  </test>
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain 
+</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          <hippocampalLeft>0.77</hippocampalLeft>
+          <hippocampalRight>0.82</hippocampalRight>
+          <temporalRight>1.3</temporalRight>
+          <temporalLeft>1.3</temporalLeft>
+          <angularRight>1.3</angularRight>
+          <angularLeft>1.4</angularLeft>
+          <cingulumPostBilateral>1.6</cingulumPostBilateral>
+       </result>
+       <physicianNotes>With respect to the medial temporal lobe: hippocampus; entorhinal cortex  and perirhinal cortex, There is evidence to suggest moderate atrophy indicative of Alzheimer's pathology in all three areas, except the right perirhinal cortex, which has moderate atrophy....</physicianNotes>		
+    </test>
+
+<test x_2="ICD9 Procedure">
+   <ICD9_Procedure>03.31</ICD9_Procedure>
+   <testName>Spinal tap</testName>
+     <results>
+       <Tau>85.0</Tau>
+       <amyloid>125.12</amyloid>
+     </results>
+      <physicianNotes>...</physicianNotes>
+     </test> 
+</Encounter>
+
+
+
+<Encounter>
+    <dateOfEncounter>2007-10-18</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>none</workingDiagnosis>
+ <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>106</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>161</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+       <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2008-01-18</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>none</workingDiagnosis>
+ <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>105</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>170</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+<dateOfEncounter>2008-03-18</dateOfEncounter>
+    <physician>William Tett</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>acute admission to hospital</medicalTest>	
+    <reportedSymptoms>chest pains</reportedSymptoms>
+    <ICD9>410.3</ICD9>
+    <workingDiagnosis>myocardial infarction</workingDiagnosis>
+    <physicianNotes>...</physicianNotes>	
+
+<test x_2="ECG">
+       <CPT>93040</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Edward Schmidt</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>William Tett</referredBy>
+       <result>
+          <testScore>abnormal</testScore>
+       </result>
+       <originalImage>http://</originalImage>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+<test x_2="ECG">
+       <CPT>93040</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Edward Schmidt</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>William Tett</referredBy>
+       <result>
+          <testScore>mildly abnormal</testScore>
+       </result>
+       <originalImage>http://</originalImage>
+       <physicianNotes>Mildly impaired left ventricular dysfunction, with wall motion defect</physicianNotes>
+    </test>
+
+<test x_2="ECG">
+       <CPT>93040</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Edward Schmidt</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>William Tett</referredBy>
+       <result>
+          <testScore>mildly abnormal</testScore>
+       </result>
+       <originalImage>http://</originalImage>
+       <physicianNotes>Mildly impaired left ventricular dysfunction, with wall motion defect</physicianNotes>
+    </test>
+
+<test x_2="TNI">
+       <CPT>???</CPT>
+       <testName>TNI Biomarker</testName>
+       <referredTo>John Moles</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>William Tett</referredBy>
+       <result>
+          <testScore>5.4</testScore>
+       </result>
+       <physicianNotes>Dying cardiac tissue</physicianNotes>
+    </test>
+
+<test x_2="PT INR APTT Fibrogen">
+       <CPT>???</CPT>
+       <testName>PT INR APTT Fibrogen</testName>
+       <referredTo>John Moles</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>William Tett</referredBy>
+       <result>
+          <testScore>normal</testScore>
+       </result>
+       <physicianNotes>Dying cardiac tissue</physicianNotes>
+    </test>
+
+   <physicalObservations>
+     <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">150</weight>
+         <height units="inches">68</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">120</systolic>
+         <diastolic units="mmHg">80</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">70</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.89</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.4</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.9</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.8</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.62</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.70</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.21</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.32</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.36</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+     <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>102</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.8</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>43</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>19</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+     <physicianNotes>...</physicianNotes>
+    </test>
+
+<test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>139</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>109</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+    <physicianNotes>...</physicianNotes>
+    </test>
+
+ <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.34</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>	
+    </test>	
+
+ <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>105</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>165</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+     <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+
+
+
+<Encounter>
+    <dateOfEncounter>2008-03-19</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>true</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>true</medicalTest>	
+    <reportedSymptoms>myocardial infarction</reportedSymptoms>
+    <workingDiagnosis>myocardial infarction</workingDiagnosis>
+<test x_2="Genotyping SNPs"> 
+     <CPT>83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+       <testName></testName>
+       <referredTo>Gene Cato</referredTo>
+       <referredClinic>Geno Clinic</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result>
+          <value></value>
+          <rs_Number>rs4244285</rs_Number>
+          <variant_Synonyms>CYP2C19; RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19</variant_Synonyms>
+          <gene_Symbol>CYP2C19</gene_Symbol>
+          <gene_Name> cytochrome P450, family 2, subfamily C, polypeptide 19</gene_Name>
+          <ENTREZ_Gene_ID>1557</ENTREZ_Gene_ID>
+          <Accession_ID>NG_008384.1</Accession_ID>
+          <Gene_Region>10:96512444-96602661(+)</Gene_Region>
+          <DNA_Change>G/C/A</DNA_Change>
+          <DNA_Change_Type>Synonymous</DNA_Change_Type>
+          <Amino_Acid_Change>P227P</Amino_Acid_Change>
+          <Amino_Acid_Change_Type></Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+ </Encounter>
+
+
+
+
+<Encounter>
+    <dateOfEncounter>2005-05-16</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Depression</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>anxiety depression</diagnosisDescription>
+          <ICD9>300.4</ICD9>
+          <ICD9Description> dysthymic disorder</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>xx</ICD9_Procedure>
+         <testName>Depression Questionnaire</testName>     
+         <result x_4="Hamilton Depression">
+        <description> Classic 21 point scale</description>
+        <value>39</value>
+       </result>
+      <physicianNotes>myocardial infarction appears to have been the trigger. patient indicates inability to sleep, feelings of worthlessness, anxiety</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2008-05-17</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>true</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>true</medicalTest>	
+    <reportedSymptoms>depression</reportedSymptoms>
+    <workingDiagnosis>myocardial infarction</workingDiagnosis><test x_2="Genotyping SNPs"> 
+    <CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1 )</CPT>
+       <testName></testName>
+       <referredTo>Gene Cato</referredTo>
+       <referredClinic>Geno Clinic</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <result>
+          <value></value>
+          <rs_Number>rs35742686</rs_Number>
+          <variant_Synonyms> RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1</variant_Synonyms>
+          <gene_Symbol>CYP2D6</gene_Symbol>
+          <gene_Name> cytochrome P450, family 2, subfamily D, polypeptide 6</gene_Name>
+          <ENTREZ_Gene_ID>1565</ENTREZ_Gene_ID>
+          <Accession_ID>NG_003180.2</Accession_ID>
+          <Gene_Region>22:40852447-40856827(-)</Gene_Region>
+          <DNA_Change>A/-</DNA_Change>
+          <DNA_Change_Type>Deletion</DNA_Change_Type>
+          <Amino_Acid_Change>R259</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Frame shift</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+ </Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2005-05-18</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Depression</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>anxiety depression</diagnosisDescription>
+          <ICD9>300.4</ICD9>
+          <ICD9Description> dysthymic disorder</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>xx</ICD9_Procedure>
+         <testName>Depression Questionnaire</testName>     
+         <result x_4="Hamilton Depression">
+        <description> Classic 21 point scale</description>
+        <value>38</value>
+       </result>
+      <physicianNotes>myocardial infarction trigger. patient indicates inability to sleep, weight loss, feelings of worthlessness, anxiety</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2005-06-18</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Depression</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>anxiety depression</diagnosisDescription>
+          <ICD9>300.4</ICD9>
+          <ICD9Description> dysthymic disorder</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+<test x_2="ICD9 Procedure">
+       <ICD9_Procedure>xx</ICD9_Procedure>
+         <testName>Depression Questionnaire</testName>     
+         <result x_4="Hamilton Depression">
+        <description> Classic 21 point scale</description>
+        <value>25</value>
+       </result>
+       <physicianNotes>appears to have improved. Stable mood.</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2008-07-20</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">150</weight>
+         <height units="inches">68</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">38</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">121</systolic>
+         <diastolic units="mmHg">81</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">75</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.4</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.80</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.1</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.6</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.4</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>290</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.61</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.69</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.21</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.31</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.35</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>appears to have improved. Stable mood.</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>161</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>235</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+       <physicianNotes>appears to have improved. Stable mood.</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.7</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>101</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.7</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>44</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>18</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>appears to have improved. Stable mood.</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>138</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.2</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.65</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>109</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>14</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.5</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>appears to have improved. Stable mood.</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.33</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>	
+    </test>	
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2009-07-15</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral> 
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Confusion, Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-07-20</dateOfEncounter>
+    <physician>Bill Stall</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">152</weight>
+         <height units="inches">67</height>
+         <BMI units="kg/m^2">23</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">39</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">125</systolic>
+         <diastolic units="mmHg">85</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+  <test x_2="Laboratory">   
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC>24360-0</LOINC>
+             <description>Hemogloblin</description>
+             <value>12.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC>LP7536-8</LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>3.87</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC>41654-5</LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>97.3</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>32.8</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.7</value>
+             <units>hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>290</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>4.61</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>1.70</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2.21</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.31</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.35</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+       <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>161</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> High-density lipoprotein</description>
+             <value>45</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>229</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+       <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.7</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>16</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>0.7</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>44</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>19</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+       <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>139</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>5.3</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>0.66</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.6</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>9.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>9.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>15</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>	
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Bill Stall</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>1.34</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+       <physicianNotes>...</physicianNotes>	
+    </test>	
+</Encounter>
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_3.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,3712 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Benny Smith</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Benny Smith</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td> 63856-223-40  </td>
+               <td>CODEINE TABLETS</td>
+               <td>30-60</td>
+               <td>MG</td>
+               <td>32</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2005-07-09</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td> 0025-1525-31 </td>
+               <td>CELECOXIB CAPSULES</td>
+               <td>200</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>capsule</td>
+               <td>bid</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2005-07-09</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>  67618-106-60 </td>
+               <td>DOCUSATE SODIUM CAPSULES</td>
+               <td>60</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>capsule</td>
+               <td>bid</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2006-11-11</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td> 0054-8486-16 </td>
+               <td>LACTULOSE</td>
+               <td>15</td>
+               <td>mls</td>
+               <td>40</td>
+               <td>Patient Cup</td>
+               <td>ORAL</td>
+               <td>liquid</td>
+               <td>bid</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2007-11-09</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td> 0179-0016-70 30  </td>
+               <td>OMEPRAZOLE CAPSULES</td>
+               <td>40</td>
+               <td>MG</td>
+               <td>30</td>
+               <td>Box</td>
+               <td>ORAL</td>
+               <td>capsule</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2007-11-09</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td> 0000</td>
+               <td>DONEPEZIL HYDROCHLORIDE TABLETS</td>
+               <td>10</td>
+               <td>MG</td>
+               <td>32</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Sridhar Banerjee</td>
+               <td>2009-11-09</td>
+               <td></td>
+               <td>...</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>Osteoarthrosis generalized involving hand</td>
+               <td>715.04</td>
+               <td>2001-01-03</td>
+               <td>Sridhar Banerjee</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Alzheimer's Disease</td>
+               <td>331</td>
+               <td>2005-11-03</td>
+               <td>Sridhar Banerjee</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Dyspepsia and other specified disorders of stomach</td>
+               <td>536.8</td>
+               <td>2007-09-23</td>
+               <td>Sridhar Banerjee</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>appendectomy via incision</td>
+               <td></td>
+               <td>1998-07-15</td>
+               <td></td>
+               <td>Sridhar Banerjee</td>
+               <td>Redding Hospital</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>none</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>measles</td>
+               <td>1952</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Sridhar Banerjee</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mumps</td>
+               <td>1952</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Sridhar Banerjee</td>
+            </tr>
+            
+            
+            <tr>
+               <td>rubella</td>
+               <td>1961</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Sridhar Banerjee</td>
+            </tr>
+            
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2005</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Sridhar Banerjee</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>5</td>
+               <td>week</td>
+               <td>3</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>1998-07-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>2</td>
+               <td>week</td>
+               <td></td>
+               <td>25</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>1998-07-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>36</td>
+               <td>1962</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>1998-07-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>1</td>
+               <td>0</td>
+               <td>7</td>
+               <td>8</td>
+               <td>5</td>
+               <td>1</td>
+               <td>1998-07-15</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Elsa</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>60</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>drowning</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Curt</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>83</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Greta</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>69</td>
+               <td>yes</td>
+               <td>Lung</td>
+               <td></td>
+               <td>Cancer</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Lean</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>65</td>
+               <td>yes</td>
+               <td>Lung</td>
+               <td></td>
+               <td>COPD</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Ida</td>
+               <td>Female</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Dieter</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>yes</td>
+               <td>Lung</td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">1996-09-12</a></td>
+                  <td>Sridhar Banerjee</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>14.0</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6.00</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>89.0</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>31.0</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>31.8</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>5000</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>67.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>23.0</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>4.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>4.1</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.11</td>
+                                    <td>%</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> LDL</td>
+                                    <td>101</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>140</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td> HDL</td>
+                                    <td>59</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>32</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>1.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>120</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>100</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.4</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>130</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>3.9</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>1.01</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>4.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>1.01</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>2.09</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4.0</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2002-07-15</a></td>
+                  <td>Sridhar Banerjee</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>14.0</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6.00</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>89.0</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>31.0</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>31.8</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>5000</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>67.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>23.0</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>4.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>4.1</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.11</td>
+                                    <td>%</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> LDL</td>
+                                    <td>101</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>140</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td> HDL</td>
+                                    <td>59</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>32</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>1.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>120</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>100</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.4</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>130</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>3.9</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>1.01</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>4.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>1.01</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>2.09</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4.0</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-11-05</a></td>
+                  <td>Sridhar Banerjee</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>14.0</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6.00</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>89.0</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>31.0</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>31.8</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>5000</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>67.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>23.0</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>4.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>4.1</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.11</td>
+                                    <td>%</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> LDL</td>
+                                    <td>101</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>140</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td> HDL</td>
+                                    <td>59</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>32</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>1.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>120</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>100</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.4</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>130</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>3.9</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>1.01</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>4.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>109</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>1.01</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>2.09</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4.0</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2003-17-05</a></td>
+                  <td>Mark Tourney</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td></td>
+                  <td>Declining memory false</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain</td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Sridhar Banerjee</td>
+                           <td>http:hospital.com/images/patient/5678</td>
+                           <td></td>
+                           <td>Cerebral atrophy and signs suggestive of dementia ...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>Falling results</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>28/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>14.0</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6.00</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>89.0</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>31.0</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>31.8</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>5000</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>67.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>23.0</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>4.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>4.1</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.11</td>
+                                    <td>%</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4.0</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2005-12-05</a></td>
+                  <td>Mark Tourney</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td></td>
+                  <td>Declining memory false</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain</td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Sridhar Banerjee</td>
+                           <td>http:hospital.com/images/patient/5678</td>
+                           <td></td>
+                           <td>Cerebral atrophy and signs suggestive of dementia ...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>Falling results</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>17/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>14.0</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6.00</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>89.0</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>31.0</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>31.8</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>5000</td>
+                                    <td>/mm³</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>67.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>23.0</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>4.2</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>4.1</td>
+                                    <td>%</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.11</td>
+                                    <td>%</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> LDL</td>
+                                    <td>101</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>140</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td> HDL</td>
+                                    <td>59</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>32</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>1.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>120</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>100</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>0.4</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>130</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>3.9</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>1.01</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>4.5</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>1.01</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>2.09</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.6</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Sridhar Banerjee</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4.0</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2007-10-15</a></td>
+                  <td>Mark Tourney</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td></td>
+                  <td>false false</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>27</td>
+                           <td>180</td>
+                           <td>73</td>
+                           <td>24</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>149</td>
+                           <td>91</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>72</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>140</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>420</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain</td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Sridhar Banerjee</td>
+                           <td>http:hospital.com/images/patient/5678</td>
+                           <td></td>
+                           <td>Cerebral atrophy and signs suggestive of dementia ...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>Falling results</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>15/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : Family Health</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>20 Water St.</td>
+               <td>53326</td>
+               <td>New Hope</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td>17891011782</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Sridhar Banerjee</td>
+                  <td>Sridhar</td>
+                  <td>Banerjee</td>
+                  <td>AF 6548392</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1946-12-07</td>
+               <td>XXXX-XX-XX</td>
+               <td>Male</td>
+               <td>Caucasian</td>
+               <td>EN</td>
+               <td>Married</td>
+               <td>Fulltime</td>
+               <td>Pharmaceutical</td>
+               <td>Scientist</td>
+               <td>Protestant</td>
+               <td>130,000 USD</td>
+               <td>PhD</td>
+               <td>true</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Benny Smith</td>
+               <td>Benny</td>
+               <td>Smith</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>5 Jogging St.</td>
+               <td>24652</td>
+               <td>Eels Village</td>
+               <td>Massachusetts</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_3.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,2305 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>Family Health</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>20 Water St.</vcard:Street>
+            <vcard:Pcode>53326</vcard:Pcode>
+            <vcard:Locality>New Hope</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+            <foaf:phone>17891011782</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Sridhar Banerjee</foaf:name>
+            <foaf:givenName>Sridhar</foaf:givenName>
+            <foaf:familyName>Banerjee</foaf:familyName>
+            <trans:license>AF 6548392</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1946-12-07</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Male</indivo:gender>
+      <indivo:ethnicity>Caucasian</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Married</indivo:maritalStatus>
+      <indivo:employmentStatus>Fulltime</indivo:employmentStatus>
+      <indivo:employmentIndustry>Pharmaceutical</indivo:employmentIndustry>
+      <indivo:occupation>Scientist</indivo:occupation>
+      <indivo:religion>Protestant</indivo:religion>
+      <indivo:income>130,000 USD</indivo:income>
+      <indivo:highestEducation>PhD</indivo:highestEducation>
+      <indivo:organDonor>true</indivo:organDonor>
+   </trans:Demographics>
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Benny Smith</foaf:name>
+      <foaf:givenName>Benny</foaf:givenName>
+      <foaf:familyName>Smith</foaf:familyName>
+      <!--work mbox--><foaf:mbox>
+        benny.smith@pharma.com
+    </foaf:mbox>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>5 Jogging St.</vcard:Street>
+            <vcard:Pcode>24652</vcard:Pcode>
+            <vcard:Locality>Eels Village</vcard:Locality>
+            <vcard:Region>Massachusetts</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>40N</geo:lat>
+         <geo:long>68W</geo:long>
+      </pim:location>
+      <foaf:phone>123123</foaf:phone>
+      <foaf:phone>1789772413</foaf:phone>
+      <foaf:accountName>BennyS</foaf:accountName>
+   </foaf:Person>
+
+   
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC> 63856-223-40  </trans:NDC>
+      <trans:genericName>CODEINE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>30-60</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>32</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2005-07-09</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC> 0025-1525-31 </trans:NDC>
+      <trans:genericName>CELECOXIB CAPSULES</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>200</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>capsule</trans:dosageName>
+      <trans:frequency>bid</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2005-07-09</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>  67618-106-60 </trans:NDC>
+      <trans:genericName>DOCUSATE SODIUM CAPSULES</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>60</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>capsule</trans:dosageName>
+      <trans:frequency>bid</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2006-11-11</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC> 0054-8486-16 </trans:NDC>
+      <trans:misParse>&lt;misparse&gt;Unit Dose Patient Cup™ filled to deliver 30 mL, ten 30 mL Patient Cups™ per shelf pack, four shelf packs per shipper&lt;/misparse&gt;</trans:misParse>
+      <trans:genericName>LACTULOSE</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>15</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>mls</trans:unit>
+      <trans:packSize>40</trans:packSize>
+      <trans:packType>Patient Cup</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>liquid</trans:dosageName>
+      <trans:frequency>bid</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2007-11-09</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC> 0179-0016-70 30  </trans:NDC>
+      <trans:genericName>OMEPRAZOLE CAPSULES</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>40</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>30</trans:packSize>
+      <trans:packType>Box</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>capsule</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2007-11-09</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC> 0000</trans:NDC>
+      <trans:genericName>DONEPEZIL HYDROCHLORIDE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>10</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>32</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Sridhar Banerjee</trans:prescribedBy>
+      <indivo:prescribedOn>2009-11-09</indivo:prescribedOn>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+  
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Osteoarthrosis generalized involving hand</trans:diagnosedWith>
+            <trans:ICD9>715.04</trans:ICD9>
+            <trans:dateDiagnosed>2001-01-03</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Sridhar Banerjee</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Alzheimer's Disease</trans:diagnosedWith>
+            <trans:ICD9>331</trans:ICD9>
+            <trans:dateDiagnosed>2005-11-03</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Sridhar Banerjee</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Dyspepsia and other specified disorders of stomach</trans:diagnosedWith>
+            <trans:ICD9>536.8</trans:ICD9>
+            <trans:dateDiagnosed>2007-09-23</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Sridhar Banerjee</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+      <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>appendectomy via incision</trans:procedureName>
+      <trans:ICD9>47.09</trans:ICD9>
+      <indivo:datePerformed>1998-07-15</indivo:datePerformed>
+      <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+      <trans:referredInstitution>Redding Hospital</trans:referredInstitution>
+   </trans:Procedure>
+            
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>measles</trans:diseaseName>
+            <indivo:dateAdministered>1952</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Sridhar Banerjee</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>mumps</trans:diseaseName>
+            <indivo:dateAdministered>1952</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Sridhar Banerjee</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>rubella</trans:diseaseName>
+            <indivo:dateAdministered>1961</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Sridhar Banerjee</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2005</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Sridhar Banerjee</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+   
+
+  
+  
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>5</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>3</trans:quantity>
+            <trans:date>1998-07-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>2</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>25</trans:averageDuration>
+            <trans:date>1998-07-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:packYears>36</trans:packYears>
+            <trans:history>1962</trans:history>
+            <trans:date>1998-07-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>1</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>0</trans:wholeGrainsRating>
+            <trans:dairyRating>7</trans:dairyRating>
+            <trans:proteinRating>8</trans:proteinRating>
+            <trans:fatsRating>5</trans:fatsRating>
+            <trans:junkFoodRating>1</trans:junkFoodRating>
+            <trans:date>1998-07-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Elsa</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>60</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>drowning</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Curt</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>83</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Greta</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>69</trans:ageAtDeath>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Lung</trans:cancerType>
+            <trans:misParse>&lt;cancerTypeLunglAge&gt;62&lt;/cancerTypeLunglAge&gt;</trans:misParse>
+            <trans:causeOfDeath>Cancer</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Lean</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>65</trans:ageAtDeath>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Lung</trans:cancerType>
+            <trans:misParse>&lt;cancerTypeLunglAge&gt;62&lt;/cancerTypeLunglAge&gt;</trans:misParse>
+            <trans:causeOfDeath>COPD</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Ida</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <trans:misParse>&lt;medicalConditions x_1="Asthma"&gt;yes&lt;/medicalConditions&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Dieter</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Lung</trans:cancerType>
+            <trans:misParse>&lt;cancerTypeLunglAge&gt;62&lt;/cancerTypeLunglAge&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Sridhar Banerjee</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>1996-09-12</trans:dateOfEncounter>
+      <trans:physician>Sridhar Banerjee</trans:physician>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>14.0</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6.00</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>89.0</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>31.0</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>31.8</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>5000</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>67.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>23.0</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>4.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>4.1</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.11</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> LDL</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description> HDL</trans:description>
+                  <trans:value>59</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>32</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>1.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>120</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>100</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>130</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>3.9</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>4.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4.0</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Sridhar Banerjee</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2002-07-15</trans:dateOfEncounter>
+      <trans:physician>Sridhar Banerjee</trans:physician>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>14.0</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6.00</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>89.0</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>31.0</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>31.8</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>5000</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>67.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>23.0</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>4.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>4.1</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.11</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> LDL</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description> HDL</trans:description>
+                  <trans:value>59</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>32</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>1.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>120</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>100</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>130</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>3.9</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>4.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4.0</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Sridhar Banerjee</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-11-05</trans:dateOfEncounter>
+      <trans:physician>Sridhar Banerjee</trans:physician>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>14.0</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6.00</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>89.0</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>31.0</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>31.8</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>5000</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>67.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>23.0</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>4.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>4.1</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.11</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> LDL</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description> HDL</trans:description>
+                  <trans:value>59</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>32</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>1.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>120</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>100</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>130</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>3.9</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>4.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>109</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4.0</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Mark Tourney</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2003-17-05</trans:dateOfEncounter>
+      <trans:physician>Mark Tourney</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Cerebral atrophy and signs suggestive of dementia</trans:physicianNotes>
+         <trans:originalImage>http:hospital.com/images/patient/5678</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park
+	   &lt;/description&gt;</trans:misParse>
+            <trans:value>28/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>Falling results</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>14.0</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6.00</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>89.0</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>31.0</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>31.8</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>5000</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>67.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>23.0</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>4.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>4.1</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.11</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4.0</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Mark Tourney</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2005-12-05</trans:dateOfEncounter>
+      <trans:physician>Mark Tourney</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:reportedSymptoms>Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Cerebral atrophy and signs suggestive of dementia</trans:physicianNotes>
+         <trans:originalImage>http:hospital.com/images/patient/5678</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park
+	   &lt;/description&gt;</trans:misParse>
+            <trans:value>17/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>Falling results</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>14.0</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6.00</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>89.0</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>31.0</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>31.8</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>5000</trans:value>
+                  <trans:units>/mm³</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>67.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>23.0</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>4.2</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>4.1</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.11</trans:value>
+                  <trans:units>%</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> LDL</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description> HDL</trans:description>
+                  <trans:value>59</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>32</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>1.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>120</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>100</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>130</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>3.9</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>4.5</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4.0</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Mark Tourney</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2007-10-15</trans:dateOfEncounter>
+      <trans:physician>Mark Tourney</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">27</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">180</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">73</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">24</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">149</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">91</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">72</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">140</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">420</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Sridhar Banerjee</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Cerebral atrophy and signs suggestive of dementia</trans:physicianNotes>
+         <trans:originalImage>http:hospital.com/images/patient/5678</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park
+	   &lt;/description&gt;</trans:misParse>
+            <trans:value>15/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>Falling results</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_3.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1945 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 3 - Diagnosed based on reported symptoms, ADAS COG score.
+$Id: AD_PCHR_3-2-1.xml,v 1.7 2009/12/02 21:08:29 eric Exp $
+ -->
+<root>
+<Practice>
+    <practiceName>Family Health</practiceName>
+    <practiceAddress>
+    <streetAddress>20 Water St.</streetAddress>
+        <postalCode>53326</postalCode>
+        <locality>New Hope</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+        <phoneNumber>17891011782</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Sridhar Banerjee</fullName>
+        <givenName>Sridhar</givenName>
+        <familyName>Banerjee</familyName>
+        <!-- license>111110</license --><!-- DEA Number -->
+        <license>AF 6548392</license><!-- from http://esw.w3.org/topic/HCLSIG/PharmaOntology/Data/FakePatients -->
+        <gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1946-12-07</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Male</gender>
+    <ethnicity>Caucasian</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Married</maritalStatus>
+    <employmentStatus>Fulltime</employmentStatus>
+    <employmentIndustry>Pharmaceutical</employmentIndustry>
+    <occupation>Scientist</occupation>
+    <religion>Protestant</religion>
+    <income>130,000 USD</income>
+    <highestEducation>PhD</highestEducation>
+    <organDonor>true</organDonor>
+</Demographics>
+
+<Contact>
+    <name>
+        <fullName>Benny Smith</fullName>
+        <givenName>Benny</givenName>
+        <familyName>Smith</familyName>
+    </name>
+    <email type="work">
+        benny.smith@pharma.com
+    </email>
+    <address type="home">
+        <streetAddress>5 Jogging St.</streetAddress>
+        <postalCode>24652</postalCode>
+        <locality>Eels Village</locality>
+        <region>Massachusetts</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>40N</latitude>
+        <longitude>68W</longitude>
+    </location>
+    <phoneNumber type="home">123123</phoneNumber>
+    <phoneNumber type="work">1789772413</phoneNumber>
+    <instantMessengerName protocol="aim">BennyS</instantMessengerName>
+</Contact>
+
+   <prescriptions>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC> 63856-223-40  </NDC>
+       <genericName>CODEINE TABLETS</genericName>
+       <strength>30-60</strength>
+       <unit>MG</unit>
+       <packSize>32</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2005-07-09</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC> 0025-1525-31 </NDC>
+       <genericName>CELECOXIB CAPSULES</genericName>
+       <strength>200</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BOT</packType>   
+       <routeName>ORAL</routeName>
+       <dosageName>capsule</dosageName>
+       <frequency>bid</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2005-07-09</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>  67618-106-60 </NDC>
+       <genericName>DOCUSATE SODIUM CAPSULES</genericName>
+       <strength>60</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>capsule</dosageName>
+       <frequency>bid</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2006-11-11</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC> 0054-8486-16 </NDC> <misparse>Unit Dose Patient Cup™ filled to deliver 30 mL, ten 30 mL Patient Cups™ per shelf pack, four shelf packs per shipper</misparse>
+       <genericName>LACTULOSE</genericName>
+       <strength>15</strength>
+       <unit>mls</unit>
+       <packSize>40</packSize>
+       <packType>Patient Cup</packType> 
+       <routeName>ORAL</routeName>
+       <dosageName>liquid</dosageName>
+       <frequency>bid</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2007-11-09</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC> 0179-0016-70 30  </NDC>
+       <genericName>OMEPRAZOLE CAPSULES</genericName>
+       <strength>40</strength>
+       <unit>MG</unit>
+       <packSize>30</packSize>
+       <packType>Box</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>capsule</dosageName>
+       <frequency>q.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2007-11-09</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC> 0000</NDC>
+       <genericName>DONEPEZIL HYDROCHLORIDE TABLETS</genericName>
+       <strength>10</strength>
+       <unit>MG</unit>
+       <packSize>32</packSize>                              
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>
+       <refill>3</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Sridhar Banerjee</prescribedBy>
+       <datePrescribed>2009-11-09</datePrescribed>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+  </prescriptions>
+
+
+  <conditions>
+       <condition>
+           <diagnosedWith>Osteoarthrosis generalized involving hand</diagnosedWith>
+    <ICD9>715.04</ICD9>
+           <dateDiagnosed>2001-01-03</dateDiagnosed>
+           <diagnosedBy>Sridhar Banerjee</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>Alzheimer's Disease</diagnosedWith>
+    <ICD9>331</ICD9>
+           <dateDiagnosed>2005-11-03</dateDiagnosed>
+           <diagnosedBy>Sridhar Banerjee</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>Dyspepsia and other specified disorders of stomach</diagnosedWith>
+    <ICD9>536.8</ICD9>
+           <dateDiagnosed>2007-09-23</dateDiagnosed>
+           <diagnosedBy>Sridhar Banerjee</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+      <procedure>
+	   <procedureName>appendectomy via incision</procedureName>
+       <ICD9>47.09</ICD9>
+           <procedureDate>1998-07-15</procedureDate>
+           <referredBy>Sridhar Banerjee</referredBy>
+           <referredInstitution>Redding Hospital</referredInstitution> 
+      </procedure>
+   </procedures>         
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>none</food>
+       <environment>none</environment>
+  </allergies>
+
+
+  <immunizations>
+      <measles>
+         <date>1952</date>
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Sridhar Banerjee</administeredBy>
+      </measles>
+      <mumps>
+         <date>1952</date>   
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+      <administeredBy>Sridhar Banerjee</administeredBy>
+      </mumps>
+      <rubella>
+         <date>1961</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Sridhar Banerjee</administeredBy>
+      </rubella>
+      <tetanus>
+         <date>2005</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Sridhar Banerjee</administeredBy>
+      </tetanus> 
+  </immunizations> 
+
+  
+<lifestyle>  
+       <alcoholConsumption>
+           <frequency>5</frequency>
+           <units>week</units>
+           <quantity>3</quantity>
+           <date>1998-07-15</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>2</frequency>
+           <units>week</units>
+           <averageDuration>25</averageDuration>
+           <date>1998-07-15</date>
+       </exercise>
+       <smoking>
+	   <packYears>36</packYears>
+           <history>1962</history>
+           <date>1998-07-15</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>1</fruitVegetablesRating>
+            <wholeGrainsRating>0</wholeGrainsRating>
+            <dairyRating>7</dairyRating>
+            <proteinRating>8</proteinRating>
+            <fatsRating>5</fatsRating>
+            <junkFoodRating>1</junkFoodRating>
+            <date>1998-07-15</date>
+       </diet>
+  </lifestyle>
+
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Elsa</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>60</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>drowning</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Curt</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>83</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Greta</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>69</ageAtDeath>
+         <cancer>yes</cancer>
+         <cancerType>Lung</cancerType>
+         <cancerTypeLunglAge>62</cancerTypeLunglAge>
+         <causeOfDeath>Cancer</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Lean</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>65</ageAtDeath>
+         <cancer>yes</cancer>
+         <cancerType>Lung</cancerType>
+         <cancerTypeLunglAge>62</cancerTypeLunglAge>
+        <causeOfDeath>COPD</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Ida</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="Asthma">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Dieter</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>yes</cancer>
+         <cancerType>Lung</cancerType>
+         <cancerTypeLunglAge>62</cancerTypeLunglAge>
+      </subject>
+</familyHistory>
+
+
+<Encounter>
+    <dateOfEncounter>1996-09-12</dateOfEncounter>
+    <physician>Sridhar Banerjee</physician>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>14.0</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6.00</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>89.0</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>31.0</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>31.8</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>5000</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>67.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>23.0</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>4.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>4.1</value>
+             <units>%</units>
+          </testCode>
+           <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.11</value>
+             <units>%</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> LDL</description>
+             <value>101</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>140</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="HDL">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description> HDL</description>
+             <value>59</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>32</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>1.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>120</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>100</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.4</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>130</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>3.9</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>1.01</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>4.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>1.01</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>2.09</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4.0</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2002-07-15</dateOfEncounter>
+    <physician>Sridhar Banerjee</physician>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>14.0</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6.00</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>89.0</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>31.0</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>31.8</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>5000</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>67.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>23.0</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>4.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>4.1</value>
+             <units>%</units>
+          </testCode>
+           <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.11</value>
+             <units>%</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> LDL</description>
+             <value>101</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>140</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="HDL">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description> HDL</description>
+             <value>59</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>32</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>1.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>120</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>100</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.4</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>130</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>3.9</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>1.01</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>4.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>1.01</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>2.09</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4.0</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2008-11-05</dateOfEncounter>
+    <physician>Sridhar Banerjee</physician>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>14.0</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6.00</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>89.0</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>31.0</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>31.8</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>5000</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>67.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>23.0</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>4.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>4.1</value>
+             <units>%</units>
+          </testCode>
+           <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.11</value>
+             <units>%</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> LDL</description>
+             <value>101</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>140</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="HDL">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description> HDL</description>
+             <value>59</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>32</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>1.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>120</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>100</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.4</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>130</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>3.9</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>1.01</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>4.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>109</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>1.01</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>2.09</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4.0</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2003-17-05</dateOfEncounter>
+    <physician>Mark Tourney</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Alzheimer's disease</diagnosisDescription>
+          <ICD9>331</ICD9>
+       </preliminaryDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>88.91</ICD9_Procedure>
+	   <testName>Magnetic resonance imaging of brain and brain</testName>
+	   <referredTo>David Tork</referredTo>
+	   <referredClinic>Warrington Hospital</referredClinic>
+	   <referredBy>Sridhar Banerjee</referredBy>
+	<result x_4="DICOM 3.0 Image Data">
+	   <hippocampalLeft>0.75</hippocampalLeft>
+	   <hippocampalRight>0.72</hippocampalRight>
+	   <temporalRight>1.10</temporalRight>
+	   <temporalLeft>1.09</temporalLeft>
+	   <angularRight>1.13</angularRight>
+	   <angularLeft>1.14</angularLeft>
+	   <cingulumPostBilateral>1.07</cingulumPostBilateral>
+	   <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+	</result>
+	   <physicianNotes>Cerebral atrophy and signs suggestive of dementia</physicianNotes>
+	   <originalImage>http:hospital.com/images/patient/5678</originalImage>
+      <physicianNotes>...</physicianNotes>
+	</test>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park
+	   </description>
+	   <value>28/30</value>
+	</result>
+	   <physicianNotes>Falling results</physicianNotes>
+	</test>
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>14.0</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6.00</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>89.0</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>31.0</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>31.8</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>5000</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>67.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>23.0</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>4.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>4.1</value>
+             <units>%</units>
+          </testCode>
+           <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.11</value>
+             <units>%</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4.0</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2005-12-05</dateOfEncounter>
+    <physician>Mark Tourney</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <reportedSymptoms>Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Alzheimer's disease</diagnosisDescription>
+          <ICD9>331</ICD9>
+       </preliminaryDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>88.91</ICD9_Procedure>
+	   <testName>Magnetic resonance imaging of brain and brain</testName>
+	   <referredTo>David Tork</referredTo>
+	   <referredClinic>Warrington Hospital</referredClinic>
+	   <referredBy>Sridhar Banerjee</referredBy>
+	<result x_4="DICOM 3.0 Image Data">
+	   <hippocampalLeft>0.75</hippocampalLeft>
+	   <hippocampalRight>0.72</hippocampalRight>
+	   <temporalRight>1.10</temporalRight>
+	   <temporalLeft>1.09</temporalLeft>
+	   <angularRight>1.13</angularRight>
+	   <angularLeft>1.14</angularLeft>
+	   <cingulumPostBilateral>1.07</cingulumPostBilateral>
+	   <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+	</result>
+	   <physicianNotes>Cerebral atrophy and signs suggestive of dementia</physicianNotes>
+	   <originalImage>http:hospital.com/images/patient/5678</originalImage>
+      <physicianNotes>...</physicianNotes>
+	</test>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park
+	   </description>
+	   <value>17/30</value>
+	</result>
+	   <physicianNotes>Falling results</physicianNotes>
+	</test>
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>14.0</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6.00</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>89.0</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>31.0</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>31.8</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>5000</value>
+             <units>/mm³</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>67.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>23.0</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>4.2</value>
+             <units>%</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>4.1</value>
+             <units>%</units>
+          </testCode>
+           <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.11</value>
+             <units>%</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> LDL</description>
+             <value>101</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>140</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="HDL">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description> HDL</description>
+             <value>59</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>32</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>1.1</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>120</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>100</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>0.4</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>130</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>3.9</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>1.01</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>4.5</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>1.01</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>2.09</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.6</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Sridhar Banerjee</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4.0</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2007-10-15</dateOfEncounter>
+    <physician>Mark Tourney</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Alzheimer's disease</diagnosisDescription>
+          <ICD9>331</ICD9>
+       </preliminaryDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <referral>false</referral>
+    <reportedSymptoms>false</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">27</x6_bodyFat>
+         <weight units="pounds">180</weight>
+         <height units="inches">73</height>
+         <BMI units="kg/m^2">24</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">149</systolic>
+         <diastolic units="mmHg">91</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">72</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">140</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">420</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>88.91</ICD9_Procedure>
+	   <testName>Magnetic resonance imaging of brain and brain</testName>
+	   <referredTo>David Tork</referredTo>
+	   <referredClinic>Warrington Hospital</referredClinic>
+	   <referredBy>Sridhar Banerjee</referredBy>
+	<result x_4="DICOM 3.0 Image Data">
+	   <hippocampalLeft>0.75</hippocampalLeft>
+	   <hippocampalRight>0.72</hippocampalRight>
+	   <temporalRight>1.10</temporalRight>
+	   <temporalLeft>1.09</temporalLeft>
+	   <angularRight>1.13</angularRight>
+	   <angularLeft>1.14</angularLeft>
+	   <cingulumPostBilateral>1.07</cingulumPostBilateral>
+	   <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+	</result>
+	   <physicianNotes>Cerebral atrophy and signs suggestive of dementia</physicianNotes>
+	   <originalImage>http:hospital.com/images/patient/5678</originalImage>
+      <physicianNotes>...</physicianNotes>
+	</test>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park
+	   </description>
+	   <value>15/30</value>
+	</result>
+	   <physicianNotes>Falling results</physicianNotes>
+	</test>
+</Encounter>
+
+
+</root>
+<!--
+	Eric, I have tried to do all changes proposed by Chris. The duplications might show to be to simple, we will see what Chris thinks. Hope the XML works.
+
+-->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_4.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1879 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Edward Quesada</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Edward Quesada</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>00179178370</td>
+               <td>TEGRETOL TABLETS EXTENDED RELEASE</td>
+               <td>400</td>
+               <td>MG</td>
+               <td>30</td>
+               <td>BOXUD</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>t.i.d.</td>
+               <td>3</td>
+               <td>ongoing</td>
+               <td>Margaret Cho</td>
+               <td>1989-05-15</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>11071084201</td>
+               <td>DONEPEZIL HYDROCHLORIDE TABLETS</td>
+               <td>10</td>
+               <td>MG</td>
+               <td>AS ORDERED</td>
+               <td>BLPK</td>
+               <td>DRUM</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>2</td>
+               <td>ongoing</td>
+               <td>Margaret Cho</td>
+               <td>2009-08-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>54569597500</td>
+               <td>CARVEDILOL TABLETS</td>
+               <td>6.25</td>
+               <td>MG</td>
+               <td>60</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>b.i.d.</td>
+               <td>1</td>
+               <td>ongoing</td>
+               <td>Margaret Cho</td>
+               <td>2009-05-20</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>Epilepsy and recurrent seizures</td>
+               <td>345</td>
+               <td>1950-05-15</td>
+               <td>C. Everett Koop</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Hypertension</td>
+               <td>402.1</td>
+               <td>1995-05-20</td>
+               <td>Bert Sackmann</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Alzheimer’s Dementia</td>
+               <td>331.0</td>
+               <td>2009-05-20</td>
+               <td>Margaret Cho</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>open repair of direct inguinal hernia</td>
+               <td></td>
+               <td>1995-07-01</td>
+               <td>...</td>
+               <td>Margaret Cho</td>
+               <td>JFK Hospital</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>broccoli</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>dander</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2005</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Margaret Cho</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>2</td>
+               <td>week</td>
+               <td>1</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>0</td>
+               <td>week</td>
+               <td></td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>50</td>
+               <td>quit</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2008-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>10</td>
+               <td>7</td>
+               <td>4</td>
+               <td>8</td>
+               <td>4</td>
+               <td>2</td>
+               <td>2004-08-15</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Consuela</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>55</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Stroke</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Eduardo</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>81</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Janet</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>62</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>MyocardialInfarction</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Gary</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>45</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Automobile Accident</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Elizabeth</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>71</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Jose</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>66</td>
+               <td>yes</td>
+               <td>Prostate</td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2001-06-15</a></td>
+                  <td>Margaret Cho</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>epilepsy</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83900; 83890</td>
+                           <td>HLA-B 1502 Genotype; Carbamazepine Hypersensitivity</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>absent</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83891, 83892(x2), 83898(x2), 83894(x2), 83912, 83912-26</td>
+                           <td>Cytochrome P450 1A2 Genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					CYPIA2; P450-P3; P(3)450; P450 4
+                                       				
+                                    </td>
+                                    <td>CYP1A2</td>
+                                    <td> Cytochrome P450, family 1, subfamily A, polypeptide 2</td>
+                                    <td>24297</td>
+                                    <td>???</td>
+                                    <td>
+                                       					Chromosome 8, NC_005107.2 (61439090..61445532, complement)
+                                       				
+                                    </td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83890, 83892, 83896(x5), 83900, 83912</td>
+                           <td>Cytochrome P450 2C9 Genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					CPC9, CYP2C, CYP2C10, MGC149605, MGC88320, P450IIC9
+                                       				
+                                    </td>
+                                    <td>CYP2C9</td>
+                                    <td> Cytochrome P450, family 2, subfamily C, polypeptide 9</td>
+                                    <td>1559</td>
+                                    <td></td>
+                                    <td>
+                                       					Chromosome 10, NC_000010.10 (96698415..96749148)
+                                       				
+                                    </td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>83890, 83892, 83896(x7), 83900, 83912</td>
+                           <td>Cytochrome P450 2C19 Genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19
+                                       				
+                                    </td>
+                                    <td>CYP2C19</td>
+                                    <td> Cytochrome P450, family 2, subfamily C, polypeptide 19</td>
+                                    <td>1557</td>
+                                    <td></td>
+                                    <td>
+                                       					Chromosome 10, NC_000010.10 (96522463..96612671)
+                                       				
+                                    </td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>
+                              				83890, 83901(x2), 83892, 83900, 83912, 83914(x17)
+                              			
+                           </td>
+                           <td>Cytochrome P450 2C19 Genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1
+                                       				
+                                    </td>
+                                    <td>CYP2D6</td>
+                                    <td> Cytochrome P450, family 2, subfamily D, polypeptide 6</td>
+                                    <td>1565</td>
+                                    <td></td>
+                                    <td>
+                                       					Chromosome 22, NC_000022.10 (42522501..42526883, complement)
+                                       				
+                                    </td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2003-07-15</a></td>
+                  <td>Margaret Cho</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Nausea</td>
+                  <td>
+                     			
+                     			
+                     		
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>
+                              				83891(x9), 83898(x18), 83898(x18), 83894(x9),
+                              				83894(x9), 83904(x18), 83904(x18), 83892(x2), 88386, 83912(x2)
+                              			
+                           </td>
+                           <td>Ornithine Transcarbamylase Genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					MGC129967, MGC129968, MGC138856, OCTD, Ornithine carbamoyltransferase, mitochondrial precursor, Ornithine transcarbamylase,
+                                       OTCase
+                                       				
+                                    </td>
+                                    <td>OTC</td>
+                                    <td>ornithine carbamoyltransferase</td>
+                                    <td>5009</td>
+                                    <td>K02100</td>
+                                    <td>Chromosome X: 38,211,798-38,280,703(+)</td>
+                                    <td>C/T</td>
+                                    <td>Missense</td>
+                                    <td>Q78*</td>
+                                    <td>Stop Gained</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>
+                              			
+                           </td>
+                           <td>carbamoyl-phosphate synthetase 1 genotyping</td>
+                           <td>Gene Cato</td>
+                           <td>Geno Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>Genetic testing for Urea Metabolism</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>normal</td>
+                                    <td></td>
+                                    <td>
+                                       					carbamoyl-phosphate synthetase 1, mitochondrial
+                                       				
+                                    </td>
+                                    <td>CPS1</td>
+                                    <td>carbamoyl-phosphate synthetase 1, mitochondrial</td>
+                                    <td>1373</td>
+                                    <td>K02100</td>
+                                    <td>10:96688430-96739137(+)</td>
+                                    <td>C/T</td>
+                                    <td>Missense</td>
+                                    <td>R144C</td>
+                                    <td>Nonsynonymous</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-01-20</a></td>
+                  <td>Margaret Cho</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Physical</td>
+                  <td>none</td>
+                  <td>none</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Night</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>82465</td>
+                                    <td></td>
+                                    <td>Total serum cholesterol</td>
+                                    <td>199</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>154</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> Cholesterol (HDL cholesterol) </td>
+                                    <td>38</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>229</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-15</a></td>
+                  <td>Margaret Cho</td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td> Confusion, Declining memory </td>
+                  <td>
+                     			
+                     			
+                     		
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and 
+                              	automated differential WBC count
+                           </td>
+                           <td>Janet Night</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td>24360-0</td>
+                                    <td>Hemogloblin</td>
+                                    <td>140</td>
+                                    <td>g/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td>LP7536-8</td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>5</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>90</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>30</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>6</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>26499-4</td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>7</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>26474-7</td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>26484-6</td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>26449-9</td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td>25444-0</td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.1</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85045</td>
+                                    <td>14196-0</td>
+                                    <td>Blood count; reticulocyte count, flow cytometry</td>
+                                    <td>20</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85652</td>
+                                    <td>4537-7</td>
+                                    <td>Erythrocyte Sedimentation Rate</td>
+                                    <td>13</td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Night</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.9</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>36</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>13</td>
+                                    <td>mcmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Bilirubin, Direct</td>
+                                    <td>2</td>
+                                    <td>mcmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>120</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Albumin, serum, plasma or whole blood</td>
+                                    <td>3.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84460</td>
+                                    <td></td>
+                                    <td>Alanine amino transferase</td>
+                                    <td>50</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80053</td>
+                           <td>Comprehensive metabolic panel</td>
+                           <td>Janet Night</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80053</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ComprehensiveMetabolicPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>140</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>4</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>0.102</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.6</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Total Calcium</td>
+                                    <td>2.09</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>6</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Night</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>3</td>
+                                    <td>mU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-16</a></td>
+                  <td>Hans Gerhard Creutzfeldt</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td> Confusion, Declining memory </td>
+                  <td>
+                     		   
+                     		   
+                     		
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Other psychologic evaluation and testing</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>32 45</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain 
+                              	
+                           </td>
+                           <td>Michael Dolenz</td>
+                           <td>Warrington Hospital</td>
+                           <td>Margaret Cho</td>
+                           <td>http:hospital.com/images/patient/yadayada</td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td>ADmark Alzheimer's Evaluation</td>
+                           <td>Neurologist Vince</td>
+                           <td>Neuro Clinic</td>
+                           <td>Margaret Cho</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs429358</td>
+                                    <td>APOE4, NG_007084.2:g.7903T&gt;C</td>
+                                    <td>APOE</td>
+                                    <td> apolipoprotein E</td>
+                                    <td>348</td>
+                                    <td> NG_007084.2</td>
+                                    <td>coding_region</td>
+                                    <td>g.7903T&gt;C</td>
+                                    <td>Substitution</td>
+                                    <td>C112R</td>
+                                    <td>Missense</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : Endocrine Associates</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>15 Colfax Ave.</td>
+               <td>07090</td>
+               <td>Westfield</td>
+               <td>New Jersey</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td>19082331782</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Margaret Cho</td>
+                  <td>Margaret</td>
+                  <td>Cho</td>
+                  <td>AT7584763</td>
+                  <td>female</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1931-09-12</td>
+               <td>XXXX-XX-XX</td>
+               <td>Male</td>
+               <td>Hispanic</td>
+               <td>EN</td>
+               <td>Married</td>
+               <td>Retired</td>
+               <td>Education</td>
+               <td>Teacher</td>
+               <td>Jewish</td>
+               <td>70,000 USD</td>
+               <td>MS</td>
+               <td>true</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Edward Quesada</td>
+               <td>Edward</td>
+               <td>Quesada</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>1855 Oak Tree Rd.</td>
+               <td>08837</td>
+               <td>Edison</td>
+               <td>New Jersey</td>
+               <td>US</td>
+               <td>-5GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+      	  
+      	  
+      	  
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      	
+      	  
+      
+      	
+      	  	
+      	
+      	  
+      	
+      	  
+      
+      	
+      	  
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_4.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1208 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>Endocrine Associates</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>15 Colfax Ave.</vcard:Street>
+            <vcard:Pcode>07090</vcard:Pcode>
+            <vcard:Locality>Westfield</vcard:Locality>
+            <vcard:Region>New Jersey</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+            <foaf:phone>19082331782</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Margaret Cho</foaf:name>
+            <foaf:givenName>Margaret</foaf:givenName>
+            <foaf:familyName>Cho</foaf:familyName>
+            <trans:license>AT7584763</trans:license>
+            <foaf:gender>female</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1931-09-12</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Male</indivo:gender>
+      <indivo:ethnicity>Hispanic</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Married</indivo:maritalStatus>
+      <indivo:employmentStatus>Retired</indivo:employmentStatus>
+      <indivo:employmentIndustry>Education</indivo:employmentIndustry>
+      <indivo:occupation>Teacher</indivo:occupation>
+      <indivo:religion>Jewish</indivo:religion>
+      <indivo:income>70,000 USD</indivo:income>
+      <indivo:highestEducation>MS</indivo:highestEducation>
+      <indivo:organDonor>true</indivo:organDonor>
+   </trans:Demographics>
+
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Edward Quesada</foaf:name>
+      <foaf:givenName>Edward</foaf:givenName>
+      <foaf:familyName>Quesada</foaf:familyName>
+      <!--personal mbox--><foaf:mbox>
+        eq@hotmail.com
+    </foaf:mbox>
+      <!--work mbox--><foaf:mbox>
+        equesada@msscc.edu
+    </foaf:mbox>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>1855 Oak Tree Rd.</vcard:Street>
+            <vcard:Pcode>08837</vcard:Pcode>
+            <vcard:Locality>Edison</vcard:Locality>
+            <vcard:Region>New Jersey</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-5GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>40.572888N</geo:lat>
+         <geo:long>74.339295W</geo:long>
+      </pim:location>
+      <foaf:phone>190823456</foaf:phone>
+      <foaf:phone>19081011734</foaf:phone>
+      <foaf:accountName>eques</foaf:accountName>
+   </foaf:Person>
+
+
+	  <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>00179178370</trans:NDC>
+      <trans:genericName>TEGRETOL TABLETS EXTENDED RELEASE</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>400</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>30</trans:packSize>
+      <trans:packType>BOXUD</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>t.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Margaret Cho</trans:prescribedBy>
+      <indivo:prescribedOn>1989-05-15</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+	  <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>11071084201</trans:NDC>
+      <trans:genericName>DONEPEZIL HYDROCHLORIDE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>10</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>AS ORDERED</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>DRUM</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>2</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Margaret Cho</trans:prescribedBy>
+      <indivo:prescribedOn>2009-08-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+	  <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>54569597500</trans:NDC>
+      <trans:genericName>CARVEDILOL TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>6.25</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>60</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>b.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>1</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Margaret Cho</trans:prescribedBy>
+      <indivo:prescribedOn>2009-05-20</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+
+
+     
+   <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Epilepsy and recurrent seizures</trans:diagnosedWith>
+            <trans:ICD9>345</trans:ICD9>
+            <trans:dateDiagnosed>1950-05-15</trans:dateDiagnosed>
+            <indivo:diagnosedBy>C. Everett Koop</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Hypertension</trans:diagnosedWith>
+            <trans:ICD9>402.1</trans:ICD9>
+            <trans:dateDiagnosed>1995-05-20</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Bert Sackmann</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Alzheimer’s Dementia</trans:diagnosedWith>
+            <trans:ICD9>331.0</trans:ICD9>
+            <trans:dateDiagnosed>2009-05-20</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Margaret Cho</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+
+
+
+
+  <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>open repair of direct inguinal hernia</trans:procedureName>
+      <trans:ICD9>53.01</trans:ICD9>
+      <indivo:datePerformed>1995-07-01</indivo:datePerformed>
+      <trans:procedureNotes>...</trans:procedureNotes>
+      <trans:referredBy>Margaret Cho</trans:referredBy>
+      <trans:referredInstitution>JFK Hospital</trans:referredInstitution>
+   </trans:Procedure>
+         
+
+
+
+   <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>broccoli</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>dander</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+
+
+
+
+  <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2005</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Margaret Cho</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+ 
+
+  
+  
+   <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>2</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>1</trans:quantity>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>0</trans:averageDuration>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:packYears>50</trans:packYears>
+            <trans:history>quit</trans:history>
+            <trans:date>2008-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+   <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>10</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>7</trans:wholeGrainsRating>
+            <trans:dairyRating>4</trans:dairyRating>
+            <trans:proteinRating>8</trans:proteinRating>
+            <trans:fatsRating>4</trans:fatsRating>
+            <trans:junkFoodRating>2</trans:junkFoodRating>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+
+
+
+
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Consuela</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>55</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Stroke</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Eduardo</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>81</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Janet</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>62</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>MyocardialInfarction</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Gary</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>45</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Automobile Accident</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Elizabeth</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>71</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:misParse>&lt;medicalConditions&gt;MyocardialInfarction&lt;/medicalConditions&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+  <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Jose</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>66</trans:ageAtDeath>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Prostate</trans:cancerType>
+            <trans:misParse>&lt;cancerTypeProstateAge&gt;62&lt;/cancerTypeProstateAge&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+	
+	  <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Margaret Cho</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2001-06-15</trans:dateOfEncounter>
+      <trans:physician>Margaret Cho</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>epilepsy</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping HLA-B*1502"/>
+         <trans:CPT>83900; 83890</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>HLA-B 1502 Genotype; Carbamazepine Hypersensitivity</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>absent</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping 1A2"/>
+         <trans:CPT>83891, 83892(x2), 83898(x2), 83894(x2), 83912, 83912-26</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Cytochrome P450 1A2 Genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					CYPIA2; P450-P3; P(3)450; P450 4
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP1A2</trans:gene_Symbol>
+            <trans:gene_Name> Cytochrome P450, family 1, subfamily A, polypeptide 2</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>24297</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>???</trans:Accession_ID>
+            <trans:Gene_Region>
+					Chromosome 8, NC_005107.2 (61439090..61445532, complement)
+				</trans:Gene_Region>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping 2C9"/>
+         <trans:CPT>83890, 83892, 83896(x5), 83900, 83912</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Cytochrome P450 2C9 Genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					CPC9, CYP2C, CYP2C10, MGC149605, MGC88320, P450IIC9
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2C9</trans:gene_Symbol>
+            <trans:gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 9</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1559</trans:ENTREZ_Gene_ID>
+            <trans:Gene_Region>
+					Chromosome 10, NC_000010.10 (96698415..96749148)
+				</trans:Gene_Region>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping 2C19"/>
+         <trans:CPT>83890, 83892, 83896(x7), 83900, 83912</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Cytochrome P450 2C19 Genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2C19</trans:gene_Symbol>
+            <trans:gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 19</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1557</trans:ENTREZ_Gene_ID>
+            <trans:Gene_Region>
+					Chromosome 10, NC_000010.10 (96522463..96612671)
+				</trans:Gene_Region>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping 2D6"/>
+         <trans:CPT>
+				83890, 83901(x2), 83892, 83900, 83912, 83914(x17)
+			</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Cytochrome P450 2C19 Genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>CYP2D6</trans:gene_Symbol>
+            <trans:gene_Name> Cytochrome P450, family 2, subfamily D, polypeptide 6</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1565</trans:ENTREZ_Gene_ID>
+            <trans:Gene_Region>
+					Chromosome 22, NC_000022.10 (42522501..42526883, complement)
+				</trans:Gene_Region>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:misParse>&lt;physicianNotes&gt;Genetic testing for metabolism issues with Tegretol(Carbamazapine) or Valproate&lt;/physicianNotes&gt;</trans:misParse>
+   </trans:Encounter>
+
+	
+	  <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Margaret Cho</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2003-07-15</trans:dateOfEncounter>
+      <trans:physician>Margaret Cho</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>Nausea</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+			
+			
+		</trans:workingDiagnosis>
+      <trans:misParse>&lt;physicalObervations&gt;
+			&lt;bodyFat_x5&gt;
+				&lt;x6_bodyFat units="percent"&gt;24&lt;/x6_bodyFat&gt;
+				&lt;weight units="pounds"&gt;160&lt;/weight&gt;
+				&lt;height units="inches"&gt;70&lt;/height&gt;
+				&lt;BMI units="kg/m^2"&gt;23&lt;/BMI&gt;
+			&lt;/bodyFat_x5&gt;
+			&lt;waistToHips&gt;
+				&lt;waist units="inches"&gt;38&lt;/waist&gt;
+				&lt;hips units="inches"&gt;42&lt;/hips&gt;
+				&lt;waistToHip&gt;0.9&lt;/waistToHip&gt;
+			&lt;/waistToHips&gt;
+			&lt;bloodPressure&gt;
+				&lt;systolic units="mmHg"&gt;151&lt;/systolic&gt;
+				&lt;diastolic units="mmHg"&gt;92&lt;/diastolic&gt;
+			&lt;/bloodPressure&gt;
+			&lt;restingHeartRate&gt;
+				&lt;restingHeartRate units="BPM"&gt;77&lt;/restingHeartRate&gt;
+			&lt;/restingHeartRate&gt;
+			&lt;stamina&gt;
+				&lt;finalHeartRate units="BPM"&gt;135&lt;/finalHeartRate&gt;
+				&lt;predictedVO2Max units="ml/kg/min"&gt;49.2&lt;/predictedVO2Max&gt;
+			&lt;/stamina&gt;
+			&lt;lungFunction&gt;
+				&lt;PEFR units="L/min"&gt;560&lt;/PEFR&gt;
+			&lt;/lungFunction&gt;
+		&lt;/physicalObervations&gt;</trans:misParse>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#OTC Deficiency"/>
+         <trans:CPT>
+				83891(x9), 83898(x18), 83898(x18), 83894(x9),
+				83894(x9), 83904(x18), 83904(x18), 83892(x2), 88386, 83912(x2)
+			</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Ornithine Transcarbamylase Genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					MGC129967, MGC129968, MGC138856, OCTD, Ornithine carbamoyltransferase, mitochondrial precursor, Ornithine transcarbamylase, OTCase
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>OTC</trans:gene_Symbol>
+            <trans:gene_Name>ornithine carbamoyltransferase</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>5009</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>K02100</trans:Accession_ID>
+            <trans:Gene_Region>Chromosome X: 38,211,798-38,280,703(+)</trans:Gene_Region>
+            <trans:DNA_Change>C/T</trans:DNA_Change>
+            <trans:DNA_Change_Type>Missense</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>Q78*</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Stop Gained</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#CPS1 Deficiency"/>
+         <trans:CPT>
+			</trans:CPT>
+         <trans:misParse>&lt;ICD9&gt;270.6&lt;/ICD9&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>carbamoyl-phosphate synthetase 1 genotyping</trans:testName>
+         <trans:referredTo>Gene Cato</trans:referredTo>
+         <trans:referredClinic>Geno Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>normal</trans:value>
+            <trans:variant_Synonyms>
+					carbamoyl-phosphate synthetase 1, mitochondrial
+				</trans:variant_Synonyms>
+            <trans:gene_Symbol>CPS1</trans:gene_Symbol>
+            <trans:gene_Name>carbamoyl-phosphate synthetase 1, mitochondrial</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>1373</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID>K02100</trans:Accession_ID>
+            <trans:Gene_Region>10:96688430-96739137(+)</trans:Gene_Region>
+            <trans:DNA_Change>C/T</trans:DNA_Change>
+            <trans:DNA_Change_Type>Missense</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>R144C</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Nonsynonymous</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>Genetic testing for Urea Metabolism</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>	
+	
+	  <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Margaret Cho</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-01-20</trans:dateOfEncounter>
+      <trans:physician>Margaret Cho</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Physical</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>none</trans:workingDiagnosis>
+      <trans:misParse>&lt;physicalObervations&gt;
+			&lt;bloodPressure&gt;
+				&lt;systolic units="mmHg"&gt;125&lt;/systolic&gt;
+				&lt;diastolic units="mmHg"&gt;85&lt;/diastolic&gt;
+			&lt;/bloodPressure&gt;
+			&lt;restingHeartRate&gt;
+				&lt;restingHeartRate units="BPM"&gt;76&lt;/restingHeartRate&gt;
+			&lt;/restingHeartRate&gt;
+		&lt;/physicalObervations&gt;</trans:misParse>
+      <trans:misParse>&lt;physicianNotes&gt;...&lt;/physicianNotes&gt;</trans:misParse>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Night</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+				           <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TC</trans:x_3>
+                  <trans:CPT>82465</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Total serum cholesterol</trans:description>
+                  <trans:value>199</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+				           <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>154</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+				           <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Cholesterol (HDL cholesterol) </trans:description>
+                  <trans:value>38</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+				           <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>229</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+			         </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+	
+	  <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Margaret Cho</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-15</trans:dateOfEncounter>
+      <trans:physician>Margaret Cho</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms> Confusion, Declining memory </trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+			
+			
+		</trans:workingDiagnosis>
+      <trans:misParse>&lt;physicalObervations&gt;
+			&lt;bodyFat_x5&gt;
+			 &lt;x6_bodyFat units="percent"&gt;24&lt;/x6_bodyFat&gt;
+			 &lt;weight units="pounds"&gt;160&lt;/weight&gt;
+			 &lt;height units="inches"&gt;70&lt;/height&gt;
+			 &lt;BMI units="kg/m^2"&gt;23&lt;/BMI&gt;
+			&lt;/bodyFat_x5&gt;
+			&lt;waistToHips&gt;
+			 &lt;waist units="inches"&gt;38&lt;/waist&gt;
+			 &lt;hips units="inches"&gt;42&lt;/hips&gt;
+			 &lt;waistToHip&gt;0.9&lt;/waistToHip&gt;
+			&lt;/waistToHips&gt;
+			&lt;bloodPressure&gt;
+			 &lt;systolic units="mmHg"&gt;151&lt;/systolic&gt;
+			 &lt;diastolic units="mmHg"&gt;92&lt;/diastolic&gt;
+			&lt;/bloodPressure&gt;
+			&lt;restingHeartRate&gt;
+				&lt;restingHeartRate units="BPM"&gt;77&lt;/restingHeartRate&gt;
+			&lt;/restingHeartRate&gt;
+			&lt;stamina&gt;
+			 &lt;finalHeartRate units="BPM"&gt;135&lt;/finalHeartRate&gt;
+			 &lt;predictedVO2Max units="ml/kg/min"&gt;49.2&lt;/predictedVO2Max&gt;
+			&lt;/stamina&gt;
+			&lt;lungFunction&gt;
+			 &lt;PEFR units="L/min"&gt;560&lt;/PEFR&gt;
+			&lt;/lungFunction&gt;
+		&lt;/physicalObervations&gt;</trans:misParse>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and 
+	automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Night</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC>24360-0</trans:LOINC>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>g/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC>LP7536-8</trans:LOINC>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>90</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>30</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>6</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC>26499-4</trans:LOINC>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>7</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC>26474-7</trans:LOINC>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC>26484-6</trans:LOINC>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC>26449-9</trans:LOINC>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABAS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC>25444-0</trans:LOINC>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.1</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ARET</trans:x_3>
+                  <trans:CPT>85045</trans:CPT>
+                  <trans:LOINC>14196-0</trans:LOINC>
+                  <trans:description>Blood count; reticulocyte count, flow cytometry</trans:description>
+                  <trans:value>20</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ESR</trans:x_3>
+                  <trans:CPT>85652</trans:CPT>
+                  <trans:LOINC>4537-7</trans:LOINC>
+                  <trans:description>Erythrocyte Sedimentation Rate</trans:description>
+                  <trans:value>13</trans:value>
+                  <trans:units/>
+               </trans:testCode>
+		          </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Night</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.9</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>36</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>13</trans:value>
+                  <trans:units>mcmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>DBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Bilirubin, Direct</trans:description>
+                  <trans:value>2</trans:value>
+                  <trans:units>mcmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>120</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Albumin, serum, plasma or whole blood</trans:description>
+                  <trans:value>3.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALT</trans:x_3>
+                  <trans:CPT>84460</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Alanine amino transferase</trans:description>
+                  <trans:value>50</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+		          </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:misParse>&lt;testCode x_3="GGT"&gt;
+				 &lt;CPT&gt;82977&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Serum Gamma Glutamyl Transferase&lt;/description&gt;
+				 &lt;value&gt;234&lt;/value&gt;
+				 &lt;units&gt;IU/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="CRP"&gt;
+				 &lt;CPT&gt;86140&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Serum C-Reactive Protein&lt;/description&gt;
+				 &lt;value&gt;0.5&lt;/value&gt;
+				 &lt;units&gt;mg/L&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="CAI"&gt;
+				 &lt;CPT&gt;82330&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Ionized Calcium&lt;/description&gt;
+				 &lt;value&gt;1.01&lt;/value&gt;
+				 &lt;units&gt;mmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="PSA"&gt;
+				 &lt;CPT&gt;84153&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Prostate Specific Antigen&lt;/description&gt;
+				 &lt;value&gt;3&lt;/value&gt;
+				 &lt;units&gt;mcg/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="FT4"&gt;
+				 &lt;CPT&gt;84439&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Free Thyroxine&lt;/description&gt;
+				 &lt;value&gt;21&lt;/value&gt;
+				 &lt;units&gt;pmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="FT3"&gt;
+				 &lt;CPT&gt;84481&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Free Triiodothyronine&lt;/description&gt;
+				 &lt;value&gt;5&lt;/value&gt;
+				 &lt;units&gt;pmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="ACTH"&gt;
+				 &lt;CPT&gt;82024&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Adrenocorticotropic Hormone&lt;/description&gt;
+				 &lt;value&gt;4&lt;/value&gt;
+				 &lt;units&gt;pmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="COR"&gt;
+				 &lt;CPT&gt;82533&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Cortisol&lt;/description&gt;
+				 &lt;value&gt;500&lt;/value&gt;
+				 &lt;units&gt;nmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="CK"&gt;
+				 &lt;CPT&gt;82550&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Creatine Kinase&lt;/description&gt;
+				 &lt;value&gt;1.01&lt;/value&gt;
+				 &lt;units&gt;mmol/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="LDH"&gt;
+				 &lt;CPT&gt;83615&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Lactase Dehydrogenase&lt;/description&gt;
+				 &lt;value&gt;201&lt;/value&gt;
+				 &lt;units&gt;IU/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="AMY"&gt;
+				 &lt;CPT&gt;82150&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Amylase&lt;/description&gt;
+				 &lt;value&gt;90&lt;/value&gt;
+				 &lt;units&gt;IU/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="PT"&gt;
+				 &lt;CPT&gt;85610&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Prothrombin time&lt;/description&gt;
+				 &lt;value&gt;11&lt;/value&gt;
+				 &lt;units&gt;s&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="INR"&gt;
+				 &lt;CPT&gt;99636&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;International Normalized Ratio&lt;/description&gt;
+				 &lt;value&gt;1.1&lt;/value&gt;
+				 &lt;units&gt; &lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="FBR"&gt;
+				 &lt;CPT&gt;85384&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Fibrinogen&lt;/description&gt;
+				 &lt;value&gt;3&lt;/value&gt;
+				 &lt;units&gt;g/l&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="BT"&gt;
+				 &lt;CPT&gt;85002&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Bleeding Time&lt;/description&gt;
+				 &lt;value&gt;6&lt;/value&gt;
+				 &lt;units&gt;min&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:misParse>&lt;testCode x_3="CARB"&gt;
+				 &lt;CPT&gt;80156&lt;/CPT&gt;
+				 &lt;LOINC&gt;&lt;/LOINC&gt;
+				 &lt;description&gt;Carbamazepine levels&lt;/description&gt;
+				 &lt;value&gt;6&lt;/value&gt;
+				 &lt;units&gt;mcg/ml&lt;/units&gt;
+			  &lt;/testCode&gt;</trans:misParse>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80053</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Comprehensive metabolic panel</trans:testName>
+         <trans:referredTo>Janet Night</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:testSet>
+            <ComprehensiveMetabolicPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80053</trans:x_3>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>0.102</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.6</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Total Calcium</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>6</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+		          </ComprehensiveMetabolicPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Night</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+			            <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>3</trans:value>
+                  <trans:units>mU/ml</trans:units>
+               </trans:testCode>
+		          </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:misParse>&lt;physicianNotes&gt;...&lt;/physicianNotes&gt;</trans:misParse>
+   </trans:Encounter>
+
+	
+	  <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Hans Gerhard Creutzfeldt</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-16</trans:dateOfEncounter>
+      <trans:physician>Hans Gerhard Creutzfeldt</trans:physician>
+      <trans:referral>true</trans:referral>
+      <trans:misParse>&lt;referredClinic&gt;Happy Daze&lt;/referredClinic&gt;</trans:misParse>
+      <trans:misParse>&lt;referredBy&gt;Margaret Cho&lt;/referredBy&gt;</trans:misParse>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms> Confusion, Declining memory </trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+		   
+		   
+		</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Other psychologic evaluation and testing</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt; Classic 70 point total. Excludes Q4 (Delayed Word Recall) and Q14 
+	(Number Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>32</trans:value>
+            <trans:misParse>&lt;description&gt;85 point total including Q4 (Delayed Word Recall) and Q14 (Number 
+	Cancellation)&lt;/description&gt;</trans:misParse>
+            <trans:value>45</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain 
+	</trans:testName>
+         <trans:referredTo>Michael Dolenz</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http:hospital.com/images/patient/yadayada</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>ADmark Alzheimer's Evaluation</trans:testName>
+         <trans:referredTo>Neurologist Vince</trans:referredTo>
+         <trans:referredClinic>Neuro Clinic</trans:referredClinic>
+         <trans:referredBy>Margaret Cho</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs429358</trans:rs_Number>
+            <trans:variant_Synonyms>APOE4, NG_007084.2:g.7903T&gt;C</trans:variant_Synonyms>
+            <trans:gene_Symbol>APOE</trans:gene_Symbol>
+            <trans:gene_Name> apolipoprotein E</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>348</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID> NG_007084.2</trans:Accession_ID>
+            <trans:Gene_Region>coding_region</trans:Gene_Region>
+            <trans:DNA_Change>g.7903T&gt;C</trans:DNA_Change>
+            <trans:DNA_Change_Type>Substitution</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>C112R</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Missense</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:misParse>&lt;physicianNotes&gt;...&lt;/physicianNotes&gt;</trans:misParse>
+   </trans:Encounter>
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_4.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1057 @@
+<!-- -*- XML -*- --> 
+<!-- 
+ ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? 
+  --> 
+<!-- 
+ Fake AD Patient 4  
+
+Excellent progress.  Below are some ways to improve it clinically.  I have kept my comments to the bare minimum as I know we are all under massive time constraint!
+
+1)Place a set of basic blood tests( ie.  Everything we already have from one of the other patients{ complete blood count, liver panel, cholesterol, renal function}) on or around 2001-06-15   as this date was the first date this patient was seen.   
+Place this panel at 1-2 other locations over the years as the patient was treated.  Regular monitoring of bloods is essential when patients are on drugs such as carbamazepine
+What I love about this case, is that it includes a genetic map done on the initial office visit. This correlates nicely with the patients medications, and illustrates the fact that genes are relevant with respect to disease!  And metabolic variation in liver enzymes can have a critical influence on the drugs used and the doses selected.  
+2)
+We need to include a few carbamezapine levels (this is used to monitor therapeutic levels, to insure the drug is adequately present in the serum to achieve effect.  )
+The normal level is 4-12 mcg/ml
+If we can scatter this level being done around 2-3 times on separate office visits, that would be great.  It would show that we are concerned with monitoring this drug therapeutically to keep it within safe parameters.  Over time, this drug can actually induce its own metabolism via the P450 system, and therefore, the dose must be increased to compensate.
+3)
+
+http://en.wikipedia.org/wiki/Hypertriglyceridemia
+Add 
+ICD  272.1 Pure hyperglyceridemia
+ To the conditions box, as the patients triglycerides are raised
+4)
+Hemogloblin  140g/l      this should read 14.0 g/dL
+5)
+Im told that mm3  is not possible in RDF.  Not a problem.  Leave the units below.  Chances are no one will notice!  Also, do change the White cell count to 7, and the Absolute Neutrophil count back down to 5 (the white cell count is the total cell count and includes all of the others)
+White Blood Cell Count6K/mcL
+26499-4Absolute Neutrophil Count7K/mcL
+26474-7Absolute Lymphocyte Count2K/mcL
+26484-6Absolute Monocyte Count0.4K/mcL
+26449-9Absolute Eosinophil Count0.4K/mcL
+25444-0Absolute Basophil Count0.1K/mcL
+
+6)
+Remove this :
+504514196-0Blood count; reticulocyte count, flow cytometry20
+Put this in:
+Reticulocyte count   1% of red cells
+
+7)
+Glucose Urine Test     6mg/dl     should be changed to :
+Glucose Serum   fasting 110 mg/dL
+The rationale :  one shouldn’t have glucose in their urine if they are not diabetic.
+By checking the fasting blood glucose, we rule out diabetes and confusion related to aberrant sugars.  This is important in dementia and acute confusional states as it can precipitate a clinical presentation of confusion.
+8)
+
+Put in a minimental state test leading up to the diagnosis of AD.  Add it 2-3 times prior to diagnosis with scores decreasing from
+25/30    to    18/30 and 15/30  indicating severe dementia
+This test is a BASIC test used to determine if someone has dementia.  Adds credence to a diagnosis
+9)
+Scan results of the MRI can be “ Marked Cerebral Atrophy “   to suggest dementia
+
+  --> 
+<root>
+<Practice>
+    <practiceName>Endocrine Associates</practiceName>
+    <practiceAddress>
+    <streetAddress>15 Colfax Ave.</streetAddress>
+        <postalCode>07090</postalCode>
+        <locality>Westfield</locality>
+        <region>New Jersey</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+        <phoneNumber>19082331782</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Margaret Cho</fullName>
+        <givenName>Margaret</givenName>
+        <familyName>Cho</familyName>
+        <license>AT7584763</license>   
+        <gender>female</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1931-09-12</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Male</gender>
+    <ethnicity>Hispanic</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Married</maritalStatus>
+    <employmentStatus>Retired</employmentStatus>
+    <employmentIndustry>Education</employmentIndustry>
+    <occupation>Teacher</occupation>
+    <religion>Jewish</religion>
+    <income>70,000 USD</income>
+    <highestEducation>MS</highestEducation>
+    <organDonor>true</organDonor>
+</Demographics>
+
+
+<Contact>
+    <name>
+        <fullName>Edward Quesada</fullName>
+        <givenName>Edward</givenName>
+        <familyName>Quesada</familyName>
+    </name>
+    <email type="personal">
+        eq@hotmail.com
+    </email>
+    <email type="work">
+        equesada@msscc.edu
+    </email>
+    <address type="home">
+        <streetAddress>1855 Oak Tree Rd.</streetAddress>
+        <postalCode>08837</postalCode>
+        <locality>Edison</locality>
+        <region>New Jersey</region>
+        <country>US</country>
+        <timeZone>-5GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>40.572888N</latitude>
+        <longitude>74.339295W</longitude>
+    </location>
+    <phoneNumber type="home">190823456</phoneNumber>
+    <phoneNumber type="work">19081011734</phoneNumber>
+    <instantMessengerName protocol="aim">eques</instantMessengerName>
+</Contact>
+
+<prescriptions>
+	<drug>
+		<ontology>National Drug Code Directory</ontology>
+		<NDC>00179178370</NDC>
+		<genericName>TEGRETOL TABLETS EXTENDED RELEASE</genericName>
+		<strength>400</strength>
+		<unit>MG</unit>
+		<packSize>30</packSize>
+		<packType>BOXUD</packType>
+		<routeName>ORAL</routeName>
+		<dosageName>TABLET, FILM COATED</dosageName>
+		<frequency>t.i.d.</frequency>
+		<refill>3</refill>
+		<daysToTake>ongoing</daysToTake>
+		<prescribedBy>Margaret Cho</prescribedBy>
+		<datePrescribed>1989-05-15</datePrescribed>
+		<datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+	</drug>
+	<drug>
+		<ontology>National Drug Code Directory</ontology>
+		<NDC>11071084201</NDC>
+		<genericName>DONEPEZIL HYDROCHLORIDE TABLETS</genericName>
+		<strength>10</strength>
+		<unit>MG</unit>
+		<packSize>AS ORDERED</packSize>
+		<packType>BLPK</packType>
+		<routeName>DRUM</routeName>
+		<dosageName>TABLET, FILM COATED</dosageName>
+		<frequency>o.d.</frequency>
+		<refill>2</refill>
+		<daysToTake>ongoing</daysToTake>
+		<prescribedBy>Margaret Cho</prescribedBy>
+		<datePrescribed>2009-08-20</datePrescribed>
+		<datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+	</drug>
+	<drug>
+		<ontology>National Drug Code Directory</ontology>
+		<NDC>54569597500</NDC>
+		<genericName>CARVEDILOL TABLETS</genericName>
+		<strength>6.25</strength>
+		<unit>MG</unit>
+		<packSize>60</packSize>
+		<packType>BOT</packType>
+		<routeName>ORAL</routeName>
+		<dosageName>TABLET</dosageName>
+		<frequency>b.i.d.</frequency>
+		<refill>1</refill>
+		<daysToTake>ongoing</daysToTake>
+		<prescribedBy>Margaret Cho</prescribedBy>
+		<datePrescribed>2009-05-20</datePrescribed>
+		<datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+	</drug>
+</prescriptions>
+
+<conditions>     
+   <condition>
+       <diagnosedWith>Epilepsy and recurrent seizures</diagnosedWith>
+       <ICD9>345</ICD9>
+       <dateDiagnosed>1950-05-15</dateDiagnosed>
+       <diagnosedBy>C. Everett Koop</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+   </condition>
+   <condition>
+       <diagnosedWith>Hypertension</diagnosedWith>
+       <ICD9>402.1</ICD9>
+       <dateDiagnosed>1995-05-20</dateDiagnosed>
+       <diagnosedBy>Bert Sackmann</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+   </condition>
+   <condition>
+       <diagnosedWith>Alzheimer’s Dementia</diagnosedWith>
+       <ICD9>331.0</ICD9>
+       <dateDiagnosed>2009-05-20</dateDiagnosed>
+       <diagnosedBy>Margaret Cho</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+   </condition>
+</conditions>
+
+
+<procedures>
+  <procedure>   
+   <procedureName>open repair of direct inguinal hernia</procedureName>
+       <ICD9>53.01</ICD9>
+       <procedureDate>1995-07-01</procedureDate>
+       <procedureNotes>...</procedureNotes>
+<referredBy>Margaret Cho</referredBy>
+       <referredInstitution>JFK Hospital</referredInstitution> 
+  </procedure>
+</procedures>         
+
+
+<allergies>
+   <drugs>none</drugs>
+   <food>broccoli</food>
+   <environment>dander</environment>
+</allergies>
+
+
+<immunizations>
+  <tetanus>
+     <date>2005</date>
+     <method>intramuscular</method>
+     <compound>single</compound>
+     <stage>1</stage>
+     <administeredBy>Margaret Cho</administeredBy>
+  </tetanus> 
+</immunizations> 
+
+  
+<lifestyle>  
+   <alcoholConsumption>
+       <frequency>2</frequency>
+       <units>week</units>
+       <quantity>1</quantity>
+       <date>2004-08-15</date>
+   </alcoholConsumption>
+   <exercise>
+       <frequency>0</frequency>
+       <units>week</units>
+       <averageDuration>0</averageDuration>
+       <date>2004-08-15</date>
+   </exercise>
+   <smoking>
+       <packYears>50</packYears>
+       <history>quit</history>
+       <date>2008-08-15</date>
+   </smoking>
+   <diet>
+        <fruitVegetablesRating>10</fruitVegetablesRating>
+        <wholeGrainsRating>7</wholeGrainsRating>
+        <dairyRating>4</dairyRating>
+        <proteinRating>8</proteinRating>
+        <fatsRating>4</fatsRating>
+        <junkFoodRating>2</junkFoodRating>
+        <date>2004-08-15</date>
+   </diet>
+</lifestyle>
+
+
+<familyHistory>
+  <subject id="1">
+     <relation>maternalGrandmother</relation>
+     <fname>Consuela</fname>
+     <sex>Female</sex>
+     <alive>no</alive>
+     <ageAtDeath>55</ageAtDeath>
+     <cancer>no</cancer>
+     <causeOfDeath>Stroke</causeOfDeath>
+  </subject>
+  <subject id="2">
+     <relation>maternalGrandfather</relation>
+     <fname>Eduardo</fname>
+     <sex>Male</sex>
+     <alive>no</alive>
+     <ageAtDeath>81</ageAtDeath>
+     <cancer>no</cancer>
+     <causeOfDeath>Old Age</causeOfDeath>
+  </subject>
+  <subject id="3">
+     <relation>paternalGrandmother</relation>
+     <fname>Janet</fname>
+     <sex>Female</sex>
+     <alive>no</alive>
+     <ageAtDeath>62</ageAtDeath>
+     <cancer>no</cancer>
+     <causeOfDeath>MyocardialInfarction</causeOfDeath>
+  </subject>
+  <subject id="4">
+     <relation>paternalGrandfather</relation>
+     <fname>Gary</fname>
+     <sex>Male</sex>
+     <alive>no</alive>
+     <ageAtDeath>45</ageAtDeath>
+     <cancer>no</cancer>
+     <causeOfDeath>Automobile Accident</causeOfDeath>
+  </subject>
+  <subject id="5">
+     <relation>mother</relation>
+     <fname>Elizabeth</fname>
+     <sex>Female</sex>
+     <alive>no</alive>
+     <ageAtDeath>71</ageAtDeath>
+     <cancer>no</cancer>
+     <medicalConditions>MyocardialInfarction</medicalConditions>
+  </subject>
+  <subject id="6">
+     <relation>father</relation>
+     <fname>Jose</fname>
+     <sex>Male</sex>
+     <alive>no</alive>
+     <ageAtDeath>66</ageAtDeath>
+     <cancer>yes</cancer>
+     <cancerType>Prostate</cancerType>
+     <cancerTypeProstateAge>62</cancerTypeProstateAge>
+  </subject>
+</familyHistory>
+
+	<!-- Epilepsy diag with HLA and CYP genotyping -->
+	<Encounter>
+		<dateOfEncounter>2001-06-15</dateOfEncounter>
+		<physician>Margaret Cho</physician>
+		<referral>false</referral>
+		<medicalBaseline>false</medicalBaseline>
+		<medicalTest>true</medicalTest>
+		<reportedSymptoms>false</reportedSymptoms>
+		<workingDiagnosis>epilepsy</workingDiagnosis>
+		<test x_2="Genotyping HLA-B*1502">
+			<CPT>83900; 83890</CPT>
+			<testName>HLA-B 1502 Genotype; Carbamazepine Hypersensitivity</testName>
+			<result>
+				<value>absent</value>
+			</result>
+      <physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Genotyping 1A2">
+			<CPT>83891, 83892(x2), 83898(x2), 83894(x2), 83912, 83912-26</CPT>
+			<testName>Cytochrome P450 1A2 Genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					CYPIA2; P450-P3; P(3)450; P450 4
+				</variant_Synonyms>
+				<gene_Symbol>CYP1A2</gene_Symbol>
+				<gene_Name> Cytochrome P450, family 1, subfamily A, polypeptide 2</gene_Name>
+				<ENTREZ_Gene_ID>24297</ENTREZ_Gene_ID>
+				<Accession_ID>???</Accession_ID>
+				<Gene_Region>
+					Chromosome 8, NC_005107.2 (61439090..61445532, complement)
+				</Gene_Region>
+			</result>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Genotyping 2C9">
+			<CPT>83890, 83892, 83896(x5), 83900, 83912</CPT>
+			<testName>Cytochrome P450 2C9 Genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					CPC9, CYP2C, CYP2C10, MGC149605, MGC88320, P450IIC9
+				</variant_Synonyms>
+				<gene_Symbol>CYP2C9</gene_Symbol>
+				<gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 9</gene_Name>
+				<ENTREZ_Gene_ID>1559</ENTREZ_Gene_ID>
+				<Gene_Region>
+					Chromosome 10, NC_000010.10 (96698415..96749148)
+				</Gene_Region>
+			</result>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Genotyping 2C19">
+			<CPT>83890, 83892, 83896(x7), 83900, 83912</CPT>
+			<testName>Cytochrome P450 2C19 Genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					RP11-400G3.4, CPCJ, CYP2C, P450C2C, P450IIC19
+				</variant_Synonyms>
+				<gene_Symbol>CYP2C19</gene_Symbol>
+				<gene_Name> Cytochrome P450, family 2, subfamily C, polypeptide 19</gene_Name>
+				<ENTREZ_Gene_ID>1557</ENTREZ_Gene_ID>
+				<Gene_Region>
+					Chromosome 10, NC_000010.10 (96522463..96612671)
+				</Gene_Region>
+			</result>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Genotyping 2D6">
+			<CPT>
+				83890, 83901(x2), 83892, 83900, 83912, 83914(x17)
+			</CPT>
+			<testName>Cytochrome P450 2C19 Genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					RP4-669P10.2, CPD6, CYP2D, CYP2D@, CYP2DL1, MGC120389, MGC120390, P450-DB1, P450C2D, P450DB1
+				</variant_Synonyms>
+				<gene_Symbol>CYP2D6</gene_Symbol>
+				<gene_Name> Cytochrome P450, family 2, subfamily D, polypeptide 6</gene_Name>
+				<ENTREZ_Gene_ID>1565</ENTREZ_Gene_ID>
+				<Gene_Region>
+					Chromosome 22, NC_000022.10 (42522501..42526883, complement)
+				</Gene_Region>
+			</result>
+      <physicianNotes>...</physicianNotes>
+		</test>
+		<physicianNotes>Genetic testing for metabolism issues with Tegretol(Carbamazapine) or Valproate</physicianNotes>
+	</Encounter>
+
+	<!-- Urea metabolism diag -->
+	<Encounter>
+		<dateOfEncounter>2003-07-15</dateOfEncounter>
+		<physician>Margaret Cho</physician>
+		<referral>false</referral>
+		<medicalBaseline>false</medicalBaseline>
+		<medicalTest>true</medicalTest>
+		<reportedSymptoms>Nausea</reportedSymptoms>
+		<workingDiagnosis>
+			<preliminaryDiagnosis>
+				<diagnosisDescription>Urea Metabolism Disorder</diagnosisDescription>
+				<ICD9>270.6</ICD9>
+				<ICD9Description>Disorders of urea cycle metabolism</ICD9Description>
+			</preliminaryDiagnosis>
+			<differentialDiagnosis>
+				<ICD9>270.6</ICD9>
+				<ICD9Description>Disorders of urea cycle metabolism</ICD9Description>
+			</differentialDiagnosis>
+		</workingDiagnosis>
+		<physicalObervations>
+			<bodyFat_x5>
+				<x6_bodyFat units="percent">24</x6_bodyFat>
+				<weight units="pounds">160</weight>
+				<height units="inches">70</height>
+				<BMI units="kg/m^2">23</BMI>
+			</bodyFat_x5>
+			<waistToHips>
+				<waist units="inches">38</waist>
+				<hips units="inches">42</hips>
+				<waistToHip>0.9</waistToHip>
+			</waistToHips>
+			<bloodPressure>
+				<systolic units="mmHg">151</systolic>
+				<diastolic units="mmHg">92</diastolic>
+			</bloodPressure>
+			<restingHeartRate>
+				<restingHeartRate units="BPM">77</restingHeartRate>
+			</restingHeartRate>
+			<stamina>
+				<finalHeartRate units="BPM">135</finalHeartRate>
+				<predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+			</stamina>
+			<lungFunction>
+				<PEFR units="L/min">560</PEFR>
+			</lungFunction>
+		</physicalObervations>
+		<test x_2="OTC Deficiency">
+			<CPT>
+				83891(x9), 83898(x18), 83898(x18), 83894(x9),
+				83894(x9), 83904(x18), 83904(x18), 83892(x2), 88386, 83912(x2)
+			</CPT>
+			<testName>Ornithine Transcarbamylase Genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					MGC129967, MGC129968, MGC138856, OCTD, Ornithine carbamoyltransferase, mitochondrial precursor, Ornithine transcarbamylase, OTCase
+				</variant_Synonyms>
+				<gene_Symbol>OTC</gene_Symbol>
+				<gene_Name>ornithine carbamoyltransferase</gene_Name>
+				<ENTREZ_Gene_ID>5009</ENTREZ_Gene_ID>
+				<Accession_ID>K02100</Accession_ID>
+				<Gene_Region>Chromosome X: 38,211,798-38,280,703(+)</Gene_Region>
+				<DNA_Change>C/T</DNA_Change>
+				<DNA_Change_Type>Missense</DNA_Change_Type>
+				<Amino_Acid_Change>Q78*</Amino_Acid_Change>
+				<Amino_Acid_Change_Type>Stop Gained</Amino_Acid_Change_Type>
+			</result>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="CPS1 Deficiency">
+			<CPT>
+			</CPT>
+			<ICD9>270.6</ICD9>
+			<testName>carbamoyl-phosphate synthetase 1 genotyping</testName>
+			<referredTo>Gene Cato</referredTo>
+			<referredClinic>Geno Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>normal</value>
+				<variant_Synonyms>
+					carbamoyl-phosphate synthetase 1, mitochondrial
+				</variant_Synonyms>
+				<gene_Symbol>CPS1</gene_Symbol>
+				<gene_Name>carbamoyl-phosphate synthetase 1, mitochondrial</gene_Name>
+				<ENTREZ_Gene_ID>1373</ENTREZ_Gene_ID>
+				<Accession_ID>K02100</Accession_ID>
+				<Gene_Region>10:96688430-96739137(+)</Gene_Region>
+				<DNA_Change>C/T</DNA_Change>
+				<DNA_Change_Type>Missense</DNA_Change_Type>
+				<Amino_Acid_Change>R144C</Amino_Acid_Change>
+				<Amino_Acid_Change_Type>Nonsynonymous</Amino_Acid_Change_Type>
+			</result>
+<physicianNotes>Genetic testing for Urea Metabolism</physicianNotes>
+		</test>
+		
+	</Encounter>	
+	<!-- Annual Phys with Lipid Panel -->
+	<Encounter>
+		<dateOfEncounter>2009-01-20</dateOfEncounter>
+		<physician>Margaret Cho</physician>
+		<referral>false</referral>
+		<medicalBaseline>true</medicalBaseline>
+		<medicalTest>Annual Physical</medicalTest>
+		<reportedSymptoms>none</reportedSymptoms>
+		<workingDiagnosis>none</workingDiagnosis>
+		<physicalObervations>
+			<bloodPressure>
+				<systolic units="mmHg">125</systolic>
+				<diastolic units="mmHg">85</diastolic>
+			</bloodPressure>
+			<restingHeartRate>
+				<restingHeartRate units="BPM">76</restingHeartRate>
+			</restingHeartRate>
+		</physicalObervations>
+		<physicianNotes>...</physicianNotes>
+		<test x_2="Laboratory">
+			<CPT>80061</CPT>
+			<testName>Lipid panel</testName>
+			<referredTo>Janet Night</referredTo>
+			<referredClinic>Family Health Laboratories</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<LipidPanel CPT="80061">
+				<testCode x_3="TC">
+					<CPT>82465</CPT>
+					<LOINC></LOINC>
+					<description>Total serum cholesterol</description>
+					<value>199</value>
+					<units>mg/dl</units>
+				</testCode>
+				<testCode x_3="LDL">
+					<CPT>83721</CPT>
+					<LOINC></LOINC>
+					<description> Low-density lipoprotein</description>
+					<value>154</value>
+					<units>mg/dl</units>
+				</testCode>
+				<testCode x_3="HDL">
+					<CPT>83718</CPT>
+					<LOINC></LOINC>
+					<description> Cholesterol (HDL cholesterol) </description>
+					<value>38</value>
+					<units>mg/dl</units>
+				</testCode>
+				<testCode x_3="TRIG">
+					<CPT>84478</CPT>
+					<LOINC></LOINC>
+					<description> Triglycerides</description>
+					<value>229</value>
+					<units>mg/dl</units>
+				</testCode>
+			</LipidPanel>
+<physicianNotes>...</physicianNotes>
+		</test>
+		
+	</Encounter>
+	<!-- Dimentia diag with blood work, bleeding, metabolic, hepatic and thyroid panels -->
+	<Encounter>
+		<dateOfEncounter>2009-07-15</dateOfEncounter>
+		<physician>Margaret Cho</physician>
+		<referral>false</referral>
+		<medicalBaseline>false</medicalBaseline>
+		<medicalTest>true</medicalTest>
+		<reportedSymptoms> Confusion, Declining memory </reportedSymptoms>
+		<workingDiagnosis>
+			<preliminaryDiagnosis>
+				<diagnosisDescription>Dementia</diagnosisDescription>
+				<ICD9>331</ICD9>
+				<ICD9Description> Other cerebral degenerations</ICD9Description>
+			</preliminaryDiagnosis>
+			<differentialDiagnosis>
+				<ICD9>331.0</ICD9>
+				<ICD9Description>Alzheimer's disease</ICD9Description>
+			</differentialDiagnosis>
+		</workingDiagnosis>
+		<physicalObervations>
+			<bodyFat_x5>
+			 <x6_bodyFat units="percent">24</x6_bodyFat>
+			 <weight units="pounds">160</weight>
+			 <height units="inches">70</height>
+			 <BMI units="kg/m^2">23</BMI>
+			</bodyFat_x5>
+			<waistToHips>
+			 <waist units="inches">38</waist>
+			 <hips units="inches">42</hips>
+			 <waistToHip>0.9</waistToHip>
+			</waistToHips>
+			<bloodPressure>
+			 <systolic units="mmHg">151</systolic>
+			 <diastolic units="mmHg">92</diastolic>
+			</bloodPressure>
+			<restingHeartRate>
+				<restingHeartRate units="BPM">77</restingHeartRate>
+			</restingHeartRate>
+			<stamina>
+			 <finalHeartRate units="BPM">135</finalHeartRate>
+			 <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+			</stamina>
+			<lungFunction>
+			 <PEFR units="L/min">560</PEFR>
+			</lungFunction>
+		</physicalObervations>
+		<test x_2="Laboratory">   
+		   <CPT>85025</CPT>
+		   <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and 
+	automated differential WBC count</testName>
+		   <referredTo>Janet Night</referredTo>
+		   <referredClinic>Family Health Laboratories</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+		   <CompleteBloodCount CPT="85025">
+			  <testCode x_3="HGB">
+				 <CPT>85018</CPT>
+				 <LOINC>24360-0</LOINC>
+				 <description>Hemogloblin</description>
+				 <value>140</value>
+				 <units>g/l</units>
+			  </testCode>
+			  <testCode x_3="RBC">
+				 <CPT>85041</CPT>
+				 <LOINC>LP7536-8</LOINC>
+				 <description>Red Blood Cell Count</description>
+				 <value>5</value>
+				 <units>mil/mcl</units>
+			  </testCode>
+			  <testCode x_3="MCV">
+				 <CPT></CPT>
+				 <LOINC></LOINC>
+				 <description>Mean Cell Volume</description>
+				 <value>90</value>
+				 <units>fl</units>
+			  </testCode>
+			  <testCode x_3="MCH">
+				 <CPT></CPT>
+				 <LOINC></LOINC>
+				 <description>Mean Corpuscular Hemoglobin</description>
+				 <value>30</value>
+				 <units>pg/cell</units>
+			  </testCode>
+			  <testCode x_3="WBC">
+				 <CPT>85048</CPT>
+				 <LOINC></LOINC>
+				 <description>White Blood Cell Count</description>
+				 <value>6</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="ANEUT">
+				 <CPT></CPT>
+				 <LOINC>26499-4</LOINC>
+				 <description>Absolute Neutrophil Count</description>
+				 <value>7</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="ALYMS">
+				 <CPT></CPT>
+				 <LOINC>26474-7</LOINC>
+				 <description>Absolute Lymphocyte Count</description>
+				 <value>2</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="AMON">
+				 <CPT></CPT>
+				 <LOINC>26484-6</LOINC>
+				 <description>Absolute Monocyte Count</description>
+				 <value>0.4</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="AEOS">
+				 <CPT></CPT>
+				 <LOINC>26449-9</LOINC>
+				 <description>Absolute Eosinophil Count</description>
+				 <value>0.4</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="ABAS">
+				 <CPT></CPT>
+				 <LOINC>25444-0</LOINC>
+				 <description>Absolute Basophil Count</description>
+				 <value>0.1</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="ARET">
+				 <CPT>85045</CPT>
+				 <LOINC>14196-0</LOINC>
+				 <description>Blood count; reticulocyte count, flow cytometry</description>
+				 <value>20</value>
+				 <units>K/mcL</units>
+			  </testCode>
+			  <testCode x_3="ESR">
+				 <CPT>85652</CPT>
+				 <LOINC>4537-7</LOINC>
+				 <description>Erythrocyte Sedimentation Rate</description>
+				 <value>13</value>
+				 <units></units>
+			  </testCode>
+		   </CompleteBloodCount>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Laboratory">
+		   <CPT>80076</CPT>
+		   <testName>Hepatic function panel</testName>
+		   <referredTo>Janet Night</referredTo>
+		   <referredClinic>Family Health Laboratories</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+		   <HepaticFunctionPanel CPT="80076">
+			  <testCode x_3="TP">
+				 <CPT>84155</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Total Protein</description>
+				 <value>6.9</value>
+				 <units>g/dl</units>
+			  </testCode>
+			  <testCode x_3="AST">
+				 <CPT>84450</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum glutamic-oxaloacetic transaminase</description>
+				 <value>36</value>
+				 <units>IU/l</units>
+			  </testCode>
+			  <testCode x_3="TBIL">
+				 <CPT>82247</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Bilirubin, Total</description>
+				 <value>13</value>
+				 <units>mcmol/l</units>
+			  </testCode>
+			  <testCode x_3="DBIL">
+				 <CPT>82247</CPT>
+				 <LOINC></LOINC>
+				 <description>Bilirubin, Direct</description>
+				 <value>2</value>
+				 <units>mcmol/l</units>
+			  </testCode>
+			  <testCode x_3="ALP">
+				 <CPT>84075</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Alkaline Phosphatase</description>
+				 <value>120</value>
+				 <units>IU/l</units>
+			  </testCode>
+			  <testCode x_3="ALB">
+				 <CPT>82040</CPT>
+				 <LOINC></LOINC>
+				 <description>Albumin, serum, plasma or whole blood</description>
+				 <value>3.8</value>
+				 <units>g/dl</units>
+			  </testCode>
+			  <testCode x_3="ALT">
+				 <CPT>84460</CPT>
+				 <LOINC></LOINC>
+				 <description>Alanine amino transferase</description>
+				 <value>50</value>
+				 <units>IU/l</units>
+			  </testCode>
+		   </HepaticFunctionPanel>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Laboratory">
+			 <testCode x_3="GGT">
+				 <CPT>82977</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Gamma Glutamyl Transferase</description>
+				 <value>234</value>
+				 <units>IU/l</units>
+			  </testCode>
+			  <testCode x_3="CRP">
+				 <CPT>86140</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum C-Reactive Protein</description>
+				 <value>0.5</value>
+				 <units>mg/L</units>
+			  </testCode>
+			   <testCode x_3="CAI">
+				 <CPT>82330</CPT>
+				 <LOINC></LOINC>
+				 <description>Ionized Calcium</description>
+				 <value>1.01</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			   <testCode x_3="PSA">
+				 <CPT>84153</CPT>
+				 <LOINC></LOINC>
+				 <description>Prostate Specific Antigen</description>
+				 <value>3</value>
+				 <units>mcg/l</units>
+			  </testCode>
+			   <testCode x_3="FT4">
+				 <CPT>84439</CPT>
+				 <LOINC></LOINC>
+				 <description>Free Thyroxine</description>
+				 <value>21</value>
+				 <units>pmol/l</units>
+			  </testCode>
+			   <testCode x_3="FT3">
+				 <CPT>84481</CPT>
+				 <LOINC></LOINC>
+				 <description>Free Triiodothyronine</description>
+				 <value>5</value>
+				 <units>pmol/l</units>
+			  </testCode>
+			   <testCode x_3="ACTH">
+				 <CPT>82024</CPT>
+				 <LOINC></LOINC>
+				 <description>Adrenocorticotropic Hormone</description>
+				 <value>4</value>
+				 <units>pmol/l</units>
+			  </testCode>
+			   <testCode x_3="COR">
+				 <CPT>82533</CPT>
+				 <LOINC></LOINC>
+				 <description>Cortisol</description>
+				 <value>500</value>
+				 <units>nmol/l</units>
+			  </testCode>
+			   <testCode x_3="CK">
+				 <CPT>82550</CPT>
+				 <LOINC></LOINC>
+				 <description>Creatine Kinase</description>
+				 <value>1.01</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			   <testCode x_3="LDH">
+				 <CPT>83615</CPT>
+				 <LOINC></LOINC>
+				 <description>Lactase Dehydrogenase</description>
+				 <value>201</value>
+				 <units>IU/l</units>
+			  </testCode>
+			   <testCode x_3="AMY">
+				 <CPT>82150</CPT>
+				 <LOINC></LOINC>
+				 <description>Amylase</description>
+				 <value>90</value>
+				 <units>IU/l</units>
+			  </testCode>
+			   <testCode x_3="PT">
+				 <CPT>85610</CPT>
+				 <LOINC></LOINC>
+				 <description>Prothrombin time</description>
+				 <value>11</value>
+				 <units>s</units>
+			  </testCode>
+			   <testCode x_3="INR">
+				 <CPT>99636</CPT>
+				 <LOINC></LOINC>
+				 <description>International Normalized Ratio</description>
+				 <value>1.1</value>
+				 <units> </units>
+			  </testCode>
+			   <testCode x_3="FBR">
+				 <CPT>85384</CPT>
+				 <LOINC></LOINC>
+				 <description>Fibrinogen</description>
+				 <value>3</value>
+				 <units>g/l</units>
+			  </testCode>
+			   <testCode x_3="BT">
+				 <CPT>85002</CPT>
+				 <LOINC></LOINC>
+				 <description>Bleeding Time</description>
+				 <value>6</value>
+				 <units>min</units>
+			  </testCode>
+			   <testCode x_3="CARB">
+				 <CPT>80156</CPT>
+				 <LOINC></LOINC>
+				 <description>Carbamazepine levels</description>
+				 <value>6</value>
+				 <units>mcg/ml</units>
+			  </testCode>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Laboratory">
+		   <CPT>80053</CPT>
+		   <testName>Comprehensive metabolic panel</testName>
+		   <referredTo>Janet Night</referredTo>
+		   <referredClinic>Family Health Laboratories</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+		   <ComprehensiveMetabolicPanel CPT="80053">
+			  <testCode x_3="NA">
+				 <CPT>84295</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Sodium</description>
+				 <value>140</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			  <testCode x_3="K">
+				 <CPT>84132</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Potassium</description>
+				 <value>4</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			  <testCode x_3="CREA">
+				 <CPT>82565</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Creatinine</description>
+				 <value>0.102</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			  <testCode x_3="ALB">
+				 <CPT>82040</CPT>
+				 <LOINC></LOINC>
+				 <description>Serum Albumin</description>
+				 <value>3.6</value>
+				 <units>g/dl</units>
+			  </testCode>
+			  <testCode x_3="GLU">
+			  <CPT>82945</CPT>
+				 <LOINC></LOINC>
+				 <description>Glucose, serum fasting</description>
+				 <value>110</value>
+				 <units>mg/dl</units>
+			  </testCode>
+			  <testCode x_3="CA">
+				 <CPT>82247</CPT>
+				 <LOINC></LOINC>
+				 <description>Total Calcium</description>
+				 <value>2.09</value>
+				 <units>mmol/l</units>
+			  </testCode>
+			  <testCode x_3="BUN">
+				 <CPT>84520</CPT>
+				 <LOINC></LOINC>
+				 <description>Blood Urea Nitrogen</description>
+				 <value>6</value>
+				 <units>mmol/l</units>
+			  </testCode>
+		   </ComprehensiveMetabolicPanel>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Laboratory">
+		   <CPT>84443</CPT>
+		   <testName>Thyroid stimulating hormone (TSH)</testName>
+		   <referredTo>Janet Night</referredTo>
+		   <referredClinic>Family Health Laboratories</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+		   <ThyroidFunction CPT="84443">
+			  <testCode x_3="TSH">
+				 <CPT>84443</CPT>
+				 <LOINC></LOINC>
+				 <description>Thyroid Stimulating Hormone</description>
+				 <value>3</value>
+				 <units>mU/ml</units>
+			  </testCode>
+		   </ThyroidFunction>
+<physicianNotes>...</physicianNotes>
+		</test>
+	  <physicianNotes>...</physicianNotes>		
+	</Encounter>
+
+	<!-- Follow up evaluation for dimentia with MRI and other testing -->
+	<Encounter>
+	<dateOfEncounter>2009-07-16</dateOfEncounter>
+		<physician>Hans Gerhard Creutzfeldt</physician>
+		<referral>true</referral> 
+		   <referredClinic>Happy Daze</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+		<medicalBaseline>false</medicalBaseline>
+		<medicalTest>true</medicalTest>
+		<reportedSymptoms> Confusion, Declining memory </reportedSymptoms>
+		<workingDiagnosis>
+		   <preliminaryDiagnosis>
+			  <diagnosisDescription>Dementia</diagnosisDescription>
+			  <ICD9>331</ICD9>
+			  <ICD9Description> Other cerebral degenerations</ICD9Description>
+		   </preliminaryDiagnosis>
+		   <differentialDiagnosis>
+			  <ICD9>331.0</ICD9>
+			  <ICD9Description>Alzheimer's disease</ICD9Description>
+		   </differentialDiagnosis>
+		</workingDiagnosis>
+
+		<test x_2="ICD9 Procedure">
+		   <ICD9_Procedure>94.08</ICD9_Procedure>
+		   <testName>Other psychologic evaluation and testing</testName>     
+		   <result x_4="ADAS Sub-Scores and Total Scores">
+			   <description> Classic 70 point total. Excludes Q4 (Delayed Word Recall) and Q14 
+	(Number Cancellation)</description>
+			   <value>32</value>
+			   <description>85 point total including Q4 (Delayed Word Recall) and Q14 (Number 
+	Cancellation)</description>
+			  <value>45</value>
+		   </result>
+<physicianNotes>...</physicianNotes>
+		</test>
+
+		<test x_2="ICD9 Procedure">
+		   <ICD9_Procedure>88.91</ICD9_Procedure>
+		   <testName>Magnetic resonance imaging of brain and brain 
+	</testName>
+		   <referredTo>Michael Dolenz</referredTo>
+		   <referredClinic>Warrington Hospital</referredClinic>
+		   <referredBy>Margaret Cho</referredBy>
+			<result x_4="DICOM 3.0 Image Data">
+				<hippocampalLeft>0.75</hippocampalLeft>
+				<hippocampalRight>0.72</hippocampalRight>
+				<temporalRight>1.10</temporalRight>
+				<temporalLeft>1.09</temporalLeft>
+				<angularRight>1.13</angularRight>
+				<angularLeft>1.14</angularLeft>
+				<cingulumPostBilateral>1.07</cingulumPostBilateral>
+				<hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+			</result>
+		  <originalImage>http:hospital.com/images/patient/yadayada</originalImage>
+<physicianNotes>...</physicianNotes>
+		</test>
+		<test x_2="Genotyping SNPs">
+			<CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+			<testName>ADmark Alzheimer's Evaluation</testName>
+			<referredTo>Neurologist Vince</referredTo>
+			<referredClinic>Neuro Clinic</referredClinic>
+			<referredBy>Margaret Cho</referredBy>
+			<result>
+				<value>abnormal</value>
+				<rs_Number> rs429358</rs_Number>
+				<variant_Synonyms>APOE4, NG_007084.2:g.7903T>C</variant_Synonyms>
+				<gene_Symbol>APOE</gene_Symbol>
+				<gene_Name> apolipoprotein E</gene_Name>
+				<ENTREZ_Gene_ID>348</ENTREZ_Gene_ID>
+				<Accession_ID> NG_007084.2</Accession_ID>
+				<Gene_Region>coding_region</Gene_Region>
+				<DNA_Change>g.7903T>C</DNA_Change>
+				<DNA_Change_Type>Substitution</DNA_Change_Type>
+				<Amino_Acid_Change>C112R</Amino_Acid_Change>
+				<Amino_Acid_Change_Type>Missense</Amino_Acid_Change_Type>
+			</result>
+<physicianNotes>...</physicianNotes>
+		</test>
+			<physicianNotes>...</physicianNotes>
+	</Encounter>
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_5.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1753 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Georg Steffen Möller</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Georg Steffen Möller</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>5456944671</td>
+               <td>ATORVASTATIN TABLET</td>
+               <td>20</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>8</td>
+               <td>ongoing</td>
+               <td>David Winizki</td>
+               <td>2008-02-03</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>000007414020</td>
+               <td>CARVEDILOL TABLETS</td>
+               <td>6.25</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>b.i.d.</td>
+               <td>13</td>
+               <td>ongoing</td>
+               <td>David Winizki</td>
+               <td>2008-05-06</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>6050502532</td>
+               <td>CLOPIDOGREL TABLETS</td>
+               <td>75</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET, FILM COATED</td>
+               <td>o.d.</td>
+               <td>13</td>
+               <td>ongoing</td>
+               <td>David Winizki</td>
+               <td>2008-05-06</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>6050500652</td>
+               <td>OMEPRAZOLE CAPSULES</td>
+               <td>20</td>
+               <td>MG</td>
+               <td>100</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>CAPSULE</td>
+               <td>o.d.</td>
+               <td>1</td>
+               <td>ongoing</td>
+               <td>David Winizki</td>
+               <td>2009-06-18</td>
+               <td>false</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>0093732098</td>
+               <td>DONEPEZIL HYDROCHLORIDE TABLETS</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>o.d.</td>
+               <td>0</td>
+               <td>90</td>
+               <td>David Winizki</td>
+               <td>2009-07-22</td>
+               <td>2009-10-29</td>
+               <td>...</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>hypertension</td>
+               <td>410</td>
+               <td>2008-02-03</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>alzheimer’s disease</td>
+               <td>331</td>
+               <td>2009-07-21</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>acute coronary occlusion without myocardial infarction</td>
+               <td>414</td>
+               <td>2008-05-06</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>gastroesophageal reflux disease</td>
+               <td>530.81</td>
+               <td>2009-06-18</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>nausea and vomiting</td>
+               <td>787.0</td>
+               <td>2009-07-23</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>adverse drug effect</td>
+               <td>9995.2</td>
+               <td>2009-07-23</td>
+               <td>David Winizki</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>mold</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>2</td>
+               <td>month</td>
+               <td>1</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2002-02-02</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>1</td>
+               <td>week</td>
+               <td></td>
+               <td>60</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2002-02-02</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>0</td>
+               <td>5 years</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2002-02-02</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>3</td>
+               <td>6</td>
+               <td>4</td>
+               <td>4</td>
+               <td>7</td>
+               <td>6</td>
+               <td>2002-02-02</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Susie</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>24</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>TB</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Paul</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>81</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Betty</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>62</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>myocardialInfarction</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Gary</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>45</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>MedicalError</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Elizabeth</td>
+               <td>Female</td>
+               <td>yes</td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Frank</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>yes</td>
+               <td>Colorectal</td>
+               <td>62</td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>brother</td>
+               <td>Jake</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2002-02-02</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>21</td>
+                           <td></td>
+                           <td></td>
+                           <td>22</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>32</td>
+                           <td>38</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>143</td>
+                           <td>90</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>75</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>130</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>6</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-03-02</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>headache, somnolence</td>
+                  <td>
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>156</td>
+                           <td>80</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>6</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>120002</td>
+                           <td>Rhythm ECG</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>25/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-05-06</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>chest pain, nausea, diaphoresis</td>
+                  <td>acute coronary syndrome</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>154</td>
+                           <td>82</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>77</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>130</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>6</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>11111222</td>
+                           <td>Blood Test</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>11111222</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>111112221</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>13.1</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112222</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>5</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112223</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>42.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112224</td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>92</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112225</td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>34</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112226</td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33.8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112227</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>291</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112228</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>10</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112229</td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>7</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>1111122210</td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>1111122210</td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>11111223</td>
+                           <td>Renal function panel</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>11111223</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>111112231</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>137</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112232</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>4</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112233</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>39</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112234</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>104</td>
+                                    <td>μmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112234</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>1.01</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>2.09</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>11111225</td>
+                           <td>Hepatic function panel</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>11111225</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>111112251</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>8</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112252</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>13</td>
+                                    <td>μmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112253</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>122</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112254</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>134</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>11111224</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>11111224</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>111112241</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>4</td>
+                                    <td>mIU/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>11111226</td>
+                           <td>Lipid panel</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>11111226</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>111112261</td>
+                                    <td></td>
+                                    <td>Low-density lipoprotein</td>
+                                    <td>4</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>111112262</td>
+                                    <td></td>
+                                    <td>Triglycerides</td>
+                                    <td>2.9</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>20/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-06-18</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>true</td>
+                  <td>dysphagia, nausea</td>
+                  <td>gastroesophageal reflux disease</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Mini-mental state examination</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>18/30</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain</td>
+                           <td>Daniel Schmidt</td>
+                           <td>Herzzentrum</td>
+                           <td>David Winizki</td>
+                           <td>http:Herzzentrum.org/images/patient/2345</td>
+                           <td></td>
+                           <td>Cerebral atrophy and signs suggestive of dementia ...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-21</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>memory loss</td>
+                  <td>alzheimer's disease</td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-23</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td>nausea and vomiting</td>
+                  <td>adverse drug effect</td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-30</a></td>
+                  <td>David Winizki</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>false</td>
+                  <td></td>
+                  <td>referral for trial</td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : Ärztezentrum Schweizer Viertel</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>Lausanner Straße 85</td>
+               <td>12205</td>
+               <td>Berlin</td>
+               <td>Berlin</td>
+               <td>DE</td>
+               <td>+1GMT</td>
+               <td>0049308418640</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>David Winizki</td>
+                  <td>David</td>
+                  <td>Winizki</td>
+                  <td>AG 3647382</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1945-04-05</td>
+               <td></td>
+               <td>Male</td>
+               <td>German</td>
+               <td>DE</td>
+               <td>married</td>
+               <td>employed</td>
+               <td>Library</td>
+               <td>Librarian</td>
+               <td>Atheist</td>
+               <td>37,000 EUR</td>
+               <td>MA</td>
+               <td>true</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Georg Steffen Möller</td>
+               <td>Georg</td>
+               <td>Möller</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>Fichtenweg 13</td>
+               <td>12345</td>
+               <td>Berlin</td>
+               <td>Berlin</td>
+               <td>DE</td>
+               <td>+1GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_5.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1017 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>Ärztezentrum Schweizer Viertel</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>Lausanner Straße 85</vcard:Street>
+            <vcard:Pcode>12205</vcard:Pcode>
+            <vcard:Locality>Berlin</vcard:Locality>
+            <vcard:Region>Berlin</vcard:Region>
+            <vcard:Country>DE</vcard:Country>
+            <pim:timeZone>+1GMT</pim:timeZone>
+            <foaf:phone>0049308418640</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>David Winizki</foaf:name>
+            <foaf:givenName>David</foaf:givenName>
+            <foaf:familyName>Winizki</foaf:familyName>
+            <trans:license>AG 3647382</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1945-04-05</indivo:dateOfBirth>
+      <indivo:dateOfDeath/>
+      <indivo:gender>Male</indivo:gender>
+      <indivo:ethnicity>German</indivo:ethnicity>
+      <indivo:language>DE</indivo:language>
+      <indivo:maritalStatus>married</indivo:maritalStatus>
+      <indivo:employmentStatus>employed</indivo:employmentStatus>
+      <indivo:employmentIndustry>Library</indivo:employmentIndustry>
+      <indivo:occupation>Librarian</indivo:occupation>
+      <indivo:religion>Atheist</indivo:religion>
+      <indivo:income>37,000 EUR</indivo:income>
+      <indivo:highestEducation>MA</indivo:highestEducation>
+      <indivo:organDonor>true</indivo:organDonor>
+   </trans:Demographics>
+
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Georg Steffen Möller</foaf:name>
+      <foaf:givenName>Georg</foaf:givenName>
+      <foaf:familyName>Möller</foaf:familyName>
+      <!--personal mbox--><foaf:mbox>georg.moeller@mail.de</foaf:mbox>
+      <!--work mbox--><foaf:mbox>
+    </foaf:mbox>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>Fichtenweg 13</vcard:Street>
+            <vcard:Pcode>12345</vcard:Pcode>
+            <vcard:Locality>Berlin</vcard:Locality>
+            <vcard:Region>Berlin</vcard:Region>
+            <vcard:Country>DE</vcard:Country>
+            <pim:timeZone>+1GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>51N</geo:lat>
+         <geo:long>13E</geo:long>
+      </pim:location>
+      <foaf:phone>030-987654321</foaf:phone>
+      <foaf:phone>0160-987654321</foaf:phone>
+      <foaf:accountName/>
+   </foaf:Person>
+
+   
+      <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>5456944671</trans:NDC>
+      <trans:genericName>ATORVASTATIN TABLET</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>20</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>8</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>David Winizki</trans:prescribedBy>
+      <indivo:prescribedOn>2008-02-03</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+      <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>000007414020</trans:NDC>
+      <trans:genericName>CARVEDILOL TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>6.25</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>b.i.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>13</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>David Winizki</trans:prescribedBy>
+      <indivo:prescribedOn>2008-05-06</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+      <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>6050502532</trans:NDC>
+      <trans:genericName>CLOPIDOGREL TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>75</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET, FILM COATED</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>13</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>David Winizki</trans:prescribedBy>
+      <indivo:prescribedOn>2008-05-06</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+      <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>6050500652</trans:NDC>
+      <trans:genericName>OMEPRAZOLE CAPSULES</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>20</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>100</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>CAPSULE</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>1</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>David Winizki</trans:prescribedBy>
+      <indivo:prescribedOn>2009-06-18</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>false</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>0093732098</trans:NDC>
+      <trans:genericName>DONEPEZIL HYDROCHLORIDE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>o.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>0</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>90</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>David Winizki</trans:prescribedBy>
+      <indivo:prescribedOn>2009-07-22</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>2009-10-29</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>hypertension</trans:diagnosedWith>
+            <trans:ICD9>410</trans:ICD9>
+            <trans:dateDiagnosed>2008-02-03</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>alzheimer’s disease</trans:diagnosedWith>
+            <trans:ICD9>331</trans:ICD9>
+            <trans:dateDiagnosed>2009-07-21</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>acute coronary occlusion without myocardial infarction</trans:diagnosedWith>
+            <trans:ICD9>414</trans:ICD9>
+            <trans:dateDiagnosed>2008-05-06</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>gastroesophageal reflux disease</trans:diagnosedWith>
+            <trans:ICD9>530.81</trans:ICD9>
+            <trans:dateDiagnosed>2009-06-18</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>nausea and vomiting</trans:diagnosedWith>
+            <trans:ICD9>787.0</trans:ICD9>
+            <trans:dateDiagnosed>2009-07-23</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>adverse drug effect</trans:diagnosedWith>
+            <trans:ICD9>9995.2</trans:ICD9>
+            <trans:dateDiagnosed>2009-07-23</trans:dateDiagnosed>
+            <indivo:diagnosedBy>David Winizki</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+   
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>mold</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+  
+
+  
+
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>2</trans:frequency>
+            <trans:units>month</trans:units>
+            <trans:quantity>1</trans:quantity>
+            <trans:date>2002-02-02</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>1</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>60</trans:averageDuration>
+            <trans:date>2002-02-02</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:packYears>0</trans:packYears>
+            <trans:history>5 years</trans:history>
+            <trans:date>2002-02-02</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>3</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>6</trans:wholeGrainsRating>
+            <trans:dairyRating>4</trans:dairyRating>
+            <trans:proteinRating>4</trans:proteinRating>
+            <trans:fatsRating>7</trans:fatsRating>
+            <trans:junkFoodRating>6</trans:junkFoodRating>
+            <trans:date>2002-02-02</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Susie</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>24</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>TB</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Paul</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>81</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Betty</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>62</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>myocardialInfarction</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Gary</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>45</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>MedicalError</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Elizabeth</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <!--@@ x_1="RA", whatever that means--><trans:medicalConditions>yes</trans:medicalConditions>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Frank</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>yes</trans:cancer>
+            <trans:cancerType>Colorectal</trans:cancerType>
+            <trans:cancerTypeColorectalAge>62</trans:cancerTypeColorectalAge>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>brother</trans:relation>
+            <trans:fname>Jake</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2002-02-02</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">21</trans:x6_bodyFat>
+            <trans:misParse>&lt;weight units="kilogram"&gt;67&lt;/weight&gt;</trans:misParse>
+            <trans:misParse>&lt;height units="centimeter"&gt;173&lt;/height&gt;</trans:misParse>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">22</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">32</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">38</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">143</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">90</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">75</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">130</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">50</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">6</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+   </trans:Encounter>
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-03-02</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>headache, somnolence</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">156</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">80</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">50</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">6</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:workingDiagnosis>
+       
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>120002</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;&lt;/testScore&gt;</trans:misParse>
+            <trans:misParse>&lt;testNormalRange&gt;&lt;/testNormalRange&gt;</trans:misParse>
+            <trans:misParse>&lt;testResult&gt;abnormal&lt;/testResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage/>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park&lt;/description&gt;</trans:misParse>
+            <trans:value>25/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-05-06</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>chest pain, nausea, diaphoresis</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">154</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">82</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">77</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">130</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">50</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">6</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:workingDiagnosis>acute coronary syndrome</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>11111222</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood Test</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>11111222</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>111112221</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>13.1</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>111112222</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>111112223</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>42.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT>111112224</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>92</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT>111112225</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>34</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT>111112226</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33.8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>111112227</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>291</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>111112228</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>10</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT>111112229</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>7</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT>1111122210</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT>1111122210</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>11111223</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>11111223</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>111112231</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>137</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>111112232</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>111112233</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>39</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>111112234</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>104</trans:value>
+                  <trans:units>μmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>111112234</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>2.09</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>11111225</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>11111225</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>111112251</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>8</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>111112252</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>13</trans:value>
+                  <trans:units>μmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>111112253</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>122</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>111112254</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>134</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>11111224</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>11111224</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>111112241</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mIU/l</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>11111226</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>11111226</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>111112261</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Low-density lipoprotein</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>111112262</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Triglycerides</trans:description>
+                  <trans:value>2.9</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park&lt;/description&gt;</trans:misParse>
+            <trans:value>20/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-06-18</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>true</trans:medicalTest>
+      <trans:reportedSymptoms>dysphagia, nausea</trans:reportedSymptoms>
+      <trans:workingDiagnosis>gastroesophageal reflux disease</trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.08&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Mini-mental state examination</trans:testName>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;Basic test to indicate dementia less than 20/30 and your in the ball park&lt;/description&gt;</trans:misParse>
+            <trans:value>18/30</trans:value>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain</trans:testName>
+         <trans:referredTo>Daniel Schmidt</trans:referredTo>
+         <trans:referredClinic>Herzzentrum</trans:referredClinic>
+         <trans:referredBy>David Winizki</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;hippocampalLeft&gt;0.75&lt;/hippocampalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalRight&gt;0.72&lt;/hippocampalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalRight&gt;1.10&lt;/temporalRight&gt;</trans:misParse>
+            <trans:misParse>&lt;temporalLeft&gt;1.09&lt;/temporalLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;angularRight&gt;1.13&lt;/angularRight&gt;</trans:misParse>
+            <trans:misParse>&lt;angularLeft&gt;1.14&lt;/angularLeft&gt;</trans:misParse>
+            <trans:misParse>&lt;cingulumPostBilateral&gt;1.07&lt;/cingulumPostBilateral&gt;</trans:misParse>
+            <trans:misParse>&lt;hippocampalVolumeTestResult&gt;abnormal&lt;/hippocampalVolumeTestResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>Cerebral atrophy and signs suggestive of dementia</trans:physicianNotes>
+         <trans:originalImage>http:Herzzentrum.org/images/patient/2345</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-21</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>memory loss</trans:reportedSymptoms>
+      <trans:workingDiagnosis>alzheimer's disease</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource"/>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-23</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>nausea and vomiting</trans:reportedSymptoms>
+      <trans:workingDiagnosis>adverse drug effect</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource"/>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>David Winizki</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-30</trans:dateOfEncounter>
+      <trans:physician>David Winizki</trans:physician>
+      <trans:referral>false</trans:referral>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms/>
+      <trans:workingDiagnosis>referral for trial</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource"/>
+   </trans:Encounter>
+
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_5.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,768 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 5
+$Id: AD_PCHR_5.xml,v 1.4 2009/12/02 20:00:59 eric Exp $
+ -->
+<root>
+<Practice>
+    <practiceName>Ärztezentrum Schweizer Viertel</practiceName>
+    <practiceAddress>
+        <streetAddress>Lausanner Straße 85</streetAddress>
+        <postalCode>12205</postalCode>
+        <locality>Berlin</locality>
+        <region>Berlin</region>
+        <country>DE</country>
+        <timeZone>+1GMT</timeZone>
+        <phoneNumber>0049308418640</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>
+        <fullName>David Winizki</fullName>
+        <givenName>David</givenName>
+        <familyName>Winizki</familyName>
+        <license>AG 3647382</license>
+        <gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1945-04-05</dateOfBirth>
+    <dateOfDeath></dateOfDeath>
+    <gender>Male</gender>
+    <ethnicity>German</ethnicity>
+    <language>DE</language>
+    <maritalStatus>married</maritalStatus>
+    <employmentStatus>employed</employmentStatus>
+    <employmentIndustry>Library</employmentIndustry>
+    <occupation>Librarian</occupation>
+    <religion>Atheist</religion>
+    <income>37,000 EUR</income>
+    <highestEducation>MA</highestEducation>
+    <organDonor>true</organDonor>
+</Demographics>
+
+
+<Contact>
+    <name>
+        <fullName>Georg Steffen Möller</fullName>
+        <givenName>Georg</givenName>
+        <familyName>Möller</familyName>
+    </name>
+    <email type="personal">georg.moeller@mail.de</email>
+    <email type="work">
+    </email>
+    <address type="home">
+        <streetAddress>Fichtenweg 13</streetAddress>
+        <postalCode>12345</postalCode>
+        <locality>Berlin</locality>
+        <region>Berlin</region>
+        <country>DE</country>
+        <timeZone>+1GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>51N</latitude>
+        <longitude>13E</longitude>
+    </location>
+    <phoneNumber type="home">030-987654321</phoneNumber>
+    <phoneNumber type="work">0160-987654321</phoneNumber>
+    <instantMessengerName protocol="aim"></instantMessengerName>
+</Contact>
+
+   <prescriptions>
+      <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>5456944671</NDC>
+       <genericName>ATORVASTATIN TABLET</genericName>
+       <strength>20</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>8</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>David Winizki</prescribedBy>
+       <datePrescribed>2008-02-03</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+      <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>000007414020</NDC>
+       <genericName>CARVEDILOL TABLETS</genericName>
+       <strength>6.25</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>b.i.d.</frequency>
+       <refill>13</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>David Winizki</prescribedBy>
+       <datePrescribed>2008-05-06</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+      <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>6050502532</NDC>
+       <genericName>CLOPIDOGREL TABLETS</genericName>
+       <strength>75</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET, FILM COATED</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>13</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>David Winizki</prescribedBy>
+       <datePrescribed>2008-05-06</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+      <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>6050500652</NDC>
+       <genericName>OMEPRAZOLE CAPSULES</genericName>
+       <strength>20</strength>
+       <unit>MG</unit>
+       <packSize>100</packSize>
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>CAPSULE</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>1</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>David Winizki</prescribedBy>
+       <datePrescribed>2009-06-18</datePrescribed>
+       <datePrescriptionEnded>false</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+      </drug>
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>0093732098</NDC>
+       <genericName>DONEPEZIL HYDROCHLORIDE TABLETS</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>o.d.</frequency>
+       <refill>0</refill>
+       <daysToTake>90</daysToTake>
+       <prescribedBy>David Winizki</prescribedBy>
+       <datePrescribed>2009-07-22</datePrescribed>
+       <datePrescriptionEnded>2009-10-29</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+   </drug>
+</prescriptions>
+
+  <conditions>
+       <condition>
+           <diagnosedWith>hypertension</diagnosedWith>
+           <ICD9>410</ICD9>
+           <dateDiagnosed>2008-02-03</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>alzheimer’s disease</diagnosedWith>
+           <ICD9>331</ICD9>
+           <dateDiagnosed>2009-07-21</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>acute coronary occlusion without myocardial infarction</diagnosedWith>
+           <ICD9>414</ICD9>
+           <dateDiagnosed>2008-05-06</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>gastroesophageal reflux disease</diagnosedWith>
+           <ICD9>530.81</ICD9>
+           <dateDiagnosed>2009-06-18</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>nausea and vomiting</diagnosedWith>
+           <ICD9>787.0</ICD9>
+           <dateDiagnosed>2009-07-23</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>adverse drug effect</diagnosedWith>
+           <ICD9>9995.2</ICD9>
+           <dateDiagnosed>2009-07-23</dateDiagnosed>
+           <diagnosedBy>David Winizki</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+   </procedures>
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>none</food>
+       <environment>mold</environment>
+  </allergies>
+
+
+  <immunizations>
+  </immunizations>
+
+  
+<lifestyle>
+       <alcoholConsumption>
+           <frequency>2</frequency>
+           <units>month</units>
+           <quantity>1</quantity>
+           <date>2002-02-02</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>1</frequency>
+           <units>week</units>
+           <averageDuration>60</averageDuration>
+           <date>2002-02-02</date>
+       </exercise>
+       <smoking>
+           <packYears>0</packYears>
+           <history>5 years</history>
+           <date>2002-02-02</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>3</fruitVegetablesRating>
+            <wholeGrainsRating>6</wholeGrainsRating>
+            <dairyRating>4</dairyRating>
+            <proteinRating>4</proteinRating>
+            <fatsRating>7</fatsRating>
+            <junkFoodRating>6</junkFoodRating>
+            <date>2002-02-02</date>
+       </diet>
+  </lifestyle>
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Susie</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>24</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>TB</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Paul</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>81</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Betty</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>62</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>myocardialInfarction</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Gary</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>45</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>MedicalError</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Elizabeth</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="RA">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Frank</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>yes</cancer>
+         <cancerType>Colorectal</cancerType>
+         <cancerTypeColorectalAge>62</cancerTypeColorectalAge>
+      </subject>
+      <subject id="7">
+         <relation>brother</relation>
+         <fname>Jake</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+</familyHistory>
+
+<Encounter>
+    <dateOfEncounter>2002-02-02</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">21</x6_bodyFat>
+         <weight units="kilogram">67</weight>
+         <height units="centimeter">173</height>
+         <BMI units="kg/m^2">22</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">32</waist>
+         <hips units="inches">38</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">143</systolic>
+         <diastolic units="mmHg">90</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">75</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">130</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">50</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">6</PEFR>
+      </lungFunction>
+    </physicalObservations>
+</Encounter>
+
+
+<Encounter>
+    <dateOfEncounter>2008-03-02</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>
+    <reportedSymptoms>headache, somnolence</reportedSymptoms>
+    <physicalObservations>
+      <bloodPressure>
+         <systolic units="mmHg">156</systolic>
+         <diastolic units="mmHg">80</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">50</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">6</PEFR>
+      </lungFunction>
+    </physicalObservations>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>hypertension</diagnosisDescription>
+          <ICD9>410</ICD9>
+          <ICD9Description>hypertension</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <test x_2="ECG">
+       <CPT>120002</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <result>
+          <testScore></testScore>
+          <testNormalRange></testNormalRange>
+          <testResult>abnormal</testResult>
+       </result>
+       <originalImage></originalImage>
+      <physicianNotes>...</physicianNotes>
+    </test>
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park</description>
+	   <value>25/30</value>
+	</result>
+	   <physicianNotes>...</physicianNotes>
+	</test>
+
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2008-05-06</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>	
+    <reportedSymptoms>chest pain, nausea, diaphoresis</reportedSymptoms>
+    <physicalObservations>
+      <bloodPressure>
+         <systolic units="mmHg">154</systolic>
+         <diastolic units="mmHg">82</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">77</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">130</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">50</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">6</PEFR>
+      </lungFunction>
+    </physicalObservations>
+    <workingDiagnosis>acute coronary syndrome</workingDiagnosis>
+
+
+    <test x_2="Laboratory">
+       <CPT>11111222</CPT>
+       <testName>Blood Test</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <CompleteBloodCount CPT="11111222">
+          <testCode x_3="HGB">
+             <CPT>111112221</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>13.1</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>111112222</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>5</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>111112223</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>42.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT>111112224</CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>92</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT>111112225</CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>34</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT>111112226</CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33.8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>111112227</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>291</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>111112228</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>10</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT>111112229</CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>7</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT>1111122210</CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT>1111122210</CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.4</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.4</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>11111223</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <RenalFunctionPanel CPT="11111223">
+          <testCode x_3="NA">
+             <CPT>111112231</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>137</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>111112232</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>4</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>111112233</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>39</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>111112234</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>104</value>
+             <units>μmol/l</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>111112234</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="GLU"> <!-- @@ guessed this should be a GLU -->
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description> <!-- @@ was Urine -->
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>1.01</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>2.09</value>
+             <units>mmol/l</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>11111225</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <HepaticFunctionPanel CPT="11111225">
+          <testCode x_3="TP">
+             <CPT>111112251</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>8</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>111112252</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>13</value>
+             <units>μmol/l</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>111112253</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>122</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>111112254</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>134</value>
+             <units>IU/l</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>11111224</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <ThyroidFunction CPT="11111224">
+          <testCode x_3="TSH">
+             <CPT>111112241</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>4</value>
+             <units>mIU/l</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>11111226</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Daniel Schmidt</referredTo>
+       <referredClinic>Herzzentrum</referredClinic>
+       <referredBy>David Winizki</referredBy>
+       <LipidPanel CPT="11111226">
+          <testCode x_3="LDL">
+             <CPT>111112261</CPT>
+             <LOINC></LOINC>
+             <description>Low-density lipoprotein</description>
+             <value>4</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>111112262</CPT>
+             <LOINC></LOINC>
+             <description>Triglycerides</description>
+             <value>2.9</value>
+             <units>mmol/l</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park</description>
+	   <value>20/30</value>
+	</result>
+	   <physicianNotes>...</physicianNotes>
+	</test>
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-06-18</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>true</medicalTest>	
+    <reportedSymptoms>dysphagia, nausea</reportedSymptoms>
+    <workingDiagnosis>gastroesophageal reflux disease</workingDiagnosis>
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>94.08</ICD9_Procedure>
+	   <testName>Mini-mental state examination</testName>
+	<result x_4="MMSE Scores">
+	   <description>Basic test to indicate dementia less than 20/30 and your in the ball park</description>
+	   <value>18/30</value>
+	</result>
+	   <physicianNotes>...</physicianNotes>
+	</test>
+	<test x_2="ICD9 Procedure">
+	   <ICD9_Procedure>88.91</ICD9_Procedure>
+	   <testName>Magnetic resonance imaging of brain and brain</testName>
+	   <referredTo>Daniel Schmidt</referredTo>
+	   <referredClinic>Herzzentrum</referredClinic>
+	   <referredBy>David Winizki</referredBy>
+	<result x_4="DICOM 3.0 Image Data">
+	   <hippocampalLeft>0.75</hippocampalLeft>
+	   <hippocampalRight>0.72</hippocampalRight>
+	   <temporalRight>1.10</temporalRight>
+	   <temporalLeft>1.09</temporalLeft>
+	   <angularRight>1.13</angularRight>
+	   <angularLeft>1.14</angularLeft>
+	   <cingulumPostBilateral>1.07</cingulumPostBilateral>
+	   <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+	</result>
+	   <physicianNotes>Cerebral atrophy and signs suggestive of dementia</physicianNotes>
+	   <originalImage>http:Herzzentrum.org/images/patient/2345</originalImage>
+      <physicianNotes>...</physicianNotes>
+	</test>
+
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-07-21</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>memory loss</reportedSymptoms>
+    <workingDiagnosis>alzheimer's disease</workingDiagnosis>
+    <physicalObservations></physicalObservations>
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-07-23</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>nausea and vomiting</reportedSymptoms>
+    <workingDiagnosis>adverse drug effect</workingDiagnosis>
+    <physicalObservations></physicalObservations>
+ </Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-07-30</dateOfEncounter>
+    <physician>David Winizki</physician>
+    <referral>false</referral>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms></reportedSymptoms>
+    <workingDiagnosis>referral for trial</workingDiagnosis>
+    <physicalObservations></physicalObservations>
+ </Encounter>
+
+</root>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_6.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1828 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Marianne Huber</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Marianne Huber</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>11071084101</td>
+               <td>DONEPEZIL HYDROCHLORIDE TABLETS</td>
+               <td>5.00</td>
+               <td>MG</td>
+               <td>90</td>
+               <td>BLPK</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>3</td>
+               <td>90</td>
+               <td>Henry No</td>
+               <td>2009-07-20&gt;</td>
+               <td>2009-11-16</td>
+               <td>...</td>
+            </tr>
+            <tr>
+               <td>National Drug Code Directory</td>
+               <td>00069-1520-68</td>
+               <td>AMLODIPINE TABLETS</td>
+               <td>5</td>
+               <td>MG</td>
+               <td>30</td>
+               <td>BOT</td>
+               <td>ORAL</td>
+               <td>TABLET</td>
+               <td>q.d.</td>
+               <td>2</td>
+               <td>ongoing</td>
+               <td>Henry No</td>
+               <td>2009-11-09</td>
+               <td></td>
+               <td>od (once daily)</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>Hypertension</td>
+               <td>401.9</td>
+               <td>2008-11-09</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Hypocalcemia</td>
+               <td>275.41</td>
+               <td>2009-11-09</td>
+               <td>Henry No</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>Colonoscopy</td>
+               <td></td>
+               <td>2002-05-01</td>
+               <td></td>
+               <td>Larry Lu</td>
+               <td>Redding Hospital</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>none</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>measles</td>
+               <td>1945</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Larry Lu</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mumps</td>
+               <td>1945</td>
+               <td>oral</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Larry Lu</td>
+            </tr>
+            
+            
+            <tr>
+               <td>rubella</td>
+               <td>1949</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Larry Lu</td>
+            </tr>
+            
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2005</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Larry Lu</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>0</td>
+               <td>week</td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>0</td>
+               <td>week</td>
+               <td></td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td>0</td>
+               <td>week</td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td>never</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2004-08-15</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>5</td>
+               <td>8</td>
+               <td>4</td>
+               <td>8</td>
+               <td>4</td>
+               <td>4</td>
+               <td>2004-08-15</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Gerta</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>50</td>
+               <td>yes</td>
+               <td></td>
+               <td></td>
+               <td>cancer</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Paul</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>70</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Hermine</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>66</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>myocardialInfarction</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Gary</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>65</td>
+               <td>yes</td>
+               <td></td>
+               <td></td>
+               <td>cancer</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Elsa</td>
+               <td>Female</td>
+               <td>yes</td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Franz</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>brother</td>
+               <td>Jake</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-05-10</a></td>
+                  <td>Larry Lu</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>false none</td>
+                  <td>false</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>30</td>
+                           <td>200</td>
+                           <td>70</td>
+                           <td>28.7</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>40</td>
+                           <td>46</td>
+                           <td>0.9</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>154</td>
+                           <td>99</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>80</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>139</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>500</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>13.4</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>6</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85014</td>
+                                    <td></td>
+                                    <td>Hematocrit</td>
+                                    <td>38.0</td>
+                                    <td>percent</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>95</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>30</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin Concentration</td>
+                                    <td>33</td>
+                                    <td>Hb/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85049</td>
+                                    <td></td>
+                                    <td>Platelet Count</td>
+                                    <td>600</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>11</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>9</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>2</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.4</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td>Low-density lipoprotein</td>
+                                    <td>101</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td>High-density lipoprotein</td>
+                                    <td>59</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td>Triglycerides</td>
+                                    <td>140</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>6.2</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>17</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>1.9</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>277</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>245</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>7.7</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>141</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>4</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>144</td>
+                                    <td>umol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>3.9</td>
+                                    <td>g/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>8.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>8.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84550</td>
+                                    <td></td>
+                                    <td>Serum Uric Acid</td>
+                                    <td>3.5</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>3</td>
+                                    <td>mcU/ml</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-15</a></td>
+                  <td>Larry Lu</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Confusion, Declining memory</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Syphilis test; quantitative</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Administration of psychologic test</td>
+                           <td>Mark Tourney</td>
+                           <td>Happy Days</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain stem</td>
+                           <td>David Tork</td>
+                           <td>Warrington Hospital</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-07-20</a></td>
+                  <td>Mark Tourney</td>
+                  <td></td>
+                  <td>false</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>97532</td>
+                           <td>Alzheimer's Disease Assessment Scale-cognitive subscale</td>
+                           <td>Neurologist Vince</td>
+                           <td>Neuro Clinic</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td>ADmark Alzheimer's Evaluation</td>
+                           <td>Neurologist Vince</td>
+                           <td>Neuro Clinic</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs429358</td>
+                                    <td>APOE4, NG_007084.2:g.7903T&gt;C</td>
+                                    <td>APOE</td>
+                                    <td> apolipoprotein E</td>
+                                    <td>348</td>
+                                    <td> NG_007084.2</td>
+                                    <td>coding_region</td>
+                                    <td>g.7903T&gt;C</td>
+                                    <td>Substitution</td>
+                                    <td>C112R</td>
+                                    <td>Missense</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-09-15</a></td>
+                  <td>Larry Lu</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Depression, gait problems</td>
+                  <td>
+                     
+                     
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Administration of psychologic test</td>
+                           <td>Mark Tourney</td>
+                           <td>Happy Days</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>20</td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-11-09</a></td>
+                  <td>Larry Lu</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>acute admission to hospital</td>
+                  <td>Depression</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>93040</td>
+                           <td>Rhythm ECG</td>
+                           <td>Mark Tourney</td>
+                           <td>Heart Clinic</td>
+                           <td>Larry Lu</td>
+                           <td>http://</td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>6.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>6.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-11-16</a></td>
+                  <td>Larry Lu</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>none</td>
+                  <td>referral to endocrinologist</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td>Janet Day</td>
+                           <td>Family Health Laboratories</td>
+                           <td>Larry Lu</td>
+                           <td></td>
+                           <td></td>
+                           <td></td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>6.0</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Corrected Calcium Level</td>
+                                    <td>6.1</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : Community Health</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>2455 El Camino Real</td>
+               <td>94306 </td>
+               <td>Palo Alto</td>
+               <td>California</td>
+               <td>US</td>
+               <td>-8GMT</td>
+               <td>1789155552</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Larry Lu</td>
+                  <td>Larry</td>
+                  <td>Lu</td>
+                  <td>111120</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1940-01-01</td>
+               <td>XXXX-XX-XX</td>
+               <td>Female</td>
+               <td>German</td>
+               <td>EN</td>
+               <td>Married</td>
+               <td>Retired</td>
+               <td>Technology</td>
+               <td>Database Administrator</td>
+               <td>Catholic</td>
+               <td>100,000 USD</td>
+               <td>MSC</td>
+               <td>false</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Marianne Huber</td>
+               <td>Gerlinde</td>
+               <td>Huber</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>2400 Newton St.</td>
+               <td>94306 </td>
+               <td>Palo Alto</td>
+               <td>California</td>
+               <td>US</td>
+               <td>-8GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_6.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1034 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>Community Health</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>2455 El Camino Real</vcard:Street>
+            <vcard:Pcode>94306 </vcard:Pcode>
+            <vcard:Locality>Palo Alto</vcard:Locality>
+            <vcard:Region>California</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-8GMT</pim:timeZone>
+            <foaf:phone>1789155552</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Larry Lu</foaf:name>
+            <foaf:givenName>Larry</foaf:givenName>
+            <foaf:familyName>Lu</foaf:familyName>
+            <trans:license>111120</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1940-01-01</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Female</indivo:gender>
+      <indivo:ethnicity>German</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Married</indivo:maritalStatus>
+      <indivo:employmentStatus>Retired</indivo:employmentStatus>
+      <indivo:employmentIndustry>Technology</indivo:employmentIndustry>
+      <indivo:occupation>Database Administrator</indivo:occupation>
+      <indivo:religion>Catholic</indivo:religion>
+      <indivo:income>100,000 USD</indivo:income>
+      <indivo:highestEducation>MSC</indivo:highestEducation>
+      <indivo:organDonor>false</indivo:organDonor>
+   </trans:Demographics>
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Marianne Huber</foaf:name>
+      <foaf:givenName>Gerlinde</foaf:givenName>
+      <foaf:familyName>Huber</foaf:familyName>
+      <!--personal mbox--><foaf:mbox>
+        mhuber@hotmail.com
+    </foaf:mbox>
+      <!--work mbox--><foaf:mbox>
+        Marianne.huber@technology.com
+    </foaf:mbox>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>2400 Newton St.</vcard:Street>
+            <vcard:Pcode>94306 </vcard:Pcode>
+            <vcard:Locality>Palo Alto</vcard:Locality>
+            <vcard:Region>California</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-8GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>40N</geo:lat>
+         <geo:long>68W</geo:long>
+      </pim:location>
+      <foaf:phone>123444</foaf:phone>
+      <foaf:phone>17444011734</foaf:phone>
+   </foaf:Person>
+
+   
+   <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>11071084101</trans:NDC>
+      <trans:genericName>DONEPEZIL HYDROCHLORIDE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5.00</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>90</trans:packSize>
+      <trans:packType>BLPK</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>3</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>90</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-07-20&gt;</indivo:prescribedOn>
+      <trans:datePrescriptionEnded>2009-11-16</trans:datePrescriptionEnded>
+      <trans:physicianNotes>...</trans:physicianNotes>
+   </trans:Drug>
+  
+     <trans:Drug>
+      <trans:prescribedTo rdf:resource="#me"/>
+      <trans:ontology>National Drug Code Directory</trans:ontology>
+      <trans:NDC>00069-1520-68</trans:NDC>
+      <trans:genericName>AMLODIPINE TABLETS</trans:genericName>
+      <!-- ++ indivo:Prescription/strength/value --><trans:strength>5</trans:strength>
+      <!-- ++ indivo:Prescription/strength/value --><trans:unit>MG</trans:unit>
+      <trans:packSize>30</trans:packSize>
+      <trans:packType>BOT</trans:packType>
+      <trans:routeName>ORAL</trans:routeName>
+      <trans:dosageName>TABLET</trans:dosageName>
+      <trans:frequency>q.d.</trans:frequency>
+      <!-- ++ indivo:Prescription/refillInfo --><trans:refill>2</trans:refill>
+      <!-- ++ indivo:Prescription/duration --><trans:daysToTake>ongoing</trans:daysToTake>
+      <!-- ++ indivo:Prescription/prescribedBy/name --><trans:prescribedBy>Henry No</trans:prescribedBy>
+      <indivo:prescribedOn>2009-11-09</indivo:prescribedOn>
+      <trans:physicianNotes>od (once daily)</trans:physicianNotes>
+   </trans:Drug>
+
+   
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Hypertension</trans:diagnosedWith>
+            <trans:ICD9>401.9</trans:ICD9>
+            <trans:dateDiagnosed>2008-11-09</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Hypocalcemia</trans:diagnosedWith>
+            <trans:ICD9>275.41</trans:ICD9>
+            <trans:dateDiagnosed>2009-11-09</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Henry No</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+      <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>Colonoscopy</trans:procedureName>
+      <indivo:datePerformed>2002-05-01</indivo:datePerformed>
+      <trans:referredBy>Larry Lu</trans:referredBy>
+      <trans:referredInstitution>Redding Hospital</trans:referredInstitution>
+   </trans:Procedure>
+            
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>measles</trans:diseaseName>
+            <indivo:dateAdministered>1945</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Larry Lu</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>mumps</trans:diseaseName>
+            <indivo:dateAdministered>1945</indivo:dateAdministered>
+            <trans:method>oral</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Larry Lu</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>rubella</trans:diseaseName>
+            <indivo:dateAdministered>1949</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Larry Lu</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2005</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Larry Lu</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+   
+
+  
+  
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>0</trans:quantity>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>0</trans:averageDuration>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>0</trans:quantity>
+            <trans:history>never</trans:history>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>5</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>8</trans:wholeGrainsRating>
+            <trans:dairyRating>4</trans:dairyRating>
+            <trans:proteinRating>8</trans:proteinRating>
+            <trans:fatsRating>4</trans:fatsRating>
+            <trans:junkFoodRating>4</trans:junkFoodRating>
+            <trans:date>2004-08-15</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Gerta</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>50</trans:ageAtDeath>
+            <trans:cancer>yes</trans:cancer>
+            <trans:causeOfDeath>cancer</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Paul</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>70</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Hermine</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>66</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>myocardialInfarction</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Gary</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>65</trans:ageAtDeath>
+            <trans:cancer>yes</trans:cancer>
+            <trans:causeOfDeath>cancer</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Elsa</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <!--@@ x_1="RA", whatever that means--><trans:medicalConditions>yes</trans:medicalConditions>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Franz</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>brother</trans:relation>
+            <trans:fname>Jake</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Larry Lu</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-05-10</trans:dateOfEncounter>
+      <trans:physician>Larry Lu</trans:physician>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>false</trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">30</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">200</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">70</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">28.7</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">40</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">46</trans:hips>
+            <trans:waistToHips>0.9</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">154</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">99</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">80</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">139</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">50.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">500</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>13.4</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>6</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HCT</trans:x_3>
+                  <trans:CPT>85014</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hematocrit</trans:description>
+                  <trans:value>38.0</trans:value>
+                  <trans:units>percent</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>95</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>30</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCHC</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin Concentration</trans:description>
+                  <trans:value>33</trans:value>
+                  <trans:units>Hb/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PLTC</trans:x_3>
+                  <trans:CPT>85049</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Platelet Count</trans:description>
+                  <trans:value>600</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>11</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>9</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>2</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.4</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Low-density lipoprotein</trans:description>
+                  <trans:value>101</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>High-density lipoprotein</trans:description>
+                  <trans:value>59</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode> 
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Triglycerides</trans:description>
+                  <trans:value>140</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>6.2</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>1.9</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>277</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>245</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>7.7</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>141</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>144</trans:value>
+                  <trans:units>umol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>3.9</trans:value>
+                  <trans:units>g/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>8.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>8.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>URIC</trans:x_3>
+                  <trans:CPT>84550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Uric Acid</trans:description>
+                  <trans:value>3.5</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>3</trans:value>
+                  <trans:units>mcU/ml</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Larry Lu</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-15</trans:dateOfEncounter>
+      <trans:physician>Larry Lu</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Confusion, Declining memory</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;86593&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Syphilis test; quantitative</trans:testName>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.02&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Administration of psychologic test</trans:testName>
+         <trans:referredTo>Mark Tourney</trans:referredTo>
+         <trans:referredClinic>Happy Days</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;&lt;/description&gt;</trans:misParse>
+            <trans:value/>
+            <trans:misParse>&lt;units&gt;&lt;/units&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9_Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain stem</trans:testName>
+         <trans:referredTo>David Tork</trans:referredTo>
+         <trans:referredClinic>Warrington Hospital</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource"/>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Mark Tourney</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-07-20</trans:dateOfEncounter>
+      <trans:physician>Mark Tourney</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Cognative"/>
+         <trans:CPT>97532</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Alzheimer's Disease Assessment Scale-cognitive subscale</trans:testName>
+         <trans:referredTo>Neurologist Vince</trans:referredTo>
+         <trans:referredClinic>Neuro Clinic</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;???&lt;/testScore&gt;</trans:misParse>
+            <trans:misParse>&lt;testNormalRange&gt;????&lt;/testNormalRange&gt;</trans:misParse>
+            <trans:misParse>&lt;testResult&gt;abnormal&lt;/testResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>ADmark Alzheimer's Evaluation</trans:testName>
+         <trans:referredTo>Neurologist Vince</trans:referredTo>
+         <trans:referredClinic>Neuro Clinic</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs429358</trans:rs_Number>
+            <trans:variant_Synonyms>APOE4, NG_007084.2:g.7903T&gt;C</trans:variant_Synonyms>
+            <trans:gene_Symbol>APOE</trans:gene_Symbol>
+            <trans:gene_Name> apolipoprotein E</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>348</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID> NG_007084.2</trans:Accession_ID>
+            <trans:Gene_Region>coding_region</trans:Gene_Region>
+            <trans:DNA_Change>g.7903T&gt;C</trans:DNA_Change>
+            <trans:DNA_Change_Type>Substitution</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>C112R</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Missense</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Larry Lu</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-09-15</trans:dateOfEncounter>
+      <trans:physician>Larry Lu</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Depression, gait problems</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9_Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.02&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Administration of psychologic test</trans:testName>
+         <trans:referredTo>Mark Tourney</trans:referredTo>
+         <trans:referredClinic>Happy Days</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;&lt;/description&gt;</trans:misParse>
+            <trans:value>20</trans:value>
+            <trans:misParse>&lt;units&gt;&lt;/units&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Larry Lu</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-11-09</trans:dateOfEncounter>
+      <trans:physician>Larry Lu</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>acute admission to hospital</trans:medicalTest>
+      <trans:reportedSymptoms>Depression</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ECG"/>
+         <trans:CPT>93040</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Rhythm ECG</trans:testName>
+         <trans:referredTo>Mark Tourney</trans:referredTo>
+         <trans:referredClinic>Heart Clinic</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;abnormal&lt;/testScore&gt;</trans:misParse>
+         </trans:result>
+         <trans:originalImage>http://</trans:originalImage>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>6.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>6.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+      </trans:test>
+   </trans:Encounter>
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Larry Lu</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-11-16</trans:dateOfEncounter>
+      <trans:physician>Larry Lu</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>none</trans:reportedSymptoms>
+      <trans:workingDiagnosis>referral to endocrinologist</trans:workingDiagnosis>
+      <trans:physicalObservations rdf:parseType="Resource"/>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:referredTo>Janet Day</trans:referredTo>
+         <trans:referredClinic>Family Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Larry Lu</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>6.0</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CNA</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Corrected Calcium Level</trans:description>
+                  <trans:value>6.1</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+      </trans:test>
+   </trans:Encounter>
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_6.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,818 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 6
+$Id: AD_PCHR_6.xml,v 1.4 2009/12/02 21:07:59 eric Exp $
+ -->
+<root>
+<Practice>
+    <practiceName>Community Health</practiceName>
+    <practiceAddress>
+    <streetAddress>2455 El Camino Real</streetAddress>
+        <postalCode>94306 </postalCode>
+        <locality>Palo Alto</locality>
+        <region>California</region>
+        <country>US</country>
+        <timeZone>-8GMT</timeZone>
+        <phoneNumber>1789155552</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Larry Lu</fullName>
+        <givenName>Larry</givenName>
+        <familyName>Lu</familyName>
+        <license>111120</license> 
+        <gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1940-01-01</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Female</gender>
+    <ethnicity>German</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Married</maritalStatus>
+    <employmentStatus>Retired</employmentStatus>
+    <employmentIndustry>Technology</employmentIndustry>
+    <occupation>Database Administrator</occupation>
+    <religion>Catholic</religion>
+    <income>100,000 USD</income>
+    <highestEducation>MSC</highestEducation>
+    <organDonor>false</organDonor>
+</Demographics>
+
+<Contact>
+    <name>
+        <fullName>Marianne Huber</fullName>
+        <givenName>Gerlinde</givenName>
+        <familyName>Huber</familyName>
+    </name>
+    <email type="personal">
+        mhuber@hotmail.com
+    </email>
+    <email type="work">
+        Marianne.huber@technology.com
+    </email>
+    <address type="home">
+        <streetAddress>2400 Newton St.</streetAddress>
+        <postalCode>94306 </postalCode>
+        <locality>Palo Alto</locality>
+        <region>California</region>
+        <country>US</country>
+        <timeZone>-8GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>40N</latitude>
+        <longitude>68W</longitude>
+    </location>
+    <phoneNumber type="home">123444</phoneNumber>
+    <phoneNumber type="work">17444011734</phoneNumber>
+
+</Contact>
+
+   <prescriptions>
+<drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>11071084101</NDC>
+       <genericName>DONEPEZIL HYDROCHLORIDE TABLETS</genericName>
+       <strength>5.00</strength>
+       <unit>MG</unit>
+       <packSize>90</packSize>
+       <packType>BLPK</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>  
+       <refill>3</refill>
+       <daysToTake>90</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-07-20></datePrescribed>
+       <datePrescriptionEnded>2009-11-16</datePrescriptionEnded>
+      <physicianNotes>...</physicianNotes>
+   </drug>
+  
+     <drug>
+       <ontology>National Drug Code Directory</ontology>
+       <NDC>00069-1520-68</NDC>
+       <genericName>AMLODIPINE TABLETS</genericName>
+       <strength>5</strength>
+       <unit>MG</unit>
+       <packSize>30</packSize>                              
+       <packType>BOT</packType>
+       <routeName>ORAL</routeName>
+       <dosageName>TABLET</dosageName>
+       <frequency>q.d.</frequency>
+       <refill>2</refill>
+       <daysToTake>ongoing</daysToTake>
+       <prescribedBy>Henry No</prescribedBy>
+       <datePrescribed>2009-11-09</datePrescribed>
+      <physicianNotes>od (once daily)</physicianNotes>
+      </drug>
+
+   </prescriptions>
+
+  <conditions>
+       <condition>
+           <diagnosedWith>Hypertension</diagnosedWith>
+	   <ICD9>401.9</ICD9>
+           <dateDiagnosed>2008-11-09</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+	   <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>Hypocalcemia</diagnosedWith>
+	   <ICD9>275.41</ICD9>
+           <dateDiagnosed>2009-11-09</dateDiagnosed>
+           <diagnosedBy>Henry No</diagnosedBy>
+	   <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+      <procedure>
+	   <procedureName>Colonoscopy</procedureName>
+           <procedureDate>2002-05-01</procedureDate>
+           <referredBy>Larry Lu</referredBy>
+           <referredInstitution>Redding Hospital</referredInstitution> 
+      </procedure>
+   </procedures>         
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>none</food>
+       <environment>none</environment>
+  </allergies>
+
+
+  <immunizations>
+      <measles>
+         <date>1945</date>
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Larry Lu</administeredBy>
+      </measles>
+      <mumps>
+         <date>1945</date>   
+         <method>oral</method>
+         <compound>single</compound>
+         <stage>1</stage>
+      <administeredBy>Larry Lu</administeredBy>
+      </mumps>
+      <rubella>
+         <date>1949</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Larry Lu</administeredBy>
+      </rubella>
+      <tetanus>
+         <date>2005</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Larry Lu</administeredBy>
+      </tetanus> 
+  </immunizations> 
+
+  
+<lifestyle>  
+       <alcoholConsumption>
+           <frequency>0</frequency>
+           <units>week</units>
+           <quantity>0</quantity>
+           <date>2004-08-15</date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>0</frequency>
+           <units>week</units>
+           <averageDuration>0</averageDuration>
+           <date>2004-08-15</date>
+       </exercise>
+       <smoking>
+           <frequency>0</frequency>
+           <units>week</units>
+           <quantity>0</quantity>
+           <history>never</history>
+           <date>2004-08-15</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>5</fruitVegetablesRating>
+            <wholeGrainsRating>8</wholeGrainsRating>
+            <dairyRating>4</dairyRating>
+            <proteinRating>8</proteinRating>
+            <fatsRating>4</fatsRating>
+            <junkFoodRating>4</junkFoodRating>
+            <date>2004-08-15</date>
+       </diet>
+  </lifestyle>
+
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Gerta</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>50</ageAtDeath>
+         <cancer>yes</cancer>
+         <causeOfDeath>cancer</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Paul</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>70</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Hermine</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>66</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>myocardialInfarction</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Gary</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>65</ageAtDeath>
+         <cancer>yes</cancer>
+         <causeOfDeath>cancer</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Elsa</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+         <medicalConditions x_1="RA">yes</medicalConditions>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Franz</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+
+
+      </subject>
+      <subject id="7">
+         <relation>brother</relation>
+         <fname>Jake</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+</familyHistory>
+
+
+<Encounter>
+    <dateOfEncounter>2009-05-10</dateOfEncounter>
+    <physician>Larry Lu</physician>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>false</workingDiagnosis>
+    <referral>false</referral> 
+    <reportedSymptoms>none</reportedSymptoms>
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">30</x6_bodyFat>
+         <weight units="pounds">200</weight>
+         <height units="inches">70</height>
+         <BMI units="kg/m^2">28.7</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">40</waist>
+         <hips units="inches">46</hips>
+         <waistToHips>0.9</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">154</systolic>
+         <diastolic units="mmHg">99</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">80</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">139</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">50.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">500</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>13.4</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>6</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="HCT">
+             <CPT>85014</CPT>
+             <LOINC></LOINC>
+             <description>Hematocrit</description>
+             <value>38.0</value>
+             <units>percent</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>95</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>30</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="MCHC">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin Concentration</description>
+             <value>33</value>
+             <units>Hb/cell</units>
+          </testCode>
+          <testCode x_3="PLTC">
+             <CPT>85049</CPT>
+             <LOINC></LOINC>
+             <description>Platelet Count</description>
+             <value>600</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>11</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>9</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>2</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.4</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.4</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description>Low-density lipoprotein</description>
+             <value>101</value>
+             <units>mg/dl</units>
+          </testCode>
+           <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description>High-density lipoprotein</description>
+             <value>59</value>
+             <units>mg/dl</units>
+          </testCode> 
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description>Triglycerides</description>
+             <value>140</value>
+             <units>mg/dl</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>6.2</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>17</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>1.9</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>277</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>245</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>7.7</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>141</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>4</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>144</value>
+             <units>umol/l</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>3.9</value>
+             <units>g/dl</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>8.0</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>8.1</value>
+             <units>mg/dl</units>
+          </testCode>
+
+          <testCode x_3="URIC">
+             <CPT>84550</CPT>
+             <LOINC></LOINC>
+             <description>Serum Uric Acid</description>
+             <value>3.5</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>3</value>
+             <units>mcU/ml</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+
+
+<Encounter>
+    <dateOfEncounter>2009-07-15</dateOfEncounter>
+    <physician>Larry Lu</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Confusion, Declining memory</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+    <test x_2="ICD9 Procedure">
+      <ICD9_Procedure>86593</ICD9_Procedure>
+      <testName>Syphilis test; quantitative</testName>
+      <!-- !!result>negative</result -->
+      <physicianNotes>...</physicianNotes>	
+      </test> 
+
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.02</ICD9_Procedure>
+       <testName>Administration of psychologic test</testName>
+       <referredTo>Mark Tourney</referredTo>
+       <referredClinic>Happy Days</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result x_4="Wechsler Memory Scale">
+          <description></description>
+          <value></value>
+          <units></units>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+    <test x_2="ICD9_Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain stem</testName>
+       <referredTo>David Tork</referredTo>
+       <referredClinic>Warrington Hospital</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          ...
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+<Encounter>
+    <dateOfEncounter>2009-07-20</dateOfEncounter>
+    <physician>Mark Tourney</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+          <ICD9>331.0</ICD9>
+          <ICD9Description>Alzheimer's disease</ICD9Description>
+       </differentialDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <test x_2="Cognative">
+       <CPT>97532</CPT>
+       <testName>Alzheimer's Disease Assessment Scale-cognitive subscale</testName>
+       <referredTo>Neurologist Vince</referredTo>
+       <referredClinic>Neuro Clinic</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result>
+          <testScore>???</testScore>
+          <testNormalRange>????</testNormalRange>
+          <testResult>abnormal</testResult>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+    <test x_2="Genotyping SNPs">
+       <CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+       <testName>ADmark Alzheimer's Evaluation</testName>
+       <referredTo>Neurologist Vince</referredTo>
+       <referredClinic>Neuro Clinic</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result>
+          <value>abnormal</value>
+          <rs_Number> rs429358</rs_Number>
+          <variant_Synonyms>APOE4, NG_007084.2:g.7903T>C</variant_Synonyms>
+          <gene_Symbol>APOE</gene_Symbol>
+          <gene_Name> apolipoprotein E</gene_Name>
+          <ENTREZ_Gene_ID>348</ENTREZ_Gene_ID>
+          <Accession_ID> NG_007084.2</Accession_ID>
+          <Gene_Region>coding_region</Gene_Region>
+          <DNA_Change>g.7903T>C</DNA_Change>
+          <DNA_Change_Type>Substitution</DNA_Change_Type>
+          <Amino_Acid_Change>C112R</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Missense</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-09-15</dateOfEncounter>
+    <physician>Larry Lu</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Depression, gait problems</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Major Depression</diagnosisDescription>
+          <ICD9>296.2</ICD9>
+          <ICD9Description> Major Depression, single episode </ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Abnormal gait</diagnosisDescription>
+          <ICD9>781.2</ICD9>
+          <ICD9Description>Abnormality of gait</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+
+    <test x_2="ICD9_Procedure">
+       <ICD9_Procedure>94.02</ICD9_Procedure>
+       <testName>Administration of psychologic test</testName>
+       <referredTo>Mark Tourney</referredTo>
+       <referredClinic>Happy Days</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result x_4="Hamilton Depression Rating Scale (HRSD-17)">
+          <description></description>
+          <value>20</value>
+          <units></units>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-11-09</dateOfEncounter>
+    <physician>Larry Lu</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>acute admission to hospital</medicalTest>	
+    <reportedSymptoms>Depression</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Major Depression</diagnosisDescription>
+          <ICD9>296.2</ICD9>
+          <ICD9Description>Major Depression, single episode</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>Electrolyte Imbalance</differentialDiagnosis>
+    </workingDiagnosis>
+
+<test x_2="ECG">
+       <CPT>93040</CPT>
+       <testName>Rhythm ECG</testName>
+       <referredTo>Mark Tourney</referredTo>
+       <referredClinic>Heart Clinic</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <result>
+          <testScore>abnormal</testScore>
+       </result>
+       <originalImage>http://</originalImage>
+       <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>6.0</value>
+             <units>mg/dl</units>
+          </testCode>
+
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>6.1</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+    </test>
+
+</Encounter>
+
+<Encounter>
+    <dateOfEncounter>2009-11-16</dateOfEncounter>
+    <physician>Larry Lu</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>none</reportedSymptoms>
+    <workingDiagnosis>referral to endocrinologist</workingDiagnosis>
+    <physicalObservations></physicalObservations>
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredTo>Janet Day</referredTo>
+       <referredClinic>Family Health Laboratories</referredClinic>
+       <referredBy>Larry Lu</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>6.0</value>
+             <units>mg/dl</units>
+          </testCode>
+
+          <testCode x_3="CNA">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Corrected Calcium Level</description>
+             <value>6.1</value>
+             <units>mg/dl</units>
+          </testCode>
+       </RenalFunctionPanel>
+    </test>
+
+</Encounter>
+</root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_7.html	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1725 @@
+
+
+<!-- $Id$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+      <title>Julianne Sarah Christopherson</title><style type="text/css" media="screen">
+/**/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/**/
+    </style></head>
+   <body>
+      <h1>Julianne Sarah Christopherson</h1>
+      <div>
+         <table>
+            <caption>trans:Prescriptions</caption>
+            <tr>
+               <th>ontology</th>
+               <th>NDC</th>
+               <th>genericName</th>
+               <th>strength</th>
+               <th>unit</th>
+               <th>packSize</th>
+               <th>packType</th>
+               <th>routeName</th>
+               <th>dosageName</th>
+               <th>frequency</th>
+               <th>refill</th>
+               <th>daysToTake</th>
+               <th>prescribedBy</th>
+               <th>datePrescribed</th>
+               <th>datePrescriptionEnded</th>
+               <th>...</th>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:hasConditions</caption>
+            <tr>
+               <th>diagnosedWith</th>
+               <th>ICD9</th>
+               <th>dateDiagnosed</th>
+               <th>diagnosedBy</th>
+               <th>...</th>
+            </tr>
+            
+            <tr>
+               <td>Down Syndrome</td>
+               <td></td>
+               <td>1978-01-31</td>
+               <td>Michael Matthews</td>
+               <td>...</td>
+            </tr>
+            
+            
+            <tr>
+               <td>Alzheimer’s Disease</td>
+               <td></td>
+               <td>2009-02-01</td>
+               <td>Michael Matthews</td>
+               <td>...</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Procedures</caption>
+            <tr>
+               <th>procedureName</th>
+               <th>ICD9</th>
+               <th>procedureDate</th>
+               <th>procedureNotes</th>
+               <th>referredBy</th>
+               <th>referredInstitution</th>
+            </tr>
+            <tr>
+               <td>tonsilectomy</td>
+               <td></td>
+               <td>1986-05-22</td>
+               <td></td>
+               <td>Michael Matthews</td>
+               <td>Bellevue Medical Center</td>
+            </tr>
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Allergies</caption>
+            <tr>
+               <th>type</th>
+               <th>list</th>
+            </tr>
+            
+            <tr>
+               <td>drugs</td>
+               <td>none</td>
+            </tr>
+            
+            
+            <tr>
+               <td>food</td>
+               <td>peanut butter</td>
+            </tr>
+            
+            
+            <tr>
+               <td>environment</td>
+               <td>dust</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Immunizations</caption>
+            <tr>
+               <th>name</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+               <th>date</th>
+               <th>method</th>
+               <th>compound</th>
+               <th>stage</th>
+               <th>administeredBy</th>
+            </tr>
+            
+            <tr>
+               <td>measles</td>
+               <td>1978</td>
+               <td> intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Michael Matthews</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mumps</td>
+               <td>1978</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Michael Matthews</td>
+            </tr>
+            
+            
+            <tr>
+               <td>rubella</td>
+               <td>1978</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Michael Matthews</td>
+            </tr>
+            
+            
+            <tr>
+               <td>tetanus</td>
+               <td>2008</td>
+               <td>intramuscular</td>
+               <td>single</td>
+               <td>1</td>
+               <td>Michael Matthews</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Behavoirs</caption>
+            <tr>
+               <th>name</th>
+               <th>frequency</th>
+               <th>units</th>
+               <th>quantity</th>
+               <th>averageDuration</th>
+               <th>packYears</th>
+               <th>history</th>
+               <th>fruitVegetablesRating</th>
+               <th>wholeGrainsRating</th>
+               <th>dairyRating</th>
+               <th>proteinRating</th>
+               <th>fatsRating</th>
+               <th>junkFoodRating</th>
+               <th>date</th>
+            </tr>
+            
+            <tr>
+               <td>alcoholConsumption</td>
+               <td>0</td>
+               <td>week</td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>exercise</td>
+               <td>3</td>
+               <td>week</td>
+               <td></td>
+               <td>20</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2009-0201</td>
+            </tr>
+            
+            
+            <tr>
+               <td>smoking</td>
+               <td>0</td>
+               <td>week</td>
+               <td>0</td>
+               <td></td>
+               <td></td>
+               <td>never</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>2009-02-01</td>
+            </tr>
+            
+            
+            <tr>
+               <td>diet</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>5</td>
+               <td>3</td>
+               <td>2</td>
+               <td>3</td>
+               <td>4</td>
+               <td>2</td>
+               <td>2009-02-01</td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Relations</caption>
+            <tr>
+               <th>relation</th>
+               <th>fname</th>
+               <th>sex</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>alive</th>
+               <th>ageAtDeath</th>
+               <th>cancer</th>
+               <th>medicalConditions x_1="RA"</th>
+               <th>cancerType</th>
+               <th>cancerTypeColorectalAge</th>
+               <th>causeOfDeath</th>
+            </tr>
+            
+            <tr>
+               <td>maternalGrandmother</td>
+               <td>Betty</td>
+               <td>Female</td>
+               <td></td>
+               <td>no</td>
+               <td>88</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>maternalGrandfather</td>
+               <td>Bob</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>82</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Old Age</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandmother</td>
+               <td>Sally</td>
+               <td>Female</td>
+               <td></td>
+               <td>yes</td>
+               <td>67</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Myocardial Infarction</td>
+            </tr>
+            
+            
+            <tr>
+               <td>paternalGrandfather</td>
+               <td>Sam</td>
+               <td>Male</td>
+               <td></td>
+               <td>yes</td>
+               <td>55</td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td>Colorectal Cancer</td>
+            </tr>
+            
+            
+            <tr>
+               <td>mother</td>
+               <td>Shirley</td>
+               <td>Female</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>father</td>
+               <td>Stanley</td>
+               <td>Male</td>
+               <td></td>
+               <td>no</td>
+               <td>55</td>
+               <td></td>
+               <td></td>
+               <td></td>
+               <td>lung cancer</td>
+            </tr>
+            
+            
+            <tr>
+               <td>sister</td>
+               <td>Elizabeth</td>
+               <td>Female</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+            
+            <tr>
+               <td>sister</td>
+               <td>MarySue</td>
+               <td>Female</td>
+               <td></td>
+               <td>yes</td>
+               <td></td>
+               <td>no</td>
+               <td></td>
+               <td></td>
+               <td></td>
+            </tr>
+            
+         </table>
+      </div>
+      <div>
+         <table>
+            <caption>trans:Encounters</caption>
+            <thead>
+               <tr>
+                  <th>dateOfEncounter</th>
+                  <th>physician</th>
+                  <th>referral</th>
+                  <th>medicalBaseline</th>
+                  <th>medicalTest</th>
+                  <th>reportedSymptoms</th>
+                  <th>workingDiagnosis</th>
+               </tr>
+            </thead>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2008-11-15</a></td>
+                  <td>Michael Matthews</td>
+                  <td>false</td>
+                  <td>true</td>
+                  <td>Annual Medical</td>
+                  <td>true</td>
+                  <td>true</td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>bodyFat_x5</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>x6_bodyFat units="percent"</th>
+                           <th>weight units="pounds"</th>
+                           <th>height units="inches"</th>
+                           <th>BMI units="kg/m^2"</th>
+                        </tr>
+                        <tr>
+                           <td>24</td>
+                           <td>130</td>
+                           <td>60</td>
+                           <td>25</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>waistToHips</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>waist units="inches"</th>
+                           <th>hips units="inches"</th>
+                           <th>waistToHips</th>
+                        </tr>
+                        <tr>
+                           <td>33</td>
+                           <td>42</td>
+                           <td>0.8</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>bloodPressure</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>systolic units="mmHg"</th>
+                           <th>diastolic units="mmHg"</th>
+                        </tr>
+                        <tr>
+                           <td>125</td>
+                           <td>78</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>restingHeartRate</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>restingHeartRate units="BPM"</th>
+                        </tr>
+                        <tr>
+                           <td>80</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>stamina</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>finalHeartRate units="BPM"</th>
+                           <th>predictedVO2Max units="ml/kg/min"</th>
+                        </tr>
+                        <tr>
+                           <td>135</td>
+                           <td></td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>lungFunction</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>PEFR units="L/min"</th>
+                        </tr>
+                        <tr>
+                           <td>560</td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85018</td>
+                                    <td></td>
+                                    <td>Hemogloblin</td>
+                                    <td>13.3</td>
+                                    <td>g/dL</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85041</td>
+                                    <td></td>
+                                    <td>Red Blood Cell Count</td>
+                                    <td>5</td>
+                                    <td>mil/mcl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Cell Volume</td>
+                                    <td>92</td>
+                                    <td>fl</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Mean Corpuscular Hemoglobin</td>
+                                    <td>30</td>
+                                    <td>pg/cell</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85045</td>
+                                    <td></td>
+                                    <td>Reticulocyte Count</td>
+                                    <td>1</td>
+                                    <td>as a percent of red cells</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85652</td>
+                                    <td></td>
+                                    <td>Erythrocyte Sed Rate</td>
+                                    <td>20</td>
+                                    <td></td>
+                                 </tr>
+                                 <tr>
+                                    <td>85048</td>
+                                    <td></td>
+                                    <td>White Blood Cell Count</td>
+                                    <td>12</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Neutrophil Count</td>
+                                    <td>8</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Lymphocyte Count</td>
+                                    <td>3</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Monocyte Count</td>
+                                    <td>0.7</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Eosinophil Count</td>
+                                    <td>0.2</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>Absolute Basophil Count</td>
+                                    <td>0.1</td>
+                                    <td>K/mcL</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80061</td>
+                           <td>Lipid panel</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80061</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>LipidPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>83721</td>
+                                    <td></td>
+                                    <td> Low-density lipoprotein</td>
+                                    <td>4</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84478</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>2.6</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82465</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>5</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83718</td>
+                                    <td></td>
+                                    <td> Triglycerides</td>
+                                    <td>1</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80076</td>
+                           <td>Hepatic function panel</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80076</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>HepaticFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84155</td>
+                                    <td></td>
+                                    <td>Serum Total Protein</td>
+                                    <td>62</td>
+                                    <td>g/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84450</td>
+                                    <td></td>
+                                    <td>Serum glutamic-oxaloacetic transaminase</td>
+                                    <td>88</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82550</td>
+                                    <td></td>
+                                    <td>Creatinine kinase</td>
+                                    <td>66</td>
+                                    <td>U/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>83615</td>
+                                    <td></td>
+                                    <td>Lactate dehydrogenase</td>
+                                    <td>222</td>
+                                    <td>U/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82150</td>
+                                    <td></td>
+                                    <td>Amylase</td>
+                                    <td>144</td>
+                                    <td>U/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82247</td>
+                                    <td></td>
+                                    <td>Serum Bilirubin, Total</td>
+                                    <td>20</td>
+                                    <td>umol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82248</td>
+                                    <td></td>
+                                    <td>Bilirubin, Direct</td>
+                                    <td>17</td>
+                                    <td>umol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84460</td>
+                                    <td></td>
+                                    <td>Alanine transaminase</td>
+                                    <td>22</td>
+                                    <td>U/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84075</td>
+                                    <td></td>
+                                    <td>Serum Alkaline Phosphatase</td>
+                                    <td>122</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82977</td>
+                                    <td></td>
+                                    <td>Serum Gamma Glutamyl Transferase</td>
+                                    <td>242</td>
+                                    <td>IU/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>86140</td>
+                                    <td></td>
+                                    <td>Serum C-Reactive Protein</td>
+                                    <td>66</td>
+                                    <td>mg/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80069</td>
+                           <td>Renal function panel</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80069</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>RenalFunctionPanel</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84295</td>
+                                    <td></td>
+                                    <td>Serum Sodium</td>
+                                    <td>133</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84132</td>
+                                    <td></td>
+                                    <td>Serum Potassium</td>
+                                    <td>4</td>
+                                    <td>mmol/l</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82565</td>
+                                    <td></td>
+                                    <td>Serum Creatinine</td>
+                                    <td>111</td>
+                                    <td>umol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82040</td>
+                                    <td></td>
+                                    <td>Serum Albumin</td>
+                                    <td>39</td>
+                                    <td>g/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82945</td>
+                                    <td></td>
+                                    <td>Glucose, serum fasting</td>
+                                    <td>110</td>
+                                    <td>mg/dl</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82310</td>
+                                    <td></td>
+                                    <td>Serum Calcium</td>
+                                    <td>2.23</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82330</td>
+                                    <td></td>
+                                    <td>Ionized Calcium, Serum</td>
+                                    <td>1.01</td>
+                                    <td>mmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84520</td>
+                                    <td></td>
+                                    <td>Blood Urea Nitrogen</td>
+                                    <td>5</td>
+                                    <td>umol/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>84443</td>
+                           <td>Thyroid stimulating hormone (TSH)</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>84443</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>ThyroidFunction</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>84443</td>
+                                    <td></td>
+                                    <td>Thyroid Stimulating Hormone</td>
+                                    <td>2</td>
+                                    <td>mIU/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84439</td>
+                                    <td></td>
+                                    <td>T4, Free</td>
+                                    <td>17</td>
+                                    <td>pmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>84481</td>
+                                    <td></td>
+                                    <td>T3, Free</td>
+                                    <td>4</td>
+                                    <td>pmol/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>80412</td>
+                           <td>Corticotropic Releasing Hormone Stimulation Panel</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>80412</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CRH</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>82024</td>
+                                    <td></td>
+                                    <td>Adrenocorticotropic hormone</td>
+                                    <td>3</td>
+                                    <td>pmol/L</td>
+                                 </tr>
+                                 <tr>
+                                    <td>82533</td>
+                                    <td></td>
+                                    <td>Cortisol</td>
+                                    <td>522</td>
+                                    <td>nmol/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85999</td>
+                           <td>CoagulationBattery</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85999</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>Coagulation</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                                 <tr>
+                                    <td>85610</td>
+                                    <td></td>
+                                    <td>Prothrombin time</td>
+                                    <td>11</td>
+                                    <td>s</td>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td>INR</td>
+                                    <td>1.0</td>
+                                    <td></td>
+                                 </tr>
+                                 <tr>
+                                    <td>85002</td>
+                                    <td></td>
+                                    <td>Bleeding time</td>
+                                    <td>6</td>
+                                    <td>min</td>
+                                 </tr>
+                                 <tr>
+                                    <td>85384</td>
+                                    <td></td>
+                                    <td>Fibrinogen</td>
+                                    <td>3</td>
+                                    <td>g/L</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-01-15</a></td>
+                  <td>Michael Matthews</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>false</td>
+                  <td>Confusion, Becomes lost</td>
+                  <td>
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Administration of psychologic test</td>
+                           <td></td>
+                           <td>UNMC</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td></td>
+                           <td>Magnetic resonance imaging of brain and brain stem</td>
+                           <td></td>
+                           <td>Midtown Hospital</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>85025</td>
+                           <td>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</td>
+                           <td></td>
+                           <td>Eastside Health Laboratories</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>85025</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>CompleteBloodCount</caption>
+                                 <tr>
+                                    <th>CPT</th>
+                                    <th>LOINC</th>
+                                    <th>description</th>
+                                    <th>value</th>
+                                    <th>units</th>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-01-20</a></td>
+                  <td>Keil Fender</td>
+                  <td></td>
+                  <td>false</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>
+                     
+                     
+                     
+                     
+                  </td>
+               </tr>
+            </tbody>
+            <tbody style="display:none;">
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td>97532</td>
+                           <td>Alzheimer's Disease Assessment Scale-cognitive subscale</td>
+                           <td></td>
+                           <td>Neurology Specialists</td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                    <td></td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+               <tr>
+                  <th>test</th>
+                  <td colspan="7">
+                     <table>
+                        <tr>
+                           <th>CPT</th>
+                           <th>testName</th>
+                           <th>referredTo</th>
+                           <th>referredClinic</th>
+                           <th>referredBy</th>
+                           <th>originalImage</th>
+                           <th>CompleteBloodCount CPT="85025"</th>
+                           <th>...</th>
+                        </tr>
+                        <tr>
+                           <td> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</td>
+                           <td>ADmark Alzheimer's Evaluation</td>
+                           <td></td>
+                           <td> Neurology Specialists </td>
+                           <td>Michael Matthews</td>
+                           <td></td>
+                           <td></td>
+                           <td>...</td>
+                        </tr>
+                        <tr>
+                           <th>trans:result</th>
+                           <td colspan="6">
+                              <table>
+                                 <caption>trans:result</caption>
+                                 <tr>
+                                    <th>value</th>
+                                    <th>rs_Number</th>
+                                    <th>variant_Synonyms</th>
+                                    <th>gene_Symbol</th>
+                                    <th>gene_Name</th>
+                                    <th>ENTREZ_Gene_ID</th>
+                                    <th>Accession_ID</th>
+                                    <th>Gene_Region</th>
+                                    <th>DNA_Change</th>
+                                    <th>DNA_Change_Type</th>
+                                    <th>Amino_Acid_Change</th>
+                                    <th>Amino_Acid_Change_Type</th>
+                                 </tr>
+                                 <tr>
+                                    <td>abnormal</td>
+                                    <td> rs429358</td>
+                                    <td>APOE4, NG_007084.2:g.7903T&gt;C</td>
+                                    <td>APOE</td>
+                                    <td> apolipoprotein E</td>
+                                    <td>348</td>
+                                    <td> NG_007084.2</td>
+                                    <td>coding_region</td>
+                                    <td>g.7903T&gt;C</td>
+                                    <td>Substitution</td>
+                                    <td>C112R</td>
+                                    <td>Missense</td>
+                                 </tr>
+                              </table>
+                           </td>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </tbody>
+            <tbody>
+               <tr>
+                  <td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;">2009-01-30</a></td>
+                  <td>Kerri Fallen</td>
+                  <td></td>
+                  <td>false</td>
+                  <td>
+                     
+                     
+                  </td>
+                  <td>false</td>
+                  <td>Alzheimers Disease</td>
+               </tr>
+            </tbody>
+         </table>
+      </div>
+      
+      <div class="practice">
+         <h2>Practice : UNMC Physicians</h2>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>3604 Summit Plaza Dr.</td>
+               <td>68805</td>
+               <td>Bellevue</td>
+               <td>Nebraska</td>
+               <td>US</td>
+               <td>-6GMT</td>
+               <td>14025952275</td>
+            </tr>
+         </table>
+         
+         
+         <div>
+            <table>
+               <caption>foaf:Person</caption>
+               <tr>
+                  <th>name</th>
+                  <th>given</th>
+                  <th>fam</th>
+                  <th>license</th>
+                  <th>gender</th>
+               </tr>
+               <tr>
+                  <td>Michael Matthews</td>
+                  <td>Michael</td>
+                  <td>Matthews</td>
+                  <td>111117</td>
+                  <td>male</td>
+               </tr>
+            </table>
+         </div>
+         
+      </div>
+      
+      
+      
+      
+      
+      <div>
+         <table>
+            <caption>trans:Demographics</caption>
+            <tr>
+               <th>dateOfBirth</th>
+               <th>dateOfDeath</th>
+               <th>gender</th>
+               <th>ethnicity</th>
+               <th>language</th>
+               <th>maritalStatus</th>
+               <th>employmentStatus</th>
+               <th>employmentIndustry</th>
+               <th>occupation</th>
+               <th>religion</th>
+               <th>income</th>
+               <th>highestEducation</th>
+               <th>organDonor</th>
+            </tr>
+            <tr>
+               <td>1978-01-31</td>
+               <td>XXXX-XX-XX</td>
+               <td>Female</td>
+               <td>Caucasian</td>
+               <td>EN</td>
+               <td>Single</td>
+               <td>Not in work force</td>
+               <td> </td>
+               <td> </td>
+               <td>Christian</td>
+               <td>5,000</td>
+               <td></td>
+               <td>false</td>
+            </tr>
+         </table>
+      </div>
+      
+      
+      <div>
+         <table>
+            <caption>foaf:Person</caption>
+            <tr>
+               <th>name</th>
+               <th>given</th>
+               <th>fam</th>
+               <th>license</th>
+               <th>gender</th>
+            </tr>
+            <tr>
+               <td>Julianne Sarah Christopherson</td>
+               <td>Julianne</td>
+               <td>Christopherson</td>
+               <td></td>
+               <td></td>
+            </tr>
+         </table>
+         
+         <table>
+            <caption>pim:Address</caption>
+            <tr>
+               <th>street</th>
+               <th>postcode</th>
+               <th>local</th>
+               <th>region</th>
+               <th></th>
+               <th>TZ</th>
+               <th>phone</th>
+            </tr>
+            <tr>
+               <td>1207 E. Haven Street</td>
+               <td>68805</td>
+               <td>Bellevue</td>
+               <td>Nebraska</td>
+               <td>US</td>
+               <td>-6GMT</td>
+               <td></td>
+            </tr>
+         </table>
+         
+      </div>
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+      
+       
+      
+      
+      
+   </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_7.rdf	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,1004 @@
+<!-- -*- XML -*- --><?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"?>
+<!-- $Id$ -->
+<rdf:RDF xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+         xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+         xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trans="tag:eric@w3.org:2009/tmo/translator#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/"
+         xmlns:pim="tag:eric@w3.org:2009/pim/basic"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+   <trans:Practice>
+      <trans:practiceName>UNMC Physicians</trans:practiceName>
+      <pim:addr>
+         <pim:Address>
+            <vcard:Street>3604 Summit Plaza Dr.</vcard:Street>
+            <vcard:Pcode>68805</vcard:Pcode>
+            <vcard:Locality>Bellevue</vcard:Locality>
+            <vcard:Region>Nebraska</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-6GMT</pim:timeZone>
+            <foaf:phone>14025952275</foaf:phone>
+         </pim:Address>
+      </pim:addr>
+      <trans:primaryCarePhysician>
+         <foaf:Person>
+            <foaf:name>Michael Matthews</foaf:name>
+            <foaf:givenName>Michael</foaf:givenName>
+            <foaf:familyName>Matthews</foaf:familyName>
+            <trans:license>111117</trans:license>
+            <foaf:gender>male</foaf:gender>
+         </foaf:Person>
+      </trans:primaryCarePhysician>
+   </trans:Practice>
+
+   <rdf:Description rdf:about="#me">
+      <trans:demographics rdf:resource="#demog"/>
+   </rdf:Description>
+   <trans:Demographics rdf:about="#demog">
+      <indivo:dateOfBirth>1978-01-31</indivo:dateOfBirth>
+      <indivo:dateOfDeath>XXXX-XX-XX</indivo:dateOfDeath>
+      <indivo:gender>Female</indivo:gender>
+      <indivo:ethnicity>Caucasian</indivo:ethnicity>
+      <indivo:language>EN</indivo:language>
+      <indivo:maritalStatus>Single</indivo:maritalStatus>
+      <indivo:employmentStatus>Not in work force</indivo:employmentStatus>
+      <indivo:employmentIndustry> </indivo:employmentIndustry>
+      <indivo:occupation> </indivo:occupation>
+      <indivo:religion>Christian</indivo:religion>
+      <indivo:income>5,000</indivo:income>
+      <indivo:highestEducation/>
+      <indivo:organDonor>false</indivo:organDonor>
+   </trans:Demographics>
+
+   <foaf:Person rdf:about="#me">
+      <foaf:name>Julianne Sarah Christopherson</foaf:name>
+      <foaf:givenName>Julianne</foaf:givenName>
+      <foaf:familyName>Christopherson</foaf:familyName>
+      <!--personal mbox--><foaf:mbox/>
+      <!--work mbox--><foaf:mbox/>
+      <foaf:address>
+         <pim:Address>
+            <vcard:Street>1207 E. Haven Street</vcard:Street>
+            <vcard:Pcode>68805</vcard:Pcode>
+            <vcard:Locality>Bellevue</vcard:Locality>
+            <vcard:Region>Nebraska</vcard:Region>
+            <vcard:Country>US</vcard:Country>
+            <pim:timeZone>-6GMT</pim:timeZone>
+         </pim:Address>
+      </foaf:address>
+      <pim:location rdf:parseType="Resource">
+         <geo:lat>41N</geo:lat>
+         <geo:long>95W</geo:long>
+      </pim:location>
+      <foaf:phone>4028314040</foaf:phone>
+      <foaf:phone/>
+      <foaf:accountName/>
+   </foaf:Person>
+
+   
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Down Syndrome</trans:diagnosedWith>
+            <trans:dateDiagnosed>1978-01-31</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Michael Matthews</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+         <trans:Condition><!-- ++ close to indivo:name --><trans:diagnosedWith>Alzheimer’s Disease</trans:diagnosedWith>
+            <trans:dateDiagnosed>2009-02-01</trans:dateDiagnosed>
+            <indivo:diagnosedBy>Michael Matthews</indivo:diagnosedBy>
+            <trans:physicianNotes>...</trans:physicianNotes>
+         </trans:Condition>
+      </trans:hasCondition>
+   </rdf:Description>
+  
+
+
+  
+      <trans:Procedure>
+      <trans:performedOn rdf:resource="#me"/>
+      <!-- ++ close to indivo:Procedure/name --><trans:procedureName>tonsilectomy</trans:procedureName>
+      <indivo:datePerformed>1986-05-22</indivo:datePerformed>
+      <trans:referredBy>Michael Matthews</trans:referredBy>
+      <trans:referredInstitution>Bellevue Medical Center</trans:referredInstitution>
+   </trans:Procedure>
+            
+
+
+  
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>drugs</trans:allergyType>
+            <trans:allergyList>none</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>food</trans:allergyType>
+            <trans:allergyList>peanut butter</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+         <trans:Allergy>
+            <trans:allergyType>environment</trans:allergyType>
+            <trans:allergyList>dust</trans:allergyList>
+         </trans:Allergy>
+      </trans:hasAllergy>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>measles</trans:diseaseName>
+            <indivo:dateAdministered>1978</indivo:dateAdministered>
+            <trans:method> intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Michael Matthews</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>mumps</trans:diseaseName>
+            <indivo:dateAdministered>1978</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Michael Matthews</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>rubella</trans:diseaseName>
+            <indivo:dateAdministered>1978</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Michael Matthews</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:immunization>
+         <trans:Immunization>
+            <trans:diseaseName>tetanus</trans:diseaseName>
+            <indivo:dateAdministered>2008</indivo:dateAdministered>
+            <trans:method>intramuscular</trans:method>
+            <trans:compound>single</trans:compound>
+            <trans:stage>1</trans:stage>
+            <trans:administeredBy>Michael Matthews</trans:administeredBy>
+         </trans:Immunization>
+      </trans:immunization>
+   </rdf:Description> 
+   
+
+  
+  
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>alcoholConsumption</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>0</trans:quantity>
+            <trans:date/>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>exercise</trans:behavoirName>
+            <trans:frequency>3</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:averageDuration>20</trans:averageDuration>
+            <trans:date>2009-0201</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>smoking</trans:behavoirName>
+            <trans:frequency>0</trans:frequency>
+            <trans:units>week</trans:units>
+            <trans:quantity>0</trans:quantity>
+            <trans:history>never</trans:history>
+            <trans:date>2009-02-01</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+       <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+         <trans:Behavoir>
+            <trans:behavoirName>diet</trans:behavoirName>
+            <trans:fruitVegetablesRating>5</trans:fruitVegetablesRating>
+            <trans:wholeGrainsRating>3</trans:wholeGrainsRating>
+            <trans:dairyRating>2</trans:dairyRating>
+            <trans:proteinRating>3</trans:proteinRating>
+            <trans:fatsRating>4</trans:fatsRating>
+            <trans:junkFoodRating>2</trans:junkFoodRating>
+            <trans:date>2009-02-01</trans:date>
+         </trans:Behavoir>
+      </trans:behavoir>
+   </rdf:Description>
+  
+
+
+  
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandmother</trans:relation>
+            <trans:fname>Betty</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>88</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>maternalGrandfather</trans:relation>
+            <trans:fname>Bob</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>82</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Old Age</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandmother</trans:relation>
+            <trans:fname>Sally</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:ageAtDeath>67</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Myocardial Infarction</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>paternalGrandfather</trans:relation>
+            <trans:fname>Sam</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:ageAtDeath>55</trans:ageAtDeath>
+            <trans:cancer>no</trans:cancer>
+            <trans:causeOfDeath>Colorectal Cancer</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>mother</trans:relation>
+            <trans:fname>Shirley</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+            <trans:misParse>&lt;age&gt;73&lt;/age&gt;</trans:misParse>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>father</trans:relation>
+            <trans:fname>Stanley</trans:fname>
+            <trans:sex>Male</trans:sex>
+            <trans:alive>no</trans:alive>
+            <trans:ageAtDeath>55</trans:ageAtDeath>
+            <trans:causeOfDeath>lung cancer</trans:causeOfDeath>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>sister</trans:relation>
+            <trans:fname>Elizabeth</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+      <rdf:Description rdf:about="#me">
+      <trans:relation>
+         <trans:Relation>
+            <trans:relation>sister</trans:relation>
+            <trans:fname>MarySue</trans:fname>
+            <trans:sex>Female</trans:sex>
+            <trans:alive>yes</trans:alive>
+            <trans:cancer>no</trans:cancer>
+         </trans:Relation>
+      </trans:relation>
+   </rdf:Description>
+
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Michael Matthews</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2008-11-15</trans:dateOfEncounter>
+      <trans:physician>Michael Matthews</trans:physician>
+      <trans:medicalBaseline>true</trans:medicalBaseline>
+      <trans:medicalTest>Annual Medical</trans:medicalTest>
+      <trans:reportedSymptoms>true</trans:reportedSymptoms>
+      <trans:workingDiagnosis>true</trans:workingDiagnosis>
+      <trans:referral>false</trans:referral>
+      <trans:physicalObservations rdf:parseType="Resource">
+         <trans:bodyFat_x5 rdf:parseType="Resource">
+            <trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent">24</trans:x6_bodyFat>
+            <trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds">130</trans:weight>
+            <trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">60</trans:height>
+            <trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2">25</trans:BMI>
+         </trans:bodyFat_x5>
+         <trans:waistToHips rdf:parseType="Resource">
+            <trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">33</trans:waist>
+            <trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches">42</trans:hips>
+            <trans:waistToHips>0.8</trans:waistToHips>
+         </trans:waistToHips>
+         <trans:bloodPressure rdf:parseType="Resource">
+            <trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">125</trans:systolic>
+            <trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg">78</trans:diastolic>
+         </trans:bloodPressure>
+         <trans:restingHeartRate rdf:parseType="Resource">
+            <trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">80</trans:restingHeartRate>
+         </trans:restingHeartRate>
+         <trans:stamina rdf:parseType="Resource">
+            <trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM">135</trans:finalHeartRate>
+            <trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min">49.2</trans:predictedVO2Max>
+         </trans:stamina>
+         <trans:lungFunction rdf:parseType="Resource">
+            <trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min">560</trans:PEFR>
+         </trans:lungFunction>
+      </trans:physicalObservations>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HGB</trans:x_3>
+                  <trans:CPT>85018</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Hemogloblin</trans:description>
+                  <trans:value>13.3</trans:value>
+                  <trans:units>g/dL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>RBC</trans:x_3>
+                  <trans:CPT>85041</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Red Blood Cell Count</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mil/mcl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCV</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Cell Volume</trans:description>
+                  <trans:value>92</trans:value>
+                  <trans:units>fl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>MCH</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Mean Corpuscular Hemoglobin</trans:description>
+                  <trans:value>30</trans:value>
+                  <trans:units>pg/cell</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ART</trans:x_3>
+                  <trans:CPT>85045</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Reticulocyte Count</trans:description>
+                  <trans:value>1</trans:value>
+                  <trans:units>as a percent of red cells</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ESR</trans:x_3>
+                  <trans:CPT>85652</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Erythrocyte Sed Rate</trans:description>
+                  <trans:value>20</trans:value>
+                  <trans:units/>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>WBC</trans:x_3>
+                  <trans:CPT>85048</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>White Blood Cell Count</trans:description>
+                  <trans:value>12</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ANEUT</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Neutrophil Count</trans:description>
+                  <trans:value>8</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALYMS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Lymphocyte Count</trans:description>
+                  <trans:value>3</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMON</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Monocyte Count</trans:description>
+                  <trans:value>0.7</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AEOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Eosinophil Count</trans:description>
+                  <trans:value>0.2</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ABOS</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>Absolute Basophil Count</trans:description>
+                  <trans:value>0.1</trans:value>
+                  <trans:units>K/mcL</trans:units>
+               </trans:testCode>
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80061</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Lipid panel</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <LipidPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80061</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDL</trans:x_3>
+                  <trans:CPT>83721</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Low-density lipoprotein</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TRIG</trans:x_3>
+                  <trans:CPT>84478</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>2.6</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CHO</trans:x_3>
+                  <trans:CPT>82465</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>HDL</trans:x_3>
+                  <trans:CPT>83718</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description> Triglycerides</trans:description>
+                  <trans:value>1</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+            </LipidPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80076</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Hepatic function panel</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <HepaticFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80076</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TP</trans:x_3>
+                  <trans:CPT>84155</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Total Protein</trans:description>
+                  <trans:value>62</trans:value>
+                  <trans:units>g/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AST</trans:x_3>
+                  <trans:CPT>84450</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum glutamic-oxaloacetic transaminase</trans:description>
+                  <trans:value>88</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CK</trans:x_3>
+                  <trans:CPT>82550</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Creatinine kinase</trans:description>
+                  <trans:value>66</trans:value>
+                  <trans:units>U/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>LDH</trans:x_3>
+                  <trans:CPT>83615</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Lactate dehydrogenase</trans:description>
+                  <trans:value>222</trans:value>
+                  <trans:units>U/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>AMY</trans:x_3>
+                  <trans:CPT>82150</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Amylase</trans:description>
+                  <trans:value>144</trans:value>
+                  <trans:units>U/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TBIL</trans:x_3>
+                  <trans:CPT>82247</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Bilirubin, Total</trans:description>
+                  <trans:value>20</trans:value>
+                  <trans:units>umol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>DBL</trans:x_3>
+                  <trans:CPT>82248</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Bilirubin, Direct</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>umol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALT</trans:x_3>
+                  <trans:CPT>84460</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Alanine transaminase</trans:description>
+                  <trans:value>22</trans:value>
+                  <trans:units>U/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALP</trans:x_3>
+                  <trans:CPT>84075</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Alkaline Phosphatase</trans:description>
+                  <trans:value>122</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GGT</trans:x_3>
+                  <trans:CPT>82977</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Gamma Glutamyl Transferase</trans:description>
+                  <trans:value>242</trans:value>
+                  <trans:units>IU/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CRP</trans:x_3>
+                  <trans:CPT>86140</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum C-Reactive Protein</trans:description>
+                  <trans:value>66</trans:value>
+                  <trans:units>mg/L</trans:units>
+               </trans:testCode>
+            </HepaticFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80069</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Renal function panel</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <RenalFunctionPanel xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80069</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>NA</trans:x_3>
+                  <trans:CPT>84295</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Sodium</trans:description>
+                  <trans:value>133</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>K</trans:x_3>
+                  <trans:CPT>84132</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Potassium</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>mmol/l</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CREA</trans:x_3>
+                  <trans:CPT>82565</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Creatinine</trans:description>
+                  <trans:value>111</trans:value>
+                  <trans:units>umol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ALB</trans:x_3>
+                  <trans:CPT>82040</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Albumin</trans:description>
+                  <trans:value>39</trans:value>
+                  <trans:units>g/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>GLU</trans:x_3>
+                  <trans:CPT>82945</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Glucose, serum fasting</trans:description>
+                  <trans:value>110</trans:value>
+                  <trans:units>mg/dl</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CA</trans:x_3>
+                  <trans:CPT>82310</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Serum Calcium</trans:description>
+                  <trans:value>2.23</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CAI</trans:x_3>
+                  <trans:CPT>82330</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Ionized Calcium, Serum</trans:description>
+                  <trans:value>1.01</trans:value>
+                  <trans:units>mmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>BUN</trans:x_3>
+                  <trans:CPT>84520</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Blood Urea Nitrogen</trans:description>
+                  <trans:value>5</trans:value>
+                  <trans:units>umol/L</trans:units>
+               </trans:testCode>
+            </RenalFunctionPanel>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>84443</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Thyroid stimulating hormone (TSH)</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <ThyroidFunction xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>84443</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>TSH</trans:x_3>
+                  <trans:CPT>84443</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Thyroid Stimulating Hormone</trans:description>
+                  <trans:value>2</trans:value>
+                  <trans:units>mIU/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>FT4</trans:x_3>
+                  <trans:CPT>84439</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>T4, Free</trans:description>
+                  <trans:value>17</trans:value>
+                  <trans:units>pmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>T3F</trans:x_3>
+                  <trans:CPT>84481</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>T3, Free</trans:description>
+                  <trans:value>4</trans:value>
+                  <trans:units>pmol/L</trans:units>
+               </trans:testCode>
+            </ThyroidFunction>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>80412</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Corticotropic Releasing Hormone Stimulation Panel</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <CRH xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>80412</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>ACH</trans:x_3>
+                  <trans:CPT>82024</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Adrenocorticotropic hormone</trans:description>
+                  <trans:value>3</trans:value>
+                  <trans:units>pmol/L</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>CTL</trans:x_3>
+                  <trans:CPT>82533</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Cortisol</trans:description>
+                  <trans:value>522</trans:value>
+                  <trans:units>nmol/L</trans:units>
+               </trans:testCode>
+            </CRH>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85999</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>CoagulationBattery</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <Coagulation xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85999</trans:x_3>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>PT</trans:x_3>
+                  <trans:CPT>85610</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Prothrombin time</trans:description>
+                  <trans:value>11</trans:value>
+                  <trans:units>s</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>INR</trans:x_3>
+                  <trans:CPT/>
+                  <trans:LOINC/>
+                  <trans:description>INR</trans:description>
+                  <trans:value>1.0</trans:value>
+                  <trans:units/>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>Bleeding Time</trans:x_3>
+                  <trans:CPT>85002</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Bleeding time</trans:description>
+                  <trans:value>6</trans:value>
+                  <trans:units>min</trans:units>
+               </trans:testCode>
+               <trans:testCode rdf:parseType="Resource">
+                  <trans:x_3>FIB</trans:x_3>
+                  <trans:CPT>85384</trans:CPT>
+                  <trans:LOINC/>
+                  <trans:description>Fibrinogen</trans:description>
+                  <trans:value>3</trans:value>
+                  <trans:units>g/L</trans:units>
+               </trans:testCode>
+            </Coagulation>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+
+
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Michael Matthews</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-01-15</trans:dateOfEncounter>
+      <trans:physician>Michael Matthews</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>false</trans:medicalTest>
+      <trans:reportedSymptoms>Confusion, Becomes lost</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9 Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;94.02&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Administration of psychologic test</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Keil Fender&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>UNMC</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;description&gt;&lt;/description&gt;</trans:misParse>
+            <trans:value/>
+            <trans:misParse>&lt;units&gt;&lt;/units&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#ICD9_Procedure"/>
+         <trans:misParse>&lt;ICD9_Procedure&gt;88.91&lt;/ICD9_Procedure&gt;</trans:misParse>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Magnetic resonance imaging of brain and brain stem</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Sarah Yang&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Midtown Hospital</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:result rdf:parseType="Resource"/>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Laboratory"/>
+         <trans:CPT>85025</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Baljit Gupta&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Eastside Health Laboratories</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:testSet>
+            <CompleteBloodCount xmlns="tag:eric@w3.org:2009/tmo/translator#">
+               <trans:x_3>85025</trans:x_3>
+          
+            </CompleteBloodCount>
+         </trans:testSet>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter>
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Keil Fender</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-01-20</trans:dateOfEncounter>
+      <trans:physician>Keil Fender</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>
+       
+       
+       
+    </trans:workingDiagnosis>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Cognative"/>
+         <trans:CPT>97532</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>Alzheimer's Disease Assessment Scale-cognitive subscale</trans:testName>
+         <trans:misParse>&lt;referredName&gt;Mary Lubker&lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic>Neurology Specialists</trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:misParse>&lt;testScore&gt;???&lt;/testScore&gt;</trans:misParse>
+            <trans:misParse>&lt;testNormalRange&gt;????&lt;/testNormalRange&gt;</trans:misParse>
+            <trans:misParse>&lt;testResult&gt;abnormal&lt;/testResult&gt;</trans:misParse>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+      <trans:test rdf:parseType="Resource"><!-- ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel --><trans:testType rdf:resource="tag:eric@w3.org:2009/tmo/translator#Genotyping SNPs"/>
+         <trans:CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</trans:CPT>
+         <!-- ++ indivo:Lab/labPanel/labText/name --><trans:testName>ADmark Alzheimer's Evaluation</trans:testName>
+         <trans:misParse>&lt;referredName&gt; Mary Lubker &lt;/referredName&gt;</trans:misParse>
+         <trans:referredClinic> Neurology Specialists </trans:referredClinic>
+         <trans:referredBy>Michael Matthews</trans:referredBy>
+         <trans:result rdf:parseType="Resource">
+            <trans:value>abnormal</trans:value>
+            <trans:rs_Number> rs429358</trans:rs_Number>
+            <trans:variant_Synonyms>APOE4, NG_007084.2:g.7903T&gt;C</trans:variant_Synonyms>
+            <trans:gene_Symbol>APOE</trans:gene_Symbol>
+            <trans:gene_Name> apolipoprotein E</trans:gene_Name>
+            <trans:ENTREZ_Gene_ID>348</trans:ENTREZ_Gene_ID>
+            <trans:Accession_ID> NG_007084.2</trans:Accession_ID>
+            <trans:Gene_Region>coding_region</trans:Gene_Region>
+            <trans:DNA_Change>g.7903T&gt;C</trans:DNA_Change>
+            <trans:DNA_Change_Type>Substitution</trans:DNA_Change_Type>
+            <trans:Amino_Acid_Change>C112R</trans:Amino_Acid_Change>
+            <trans:Amino_Acid_Change_Type>Missense</trans:Amino_Acid_Change_Type>
+         </trans:result>
+         <trans:physicianNotes>...</trans:physicianNotes>
+      </trans:test>
+   </trans:Encounter> 
+
+   <trans:Encounter>
+      <trans:patient rdf:resource="#me"/>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+            <trans:persona rdf:resource="#me"/>
+         </trans:Participation>
+      </trans:participant>
+      <trans:participant>
+         <trans:Participation>
+            <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+            <trans:persona>
+               <foaf:Person>
+                  <foaf:name>Kerri Fallen</foaf:name>
+               </foaf:Person>
+            </trans:persona>
+         </trans:Participation>
+      </trans:participant>
+      <!-- indivo:Lab/dateMeasured --><trans:dateOfEncounter>2009-01-30</trans:dateOfEncounter>
+      <trans:physician>Kerri Fallen</trans:physician>
+      <trans:medicalBaseline>false</trans:medicalBaseline>
+      <trans:medicalTest>
+         
+      </trans:medicalTest>
+      <trans:reportedSymptoms>false</trans:reportedSymptoms>
+      <trans:workingDiagnosis>Alzheimers Disease</trans:workingDiagnosis>
+   </trans:Encounter>
+</rdf:RDF>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/AD_PCHR_7.xml	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,857 @@
+<!-- -*- XML -*- --><!-- ?xml-stylesheet type="text/xsl" href="Patrdf2html.xsl"? -->
+<!-- Fake AD Patient 7 – Young Woman with Down’s Syndrome
+$Id: AD_PCHR_7.xml,v 1.2 2009/12/02 21:08:29 eric Exp $
+
+Just a few bits below to clean up 
+2)
+Low-density lipoprotein4mmol/L
+84478 Triglycerides2.6mmol/L                               duplicating…
+82465 Triglycerides5mmol/L
+83718 Triglycerides1mmol/L
+Just put the standard figures below :
+HDL  59mg/dl
+Triglycerides  140mg/dl
+LDL 101 mg/dl
+
+3)
+Glucose Urine Test7mmol/L
+Needs fixing to 
+Glucose serum   110mg/dL   fasting
+4)
+
+
+ -->
+<root>
+<Practice>
+    <practiceName>UNMC Physicians</practiceName>
+    <practiceAddress>
+    <streetAddress>3604 Summit Plaza Dr.</streetAddress>
+        <postalCode>68805</postalCode>
+        <locality>Bellevue</locality>
+        <region>Nebraska</region>
+        <country>US</country>
+        <timeZone>-6GMT</timeZone>
+        <phoneNumber>14025952275</phoneNumber>
+    </practiceAddress>
+    <primaryCarePhysician>        
+        <fullName>Michael Matthews</fullName>
+        <givenName>Michael</givenName>
+        <familyName>Matthews</familyName>
+        <license>111117</license> 
+        (DEA Number AJ 3274658)
+	<gender>male</gender>
+     </primaryCarePhysician>
+</Practice>
+
+<Demographics>
+    <dateOfBirth>1978-01-31</dateOfBirth>
+    <dateOfDeath>XXXX-XX-XX</dateOfDeath>
+    <gender>Female</gender>
+    <ethnicity>Caucasian</ethnicity>
+    <language>EN</language>
+    <maritalStatus>Single</maritalStatus>
+    <employmentStatus>Not in work force</employmentStatus>
+    <employmentIndustry> </employmentIndustry>
+    <occupation> </occupation>
+    <religion>Christian</religion>
+    <income>5,000</income>
+    <highestEducation></highestEducation>
+    <organDonor>false</organDonor>
+</Demographics>
+
+<Contact>
+    <name>
+        <fullName>Julianne Sarah Christopherson</fullName>
+        <givenName>Julianne</givenName>
+        <familyName>Christopherson</familyName>
+    </name>
+    <email type="personal"></email>
+    <email type="work"></email>
+    <address type="home">
+        <streetAddress>1207 E. Haven Street</streetAddress>
+        <postalCode>68805</postalCode>
+        <locality>Bellevue</locality>
+        <region>Nebraska</region>
+        <country>US</country>
+        <timeZone>-6GMT</timeZone>
+    </address>
+    <location type="home">
+        <latitude>41N</latitude>
+        <longitude>95W</longitude>
+    </location>
+    <phoneNumber type="home">4028314040</phoneNumber>
+    <phoneNumber type="work"></phoneNumber>
+    <instantMessengerName protocol="aim"></instantMessengerName>
+</Contact>
+
+   <prescriptions></prescriptions>
+
+
+  <conditions>
+       <condition>
+           <diagnosedWith>Down Syndrome</diagnosedWith>
+           <dateDiagnosed>1978-01-31</dateDiagnosed>
+           <diagnosedBy>Michael Matthews</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+       <condition>
+           <diagnosedWith>Alzheimer’s Disease</diagnosedWith>
+           <dateDiagnosed>2009-02-01</dateDiagnosed>
+           <diagnosedBy>Michael Matthews</diagnosedBy>
+      <physicianNotes>...</physicianNotes>
+       </condition>
+  </conditions>
+
+
+  <procedures>
+      <procedure>
+	   <procedureName>tonsilectomy</procedureName>
+           <procedureDate>1986-05-22</procedureDate>
+           <referredBy>Michael Matthews</referredBy>
+           <referredInstitution>Bellevue Medical Center</referredInstitution> 
+      </procedure>
+   </procedures>         
+
+
+  <allergies>
+       <drugs>none</drugs>
+       <food>peanut butter</food>
+       <environment>dust</environment>
+  </allergies>
+
+
+  <immunizations>
+      <measles>
+         <date>1978</date>
+         <method> intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Michael Matthews</administeredBy>
+      </measles>
+      <mumps>
+         <date>1978</date>   
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+      <administeredBy>Michael Matthews</administeredBy>
+      </mumps>
+      <rubella>
+         <date>1978</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Michael Matthews</administeredBy>
+      </rubella>
+      <tetanus>
+         <date>2008</date>
+         <method>intramuscular</method>
+         <compound>single</compound>
+         <stage>1</stage>
+         <administeredBy>Michael Matthews</administeredBy>
+      </tetanus> 
+  </immunizations> 
+
+  
+<lifestyle>  
+       <alcoholConsumption>
+           <frequency>0</frequency>
+           <units>week</units>
+           <quantity>0</quantity>
+           <date></date>
+       </alcoholConsumption>
+       <exercise>
+           <frequency>3</frequency>
+           <units>week</units>
+           <averageDuration>20</averageDuration>
+           <date>2009-0201</date>
+       </exercise>
+       <smoking>
+           <frequency>0</frequency>
+           <units>week</units>
+           <quantity>0</quantity>
+           <history>never</history>
+           <date>2009-02-01</date>
+       </smoking>
+       <diet>
+            <fruitVegetablesRating>5</fruitVegetablesRating>
+            <wholeGrainsRating>3</wholeGrainsRating>
+            <dairyRating>2</dairyRating>
+            <proteinRating>3</proteinRating>
+            <fatsRating>4</fatsRating>
+            <junkFoodRating>2</junkFoodRating>
+            <date>2009-02-01</date>
+       </diet>
+  </lifestyle>
+
+
+  <familyHistory>
+      <subject id="1">
+         <relation>maternalGrandmother</relation>
+         <fname>Betty</fname>
+         <sex>Female</sex>
+         <alive>no</alive>
+         <ageAtDeath>88</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="2">
+         <relation>maternalGrandfather</relation>
+         <fname>Bob</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>82</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Old Age</causeOfDeath>
+      </subject>
+      <subject id="3">
+         <relation>paternalGrandmother</relation>
+         <fname>Sally</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <ageAtDeath>67</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Myocardial Infarction</causeOfDeath>
+      </subject>
+      <subject id="4">
+         <relation>paternalGrandfather</relation>
+         <fname>Sam</fname>
+         <sex>Male</sex>
+         <alive>yes</alive>
+         <ageAtDeath>55</ageAtDeath>
+         <cancer>no</cancer>
+         <causeOfDeath>Colorectal Cancer</causeOfDeath>
+      </subject>
+      <subject id="5">
+         <relation>mother</relation>
+         <fname>Shirley</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+	 <age>73</age>
+      </subject>
+      <subject id="6">
+         <relation>father</relation>
+         <fname>Stanley</fname>
+         <sex>Male</sex>
+         <alive>no</alive>
+         <ageAtDeath>55</ageAtDeath>
+         <causeOfDeath>lung cancer</causeOfDeath>
+      </subject>
+      <subject id="7">
+         <relation>sister</relation>
+         <fname>Elizabeth</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+      <subject id="8">
+         <relation>sister</relation>
+         <fname>MarySue</fname>
+         <sex>Female</sex>
+         <alive>yes</alive>
+         <cancer>no</cancer>
+      </subject>
+
+</familyHistory>
+
+
+<Encounter>
+    <dateOfEncounter>2008-11-15</dateOfEncounter>
+    <physician>Michael Matthews</physician>
+    <medicalBaseline>true</medicalBaseline>
+    <medicalTest>Annual Medical</medicalTest>
+    <reportedSymptoms>true</reportedSymptoms>
+    <workingDiagnosis>true</workingDiagnosis>
+    <referral>false</referral>
+    <!-- !! duplicate? reportedSymptoms>none</reportedSymptoms -->
+    <physicalObservations>
+      <bodyFat_x5>
+         <x6_bodyFat units="percent">24</x6_bodyFat>
+         <weight units="pounds">130</weight>
+         <height units="inches">60</height>
+         <BMI units="kg/m^2">25</BMI>
+      </bodyFat_x5>
+      <waistToHips>
+         <waist units="inches">33</waist>
+         <hips units="inches">42</hips>
+         <waistToHips>0.8</waistToHips>
+      </waistToHips>
+      <bloodPressure>
+         <systolic units="mmHg">125</systolic>
+         <diastolic units="mmHg">78</diastolic>
+      </bloodPressure>
+      <restingHeartRate>
+         <restingHeartRate units="BPM">80</restingHeartRate>
+      </restingHeartRate>
+      <stamina>
+         <finalHeartRate units="BPM">135</finalHeartRate>
+         <predictedVO2Max units="ml/kg/min">49.2</predictedVO2Max>
+      </stamina>
+      <lungFunction>
+         <PEFR units="L/min">560</PEFR>
+      </lungFunction>
+    </physicalObservations>
+
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <testCode x_3="HGB">
+             <CPT>85018</CPT>
+             <LOINC></LOINC>
+             <description>Hemogloblin</description>
+             <value>13.3</value>
+             <units>g/dL</units>
+          </testCode>
+          <testCode x_3="RBC">
+             <CPT>85041</CPT>
+             <LOINC></LOINC>
+             <description>Red Blood Cell Count</description>
+             <value>5</value>
+             <units>mil/mcl</units>
+          </testCode>
+          <testCode x_3="MCV">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Cell Volume</description>
+             <value>92</value>
+             <units>fl</units>
+          </testCode>
+          <testCode x_3="MCH">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Mean Corpuscular Hemoglobin</description>
+             <value>30</value>
+             <units>pg/cell</units>
+          </testCode>
+          <testCode x_3="ART">
+             <CPT>85045</CPT>
+             <LOINC></LOINC>
+             <description>Reticulocyte Count</description>
+             <value>1</value>
+             <units>as a percent of red cells</units>
+          </testCode>
+          <testCode x_3="ESR">
+             <CPT>85652</CPT>
+             <LOINC></LOINC>
+             <description>Erythrocyte Sed Rate</description>
+             <value>20</value>
+             <units></units>
+          </testCode>
+          <testCode x_3="WBC">
+             <CPT>85048</CPT>
+             <LOINC></LOINC>
+             <description>White Blood Cell Count</description>
+             <value>12</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ANEUT">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Neutrophil Count</description>
+             <value>8</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ALYMS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Lymphocyte Count</description>
+             <value>3</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AMON">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Monocyte Count</description>
+             <value>0.7</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="AEOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Eosinophil Count</description>
+             <value>0.2</value>
+             <units>K/mcL</units>
+          </testCode>
+          <testCode x_3="ABOS">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>Absolute Basophil Count</description>
+             <value>0.1</value>
+             <units>K/mcL</units>
+          </testCode>
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80061</CPT>
+       <testName>Lipid panel</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <LipidPanel CPT="80061">
+          <testCode x_3="LDL">
+             <CPT>83721</CPT>
+             <LOINC></LOINC>
+             <description> Low-density lipoprotein</description>
+             <value>4</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="TRIG">
+             <CPT>84478</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>2.6</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CHO">
+             <CPT>82465</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>5</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="HDL">
+             <CPT>83718</CPT>
+             <LOINC></LOINC>
+             <description> Triglycerides</description>
+             <value>1</value>
+             <units>mmol/L</units>
+          </testCode>
+       </LipidPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80076</CPT>
+       <testName>Hepatic function panel</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <HepaticFunctionPanel CPT="80076">
+          <testCode x_3="TP">
+             <CPT>84155</CPT>
+             <LOINC></LOINC>
+             <description>Serum Total Protein</description>
+             <value>62</value>
+             <units>g/L</units>
+          </testCode>
+          <testCode x_3="AST">
+             <CPT>84450</CPT>
+             <LOINC></LOINC>
+             <description>Serum glutamic-oxaloacetic transaminase</description>
+             <value>88</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CK">
+             <CPT>82550</CPT>
+             <LOINC></LOINC>
+             <description>Creatinine kinase</description>
+             <value>66</value>
+             <units>U/L</units>
+          </testCode>
+          <testCode x_3="LDH">
+             <CPT>83615</CPT>
+             <LOINC></LOINC>
+             <description>Lactate dehydrogenase</description>
+             <value>222</value>
+             <units>U/L</units>
+          </testCode>
+          <testCode x_3="AMY">
+             <CPT>82150</CPT>
+             <LOINC></LOINC>
+             <description>Amylase</description>
+             <value>144</value>
+             <units>U/L</units>
+          </testCode>
+          <testCode x_3="TBIL">
+             <CPT>82247</CPT>
+             <LOINC></LOINC>
+             <description>Serum Bilirubin, Total</description>
+             <value>20</value>
+             <units>umol/L</units>
+          </testCode>
+          <testCode x_3="DBL">
+             <CPT>82248</CPT>
+             <LOINC></LOINC>
+             <description>Bilirubin, Direct</description>
+             <value>17</value>
+             <units>umol/L</units>
+          </testCode>
+          <testCode x_3="ALT">
+             <CPT>84460</CPT>
+             <LOINC></LOINC>
+             <description>Alanine transaminase</description>
+             <value>22</value>
+             <units>U/L</units>
+          </testCode>
+          <testCode x_3="ALP">
+             <CPT>84075</CPT>
+             <LOINC></LOINC>
+             <description>Serum Alkaline Phosphatase</description>
+             <value>122</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="GGT">
+             <CPT>82977</CPT>
+             <LOINC></LOINC>
+             <description>Serum Gamma Glutamyl Transferase</description>
+             <value>242</value>
+             <units>IU/l</units>
+          </testCode>
+          <testCode x_3="CRP">
+             <CPT>86140</CPT>
+             <LOINC></LOINC>
+             <description>Serum C-Reactive Protein</description>
+             <value>66</value>
+             <units>mg/L</units>
+          </testCode>
+       </HepaticFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>80069</CPT>
+       <testName>Renal function panel</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <RenalFunctionPanel CPT="80069">
+          <testCode x_3="NA">
+             <CPT>84295</CPT>
+             <LOINC></LOINC>
+             <description>Serum Sodium</description>
+             <value>133</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="K">
+             <CPT>84132</CPT>
+             <LOINC></LOINC>
+             <description>Serum Potassium</description>
+             <value>4</value>
+             <units>mmol/l</units>
+          </testCode>
+          <testCode x_3="CREA">
+             <CPT>82565</CPT>
+             <LOINC></LOINC>
+             <description>Serum Creatinine</description>
+             <value>111</value>
+             <units>umol/L</units>
+          </testCode>
+          <testCode x_3="ALB">
+             <CPT>82040</CPT>
+             <LOINC></LOINC>
+             <description>Serum Albumin</description>
+             <value>39</value>
+             <units>g/L</units>
+          </testCode>
+          <testCode x_3="GLU">
+          <CPT>82945</CPT>
+             <LOINC></LOINC>
+             <description>Glucose, serum fasting</description>
+             <value>110</value>
+             <units>mg/dl</units>
+          </testCode>
+          <testCode x_3="CA">
+             <CPT>82310</CPT>
+             <LOINC></LOINC>
+             <description>Serum Calcium</description>
+             <value>2.23</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="CAI">
+             <CPT>82330</CPT>
+             <LOINC></LOINC>
+             <description>Ionized Calcium, Serum</description>
+             <value>1.01</value>
+             <units>mmol/L</units>
+          </testCode>
+          <testCode x_3="BUN">
+             <CPT>84520</CPT>
+             <LOINC></LOINC>
+             <description>Blood Urea Nitrogen</description>
+             <value>5</value>
+             <units>umol/L</units>
+          </testCode>
+       </RenalFunctionPanel>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+
+    <test x_2="Laboratory">
+       <CPT>84443</CPT>
+       <testName>Thyroid stimulating hormone (TSH)</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <ThyroidFunction CPT="84443">
+          <testCode x_3="TSH">
+             <CPT>84443</CPT>
+             <LOINC></LOINC>
+             <description>Thyroid Stimulating Hormone</description>
+             <value>2</value>
+             <units>mIU/L</units>
+          </testCode>
+          <testCode x_3="FT4">
+             <CPT>84439</CPT>
+             <LOINC></LOINC>
+             <description>T4, Free</description>
+             <value>17</value>
+             <units>pmol/L</units>
+          </testCode>
+          <testCode x_3="T3F">
+             <CPT>84481</CPT>
+             <LOINC></LOINC>
+             <description>T3, Free</description>
+             <value>4</value>
+             <units>pmol/L</units>
+          </testCode>
+       </ThyroidFunction>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>80412</CPT>
+       <testName>Corticotropic Releasing Hormone Stimulation Panel</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <CRH CPT="80412">
+          <testCode x_3="ACH">
+             <CPT>82024</CPT>
+             <LOINC></LOINC>
+             <description>Adrenocorticotropic hormone</description>
+             <value>3</value>
+             <units>pmol/L</units>
+          </testCode>
+          <testCode x_3="CTL">
+             <CPT>82533</CPT>
+             <LOINC></LOINC>
+             <description>Cortisol</description>
+             <value>522</value>
+             <units>nmol/L</units>
+          </testCode>
+       </CRH>
+      <physicianNotes>...</physicianNotes>
+    </test>
+
+    <test x_2="Laboratory">
+       <CPT>85999</CPT>
+       <testName>CoagulationBattery</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <Coagulation CPT="85999">
+          <testCode x_3="PT">
+             <CPT>85610</CPT>
+             <LOINC></LOINC>
+             <description>Prothrombin time</description>
+             <value>11</value>
+             <units>s</units>
+          </testCode>
+          <testCode x_3="INR">
+             <CPT></CPT>
+             <LOINC></LOINC>
+             <description>INR</description>
+             <value>1.0</value>
+             <units></units>
+          </testCode>
+          <testCode x_3="Bleeding Time">
+             <CPT>85002</CPT>
+             <LOINC></LOINC>
+             <description>Bleeding time</description>
+             <value>6</value>
+             <units>min</units>
+          </testCode>
+          <testCode x_3="FIB">
+             <CPT>85384</CPT>
+             <LOINC></LOINC>
+             <description>Fibrinogen</description>
+             <value>3</value>
+             <units>g/L</units>
+          </testCode>
+       </Coagulation>
+      <physicianNotes>...</physicianNotes>
+    </test>
+Add b12    0.64nmol/L
+Folate     2.1 ug/L
+RPR – Non reactive
+</Encounter>
+
+
+
+<Encounter>
+    <dateOfEncounter>2009-01-15</dateOfEncounter>
+    <physician>Michael Matthews</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>false</medicalTest>
+    <reportedSymptoms>Confusion, Becomes lost</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+       </differentialDiagnosis>
+    </workingDiagnosis>
+    <test x_2="ICD9 Procedure">
+       <ICD9_Procedure>94.02</ICD9_Procedure>
+       <testName>Administration of psychologic test</testName>
+       <referredName>Keil Fender</referredName>
+       <referredClinic>UNMC</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <result x_4="Wechsler Memory Scale">
+          <description></description>
+          <value></value>
+          <units></units>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+    <test x_2="ICD9_Procedure">
+       <ICD9_Procedure>88.91</ICD9_Procedure>
+       <testName>Magnetic resonance imaging of brain and brain stem</testName> <!-- (Included here will be the written reports of Radiologist
+			To indicate likelihood of results to coincide with 
+			Alzheimer’s disease or dementia – also included will be 			the ruling out of other potential causes of dementia-
+	Type signs and symptoms which is an important  step in                     making the diagnosis of alzheimers – to rule out other disease!  It is difficult to describe the parameters of what a radiological definition of disease may be, this is beyond our scope and scans are used in accordance with all of the other prognostic indicators to arrive at a dioagnosis
+
+MRI is nonspecific, although serial MRIs separated by >3months may show increased loss in medial temporal lobe (especially the Hippocampus – again depends on neuroradiologist opinion on sequential scans   -  think we should just place several scans and a brief opinion stating size differential that is suggestive of dementia -->
+       <referredName>Sarah Yang</referredName>
+       <referredClinic>Midtown Hospital</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <result x_4="DICOM 3.0 Image Data">
+          ...
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+    <test x_2="Laboratory">
+       <CPT>85025</CPT>
+       <testName>Blood count; complete (CBC), automated (Hgb, Hct, RBC, WBC and platelet count) and automated differential WBC count</testName>
+       <referredName>Baljit Gupta</referredName>
+       <referredClinic>Eastside Health Laboratories</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <CompleteBloodCount CPT="85025">
+          <!-- !! ... -->
+       </CompleteBloodCount>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter>
+<Encounter>
+    <dateOfEncounter>2009-01-20</dateOfEncounter>
+    <physician>Keil Fender</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>
+       <preliminaryDiagnosis>
+          <diagnosisDescription>Dementia</diagnosisDescription>
+          <ICD9>331</ICD9>
+          <ICD9Description> Other cerebral degenerations</ICD9Description>
+       </preliminaryDiagnosis>
+       <differentialDiagnosis>
+          <ICD9>331.0</ICD9>
+          <ICD9Description>Alzheimer's disease</ICD9Description>
+       </differentialDiagnosis>
+       <clinicalDiagnosis>
+       </clinicalDiagnosis>
+    </workingDiagnosis>
+    <test x_2="Cognative">
+       <CPT>97532</CPT>
+       <testName>Alzheimer's Disease Assessment Scale-cognitive subscale</testName>
+       <referredName>Mary Lubker</referredName>
+       <referredClinic>Neurology Specialists</referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <result>
+          <testScore>???</testScore>
+          <testNormalRange>????</testNormalRange>
+          <testResult>abnormal</testResult>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+    <test x_2="Genotyping SNPs">
+       <CPT> 83520(3), 83891(1), 83892(4), 83896(10), 83908(4), 83912(1)</CPT>
+       <testName>ADmark Alzheimer's Evaluation</testName>
+       <referredName> Mary Lubker </referredName>
+       <referredClinic> Neurology Specialists </referredClinic>
+       <referredBy>Michael Matthews</referredBy>
+       <result>                   Pulling in this genetic data is excellent!
+          <value>abnormal</value>
+          <rs_Number> rs429358</rs_Number>
+          <variant_Synonyms>APOE4, NG_007084.2:g.7903T>C</variant_Synonyms>
+          <gene_Symbol>APOE</gene_Symbol>
+          <gene_Name> apolipoprotein E</gene_Name>  
+          <ENTREZ_Gene_ID>348</ENTREZ_Gene_ID>
+          <Accession_ID> NG_007084.2</Accession_ID>
+          <Gene_Region>coding_region</Gene_Region>
+          <DNA_Change>g.7903T>C</DNA_Change>
+          <DNA_Change_Type>Substitution</DNA_Change_Type>
+          <Amino_Acid_Change>C112R</Amino_Acid_Change>
+          <Amino_Acid_Change_Type>Missense</Amino_Acid_Change_Type>
+       </result>
+      <physicianNotes>...</physicianNotes>
+    </test>
+</Encounter> <!-- Need to find a way to pull in biormarker associations – article I sent to you the other day…  where can we pull these in from? -->
+
+<Encounter>
+    <dateOfEncounter>2009-01-30</dateOfEncounter>
+    <physician>Kerri Fallen</physician>
+    <medicalBaseline>false</medicalBaseline>
+    <medicalTest>
+        <test>
+          <testName>MRI Brain Image</testName>
+          <hippocampalVolume>???</hippocampalVolume>
+          <hippocampalVolumeNormalRange>????</hippocampalVolumeNormalRange>
+          <hippocampalVolumeTestResult>abnormal</hippocampalVolumeTestResult>
+          <amyloidDeposit>???</amyloidDeposit>
+          <amyloidDepositNormalRange>???</amyloidDepositNormalRange>
+          <amyloidDepositResult>abnormal</amyloidDepositResult>
+      <physicianNotes>...</physicianNotes>
+        </test> <!-- (These are again at the discretion of the Neuroradiologist and If we get involved with specific values we will be far out of our depth)  If we really need them, I can search and find them, otherwise, take the radiologist’s word for either "changes suggestive", or "progression"  this information and anatomical association changes daily depending on association and specialist opinion – and will likely need consensus radiologist opinion to determine sensitivity/specificity.  There is no "gold standard" other than an actual pathologic tissue sample that is diagnostic, just suggestive opinion  -->
+      </medicalTest>
+    <reportedSymptoms>false</reportedSymptoms>
+    <workingDiagnosis>Alzheimers Disease</workingDiagnosis>
+</Encounter>
+</root>
+<!-- 
+The basics we need to include somewhere :
+1)Psychometric tests
+2)Histology – unlikely to have any until death – the gold standard for diagnosis
+3)Imaging : sequential "suggestive" changes are probably the best we can get
+4)Blood flow imaging: hypoperfusion of the temporoparietal areas
+And more anteriorly in frontotemporal dementia
+5)Genetic Associations : we have these
+Need to add :
+Mosaic downs syndrome caused by mitotic nondisjunction in embryonic development  
+Need to include pharmacogenomic section
+P450 isoenzyme ranges
+
+6)CSF analysis :  b amyloid decreased ; tau protein increased   (both of these are the basics – don’t get too complicated)
+7)Presentation and progression from encounter to encounter
+8) Blood tests from encounter to encounter – in this case most are normal and this excludes other diseases as the cause for the condition – ultimately alzheimer’s disease is the diagnosis of exclusion
+9)Predictive medicine :
+Need to have genetic association data : data predicting drug efficacy and toxicity if available (no drugs in this example so not an issue)
+Need to place biomarker associations and identify and pull from relevant data sources
+Going to also need some text 
+Here is an example illustrating what I mean
+Taken from : 
+http://www.mtsamples.com/site/pages/sample.asp?Type=95-Radiology&amp;Sample=566-Alzheimer+Disease
+Neuropsychological evaluation, 2/6/07, revealed: 1) well preserved intellectual functioning and orientation, 2) significant deficits in verbal and visual memory, proper naming, category fluency and working memory, 3)performances which were below expectations on tests of speed of reading, visual scanning, visual construction and clock drawing, 4)limited insight into the scope and magnitude of cognitive dysfunction. The findings indicated multiple areas of cerebral dysfunction. With the exception of the patient's report of minimal occupational dysfunction ( which may reflect poor insight), the clinical picture is consistent with a progressive dementia syndrome such as Alzheimer's disease. MRI brain 2/3/04, showed mild generalized atrophy, more severe in the occipital-parietal regions.
+
+
+On 4/5/08, his performance on repeat neuropsychological evaluation was relatively stable. His verbal learning and delayed recognition were within normal limits, whereas delayed recall was "moderately severely" impaired. Immediate and delayed visual memory were slightly below expectations. Temporal orientation and expressive language skills were below expectation, especially in word retrieval. These findings were suggestive of particular, but not exclusive, involvement of the temporal lobes.
+
+On 9/30/08, he was evaluated for a 5 minute spell of visual loss, OU. The episode occurred on Friday, 9/27/08, in the morning while sitting at his desk doing paperwork. He suddenly felt that his gaze was pulled toward a pile of letters; then a "curtain" came down over both visual fields, like "everything was in the shade." During the episode he felt fully alert and aware of his surroundings. He concurrently heard a "grating sound" in his head. After the episode, he made several phone calls, during which he reportedly sounded confused, and perseverated about opening a bank account. He then drove to visit his sister in Muscatine, Iowa, without accident. He was reportedly "normal" when he reached her house. He was able to perform Mass over the weekend without any difficulty. Neurologic examination, 9/30/08, was notable for: 1)category fluency score of 18items/60 sec. 2)VFFTC and EOM were intact. There was no RAPD, INO, loss of visual acuity. Glucose 178 (elevated), ESR ,Lipid profile, GS, CBC with differential, Carotid duplex scan, EKG, and EEG were all normal. MRI brain, 9/30/96, was unchanged from previous.
+
+
+On 1/3/97, he had a 30 second spell of lightheadedness without vertigo, but with balance difficulty, after picking up a box of books. The episode was felt due to orthostatic changes.
+
+1/8/97 neuropsychological evaluation was stable and his MMSE score was 25/30 (with deficits in visual construction, orientation, and 2/3 recall at 1 minute). Category fluency score 23 items/60 sec. Neurologic exam was notable for graphesthesia in the left hand.
+
+In 2/97, he had episodes of anxiety, marked fluctuations in job performance and resigned his pastoral position. His neurologic exam was unchanged. An FDG-PET scan on 2/14/09 revealed decreased uptake in the right posterior temporal-parietal and lateral occipital regions.
+ -->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/Makefile	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,17 @@
+XSLT := saxonb-xslt
+
+all : \
+ AD_PCHR_1.html AD_PCHR_2.html \
+ AD_PCHR_1.rdf AD_PCHR_2.rdf \
+ AD_PCHR_3.html AD_PCHR_3.rdf \
+ AD_PCHR_4.html AD_PCHR_4.rdf \
+ AD_PCHR_5.html AD_PCHR_5.rdf \
+ AD_PCHR_6.html AD_PCHR_6.rdf \
+ AD_PCHR_7.html AD_PCHR_7.rdf
+
+%.rdf : %.xml Pat2rdf.xsl
+	$(XSLT) $^ > $@
+
+%.html: %.rdf Patrdf2html.xsl
+	$(XSLT) $^ > $@
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/Pat2rdf.xsl	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,879 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Id: Pat2rdf.xsl,v 1.23 2009/11/30 03:42:28 eric Exp $ -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+version="2.0"
+xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
+xmlns:trans='tag:eric@w3.org:2009/tmo/translator#'
+xmlns:foaf="http://xmlns.com/foaf/0.1/"
+xmlns:pim='tag:eric@w3.org:2009/pim/basic'
+xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+exclude-result-prefixes="">
+
+<xsl:output method="xml" indent='yes' encoding='utf-8'
+omit-xml-declaration="yes"	    
+media-type="application/rdf+xml" version="1.0"/>
+
+  <xsl:template match="/root">
+    <xsl:comment> -*- XML -*- </xsl:comment><xsl:processing-instruction name="xml-stylesheet"><xsl:text>type="text/xsl" href="Patrdf2html.xsl"</xsl:text></xsl:processing-instruction><xsl:text>
+</xsl:text><xsl:comment> &#x24;Id&#x24; </xsl:comment><xsl:text>
+</xsl:text>
+    <rdf:RDF>
+      <xsl:apply-templates/>
+    </rdf:RDF>
+  </xsl:template>
+
+  <xsl:template match="Practice">
+    <trans:Practice>
+      <xsl:for-each select="*">
+	<xsl:variable name="ln" select="local-name()"/>
+	<xsl:choose>
+	  <xsl:when test="$ln='practiceName'">
+	    <trans:practiceName><xsl:copy-of select="text()"/></trans:practiceName>
+	  </xsl:when>
+	  <xsl:when test="$ln='practiceAddress'">
+	    <pim:addr>
+	      <xsl:apply-templates mode="address" select="."/>
+	    </pim:addr>
+	  </xsl:when>
+	  <xsl:when test="$ln='primaryCarePhysician'">
+	    <trans:primaryCarePhysician>
+	      <foaf:Person>
+		<xsl:apply-templates mode="person" select="."/>
+	      </foaf:Person>
+	    </trans:primaryCarePhysician>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode="pred" select="."/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:for-each>
+    </trans:Practice>
+  </xsl:template>
+
+  <xsl:template mode="address" match="*">
+    <pim:Address>
+      <xsl:for-each select="*">
+	<xsl:variable name="ln2" select="local-name()"/>
+	<xsl:choose>
+	  <xsl:when test="$ln2='streetAddress'">
+	    <vcard:Street><xsl:copy-of select="text()"/></vcard:Street>
+	  </xsl:when>
+	  <xsl:when test="$ln2='postalCode'">
+	    <vcard:Pcode><xsl:copy-of select="text()"/></vcard:Pcode>
+	  </xsl:when>
+	  <xsl:when test="$ln2='locality'">
+	    <vcard:Locality><xsl:copy-of select="text()"/></vcard:Locality>
+	  </xsl:when>
+	  <xsl:when test="$ln2='region'">
+	    <vcard:Region><xsl:copy-of select="text()"/></vcard:Region>
+	  </xsl:when>
+	  <xsl:when test="$ln2='country'">
+	    <vcard:Country><xsl:copy-of select="text()"/></vcard:Country>
+	  </xsl:when>
+	  <xsl:when test="$ln2='timeZone'">
+	    <pim:timeZone><xsl:copy-of select="text()"/></pim:timeZone>
+	  </xsl:when>
+	  <xsl:when test="$ln2='phoneNumber'">
+	    <foaf:phone><xsl:copy-of select="text()"/></foaf:phone>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode="pred" select="."/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:for-each>
+    </pim:Address>
+  </xsl:template>
+
+  <xsl:template match="Demographics">
+    <rdf:Description rdf:about="#me"><trans:demographics rdf:resource="#demog"/></rdf:Description>
+    <trans:Demographics rdf:about="#demog">
+      <xsl:for-each select="*">
+	<xsl:variable name="ln" select="local-name()"/>
+	<xsl:choose>
+	  <xsl:when test="$ln='practiceName'">
+	    <trans:practiceName><xsl:copy-of select="text()"/></trans:practiceName>
+	  </xsl:when>
+	  <xsl:when test="$ln='dateOfBirth'">
+	    <indivo:dateOfBirth><xsl:copy-of select="text()"/></indivo:dateOfBirth>
+	  </xsl:when>
+	  <xsl:when test="$ln='dateOfDeath'">
+	    <indivo:dateOfDeath><xsl:copy-of select="text()"/></indivo:dateOfDeath>
+	  </xsl:when>
+	  <xsl:when test="$ln='gender'">
+	    <indivo:gender><xsl:copy-of select="text()"/></indivo:gender>
+	  </xsl:when>
+	  <xsl:when test="$ln='ethnicity'">
+	    <indivo:ethnicity><xsl:copy-of select="text()"/></indivo:ethnicity>
+	  </xsl:when>
+	  <xsl:when test="$ln='language'">
+	    <indivo:language><xsl:copy-of select="text()"/></indivo:language>
+	  </xsl:when>
+	  <xsl:when test="$ln='maritalStatus'">
+	    <indivo:maritalStatus><xsl:copy-of select="text()"/></indivo:maritalStatus>
+	  </xsl:when>
+	  <xsl:when test="$ln='employmentStatus'">
+	    <indivo:employmentStatus><xsl:copy-of select="text()"/></indivo:employmentStatus>
+	  </xsl:when>
+	  <xsl:when test="$ln='employmentIndustry'">
+	    <indivo:employmentIndustry><xsl:copy-of select="text()"/></indivo:employmentIndustry>
+	  </xsl:when>
+	  <xsl:when test="$ln='occupation'">
+	    <indivo:occupation><xsl:copy-of select="text()"/></indivo:occupation>
+	  </xsl:when>
+	  <xsl:when test="$ln='religion'">
+	    <indivo:religion><xsl:copy-of select="text()"/></indivo:religion>
+	  </xsl:when>
+	  <xsl:when test="$ln='income'">
+	    <indivo:income><xsl:copy-of select="text()"/></indivo:income>
+	  </xsl:when>
+	  <xsl:when test="$ln='highestEducation'">
+	    <indivo:highestEducation><xsl:copy-of select="text()"/></indivo:highestEducation>
+	  </xsl:when>
+	  <xsl:when test="$ln='organDonor'">
+	    <indivo:organDonor><xsl:copy-of select="text()"/></indivo:organDonor>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode="pred" select="."/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:for-each>
+    </trans:Demographics>
+  </xsl:template>
+
+  <xsl:template match="Contact">
+    <foaf:Person rdf:about="#me">
+      <!-- rdf:type rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/ -->
+      <xsl:apply-templates mode="person" select="."/>
+    </foaf:Person>
+  </xsl:template>
+
+  <xsl:template mode="person" match="*">
+      <xsl:for-each select="*">
+	<xsl:variable name="ln" select="local-name()"/>
+	<xsl:choose>
+	  <xsl:when test="$ln='name'"> <!-- flatten <name><fullName/></name> -->
+	    <xsl:apply-templates mode="person" select="."/>
+	  </xsl:when>
+	  <xsl:when test="$ln='fullName'">
+	    <foaf:name><xsl:copy-of select="text()"/></foaf:name>
+	  </xsl:when>
+	  <xsl:when test="$ln='givenName'">
+	    <foaf:givenName><xsl:copy-of select="text()"/></foaf:givenName>
+	  </xsl:when>
+	  <xsl:when test="$ln='familyName'">
+	    <foaf:familyName><xsl:copy-of select="text()"/></foaf:familyName>
+	  </xsl:when>
+	  <xsl:when test="$ln='email' and @type='personal'"><xsl:comment>personal mbox</xsl:comment>
+	    <foaf:mbox><xsl:copy-of select="text()"/></foaf:mbox>
+	  </xsl:when>
+	  <xsl:when test="$ln='email' and @type='work'"><xsl:comment>work mbox</xsl:comment>
+	    <foaf:mbox><xsl:copy-of select="text()"/></foaf:mbox>
+	  </xsl:when>
+	  <xsl:when test="$ln='address'">
+	    <foaf:address><xsl:apply-templates mode="address" select="."/></foaf:address>
+	  </xsl:when>
+	  <xsl:when test="$ln='location'">
+	    <pim:location rdf:parseType="Resource">
+	      <xsl:for-each select="*">
+		<xsl:variable name="ln2" select="local-name()"/>
+		<xsl:choose>
+		  <xsl:when test="$ln2='latitude'">
+		    <geo:lat><xsl:copy-of select="text()"/></geo:lat>
+		  </xsl:when>
+		  <xsl:when test="$ln2='longitude'">
+		    <geo:long><xsl:copy-of select="text()"/></geo:long>
+		  </xsl:when>
+		</xsl:choose>
+	      </xsl:for-each>
+	    </pim:location>
+	  </xsl:when>
+	  <xsl:when test="$ln='phoneNumber'">
+	    <foaf:phone><xsl:copy-of select="text()"/></foaf:phone>
+	  </xsl:when>
+	  <xsl:when test="$ln='instantMessengerName'">
+	    <foaf:accountName><xsl:copy-of select="text()"/></foaf:accountName>
+	  </xsl:when>
+	  <xsl:when test="$ln='license'">
+	    <trans:license><xsl:copy-of select="text()"/></trans:license>
+	  </xsl:when>
+	  <xsl:when test="$ln='gender'">
+	    <foaf:gender><xsl:copy-of select="text()"/></foaf:gender>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode="pred" select="."/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match="prescriptions">
+    <xsl:apply-templates mode="prescriptions"/>
+  </xsl:template>
+
+  <xsl:template mode="prescriptions" match="drug">
+	<trans:Drug>
+	  <trans:prescribedTo rdf:resource="#me"/>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='ontology'">
+		<trans:ontology><xsl:copy-of select="text()"/></trans:ontology>
+	      </xsl:when>
+	      <xsl:when test="$ln='NDC'">
+		<trans:NDC><xsl:copy-of select="text()"/></trans:NDC>
+	      </xsl:when>
+	      <xsl:when test="$ln='genericName'">
+		<trans:genericName><xsl:copy-of select="text()"/></trans:genericName>
+	      </xsl:when>
+	      <xsl:when test="$ln='strength'"><xsl:comment> ++ indivo:Prescription/strength/value </xsl:comment>
+		<trans:strength><xsl:copy-of select="text()"/></trans:strength>
+	      </xsl:when>
+	      <xsl:when test="$ln='unit'"><xsl:comment> ++ indivo:Prescription/strength/value </xsl:comment>
+		<trans:unit><xsl:copy-of select="text()"/></trans:unit>
+	      </xsl:when>
+	      <xsl:when test="$ln='packSize'">
+		<trans:packSize><xsl:copy-of select="text()"/></trans:packSize>
+	      </xsl:when>
+	      <xsl:when test="$ln='packType'">
+		<trans:packType><xsl:copy-of select="text()"/></trans:packType>
+	      </xsl:when>
+	      <xsl:when test="$ln='routeName'">
+		<trans:routeName><xsl:copy-of select="text()"/></trans:routeName>
+	      </xsl:when>
+	      <xsl:when test="$ln='dosageName'">
+		<trans:dosageName><xsl:copy-of select="text()"/></trans:dosageName>
+	      </xsl:when>
+	      <xsl:when test="$ln='frequency'">
+		<trans:frequency><xsl:copy-of select="text()"/></trans:frequency>
+	      </xsl:when>
+	      <xsl:when test="$ln='refill'"><xsl:comment> ++ indivo:Prescription/refillInfo </xsl:comment>
+		<trans:refill><xsl:copy-of select="text()"/></trans:refill>
+	      </xsl:when>
+	      <xsl:when test="$ln='daysToTake'"><xsl:comment> ++ indivo:Prescription/duration </xsl:comment>
+		<trans:daysToTake><xsl:copy-of select="text()"/></trans:daysToTake>
+	      </xsl:when>
+	      <xsl:when test="$ln='prescribedBy'"><xsl:comment> ++ indivo:Prescription/prescribedBy/name </xsl:comment>
+		<trans:prescribedBy><xsl:copy-of select="text()"/></trans:prescribedBy>
+	      </xsl:when>
+	      <xsl:when test="$ln='datePrescribed'">
+		<indivo:prescribedOn><xsl:copy-of select="text()"/></indivo:prescribedOn>
+	      </xsl:when>
+	      <xsl:when test="$ln='datePrescriptionEnded'">
+		<trans:datePrescriptionEnded><xsl:copy-of select="text()"/></trans:datePrescriptionEnded>
+	      </xsl:when>
+	      <xsl:when test="$ln='physicianNotes'">
+		<trans:physicianNotes><xsl:copy-of select="text()"/></trans:physicianNotes>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Drug>
+  </xsl:template>
+
+  <xsl:template match="conditions">
+    <xsl:apply-templates mode="conditions"/>
+  </xsl:template>
+
+  <xsl:template mode="conditions" match="condition">
+    <rdf:Description rdf:about="#me">
+      <trans:hasCondition>
+	<trans:Condition>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='diagnosedWith'"> <xsl:comment> ++ close to indivo:name </xsl:comment>
+		<trans:diagnosedWith><xsl:copy-of select="text()"/></trans:diagnosedWith>
+	      </xsl:when>
+	      <xsl:when test="$ln='ICD9'">
+		<trans:ICD9><xsl:copy-of select="text()"/></trans:ICD9>
+	      </xsl:when>
+	      <xsl:when test="$ln='dateDiagnosed'">
+		<trans:dateDiagnosed><xsl:copy-of select="text()"/></trans:dateDiagnosed>
+	      </xsl:when>
+	      <xsl:when test="$ln='diagnosedBy'">
+		<indivo:diagnosedBy><xsl:copy-of select="text()"/></indivo:diagnosedBy>
+	      </xsl:when>
+	      <xsl:when test="$ln='physicianNotes'">
+		<trans:physicianNotes><xsl:copy-of select="text()"/></trans:physicianNotes>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Condition>
+      </trans:hasCondition>
+    </rdf:Description>
+  </xsl:template>
+
+
+  <xsl:template match="procedures">
+    <xsl:apply-templates mode="procedures"/>
+  </xsl:template>
+
+  <xsl:template mode="procedures" match="procedure">
+	<trans:Procedure>
+	  <trans:performedOn rdf:resource="#me"/>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='procedureName'"><xsl:comment> ++ close to indivo:Procedure/name </xsl:comment>
+		<trans:procedureName><xsl:copy-of select="text()"/></trans:procedureName>
+	      </xsl:when>
+	      <xsl:when test="$ln='ICD9'">
+		<trans:ICD9><xsl:copy-of select="text()"/></trans:ICD9>
+	      </xsl:when>
+	      <xsl:when test="$ln='ICD9_Procedure'">
+		<trans:ICD9procedure><xsl:copy-of select="text()"/></trans:ICD9procedure>
+	      </xsl:when>
+	      <xsl:when test="$ln='procedureDate'">
+		<indivo:datePerformed><xsl:copy-of select="text()"/></indivo:datePerformed>
+	      </xsl:when>
+	      <xsl:when test="$ln='procedureNotes'">
+		<trans:procedureNotes><xsl:copy-of select="text()"/></trans:procedureNotes>
+	      </xsl:when>
+	      <xsl:when test="$ln='referredBy'">
+		<trans:referredBy><xsl:copy-of select="text()"/></trans:referredBy>
+	      </xsl:when>
+	      <xsl:when test="$ln='referredInstitution'">
+		<trans:referredInstitution><xsl:copy-of select="text()"/></trans:referredInstitution>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Procedure>
+  </xsl:template>
+
+
+  <xsl:template match="allergies">
+    <xsl:apply-templates mode="allergies"/>
+  </xsl:template>
+
+  <xsl:template mode="allergies" match="*">
+    <xsl:variable name="allergyType" select="local-name()"/>
+    <rdf:Description rdf:about="#me">
+      <trans:hasAllergy>
+	<trans:Allergy>
+	  <trans:allergyType><xsl:value-of select="$allergyType"/></trans:allergyType>
+	  <trans:allergyList><xsl:value-of select="text()"/></trans:allergyList>
+	</trans:Allergy>
+      </trans:hasAllergy>
+    </rdf:Description>
+  </xsl:template>
+
+
+  <xsl:template match="immunizations">
+    <xsl:apply-templates mode="immunizations"/>
+  </xsl:template>
+
+  <xsl:template mode="immunizations" match="*">
+    <xsl:variable name="disease" select="local-name()"/>
+    <rdf:Description rdf:about="#me">
+      <trans:immunization>
+	<trans:Immunization>
+	  <trans:diseaseName><xsl:value-of select="$disease"/></trans:diseaseName>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='date'">
+		<indivo:dateAdministered><xsl:copy-of select="text()"/></indivo:dateAdministered>
+	      </xsl:when>
+	      <xsl:when test="$ln='method'">
+		<trans:method><xsl:copy-of select="text()"/></trans:method>
+	      </xsl:when>
+	      <xsl:when test="$ln='compound'">
+		<trans:compound><xsl:copy-of select="text()"/></trans:compound>
+	      </xsl:when>
+	      <xsl:when test="$ln='stage'">
+		<trans:stage><xsl:copy-of select="text()"/></trans:stage>
+	      </xsl:when>
+	      <xsl:when test="$ln='administeredBy'">
+		<trans:administeredBy><xsl:copy-of select="text()"/></trans:administeredBy>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Immunization>
+      </trans:immunization>
+    </rdf:Description>
+  </xsl:template>
+
+
+  <xsl:template match="lifestyle">
+    <xsl:apply-templates mode="lifestyle"/>
+  </xsl:template>
+
+  <xsl:template mode="lifestyle" match="*">
+    <xsl:variable name="behavoir" select="local-name()"/>
+    <rdf:Description rdf:about="#me">
+      <trans:behavoir>
+	<trans:Behavoir>
+	  <trans:behavoirName><xsl:value-of select="$behavoir"/></trans:behavoirName>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='frequency'">
+		<trans:frequency><xsl:copy-of select="text()"/></trans:frequency>
+	      </xsl:when>
+	      <xsl:when test="$ln='units'">
+		<trans:units><xsl:copy-of select="text()"/></trans:units>
+	      </xsl:when>
+	      <xsl:when test="$ln='quantity'">
+		<trans:quantity><xsl:copy-of select="text()"/></trans:quantity>
+	      </xsl:when>
+	      <xsl:when test="$ln='averageDuration'">
+		<trans:averageDuration><xsl:copy-of select="text()"/></trans:averageDuration>
+	      </xsl:when>
+	      <xsl:when test="$ln='packYears'">
+		<trans:packYears><xsl:copy-of select="text()"/></trans:packYears>
+	      </xsl:when>
+	      <xsl:when test="$ln='history'">
+		<trans:history><xsl:copy-of select="text()"/></trans:history>
+	      </xsl:when>
+	      <xsl:when test="$ln='fruitVegetablesRating'">
+		<trans:fruitVegetablesRating><xsl:copy-of select="text()"/></trans:fruitVegetablesRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='wholeGrainsRating'">
+		<trans:wholeGrainsRating><xsl:copy-of select="text()"/></trans:wholeGrainsRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='dairyRating'">
+		<trans:dairyRating><xsl:copy-of select="text()"/></trans:dairyRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='proteinRating'">
+		<trans:proteinRating><xsl:copy-of select="text()"/></trans:proteinRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='fatsRating'">
+		<trans:fatsRating><xsl:copy-of select="text()"/></trans:fatsRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='junkFoodRating'">
+		<trans:junkFoodRating><xsl:copy-of select="text()"/></trans:junkFoodRating>
+	      </xsl:when>
+	      <xsl:when test="$ln='date'">
+		<trans:date><xsl:copy-of select="text()"/></trans:date>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Behavoir>
+      </trans:behavoir>
+    </rdf:Description>
+  </xsl:template>
+
+
+  <xsl:template match="familyHistory">
+    <xsl:apply-templates mode="familyHistory"/>
+  </xsl:template>
+
+  <xsl:template mode="familyHistory" match="subject">
+    <rdf:Description rdf:about="#me">
+      <trans:relation>
+	<trans:Relation>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='relation'">
+		<trans:relation><xsl:copy-of select="text()"/></trans:relation>
+	      </xsl:when>
+	      <xsl:when test="$ln='fname'">
+		<trans:fname><xsl:copy-of select="text()"/></trans:fname>
+	      </xsl:when>
+	      <xsl:when test="$ln='sex'">
+		<trans:sex><xsl:copy-of select="text()"/></trans:sex>
+	      </xsl:when>
+	      <xsl:when test="$ln='medicalConditions' and @x_1='RA'">
+		<xsl:comment>@@ x_1="RA", whatever that means</xsl:comment>
+		<trans:medicalConditions><xsl:copy-of select="text()"/></trans:medicalConditions>
+	      </xsl:when>
+	      <xsl:when test="$ln='alive'">
+		<trans:alive><xsl:copy-of select="text()"/></trans:alive>
+	      </xsl:when>
+	      <xsl:when test="$ln='ageAtDeath'">
+		<trans:ageAtDeath><xsl:copy-of select="text()"/></trans:ageAtDeath>
+	      </xsl:when>
+	      <xsl:when test="$ln='cancer'">
+		<trans:cancer><xsl:copy-of select="text()"/></trans:cancer>
+	      </xsl:when>
+	      <xsl:when test="$ln='cancerType'">
+		<trans:cancerType><xsl:copy-of select="text()"/></trans:cancerType>
+	      </xsl:when>
+	      <xsl:when test="$ln='cancerTypeColorectalAge'">
+		<trans:cancerTypeColorectalAge><xsl:copy-of select="text()"/></trans:cancerTypeColorectalAge>
+	      </xsl:when>
+	      <xsl:when test="$ln='causeOfDeath'">
+		<trans:causeOfDeath><xsl:copy-of select="text()"/></trans:causeOfDeath>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Relation>
+      </trans:relation>
+    </rdf:Description>
+  </xsl:template>
+
+
+  <xsl:template match="Encounter">
+	<trans:Encounter>
+	  <trans:patient rdf:resource="#me"/>
+	  <trans:participant>
+	    <trans:Participation>
+	      <trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Patient"/>
+	      <trans:persona rdf:resource="#me"/>
+	    </trans:Participation>
+	  </trans:participant>
+	  <xsl:if test="physician">
+	    <trans:participant>
+	      <trans:Participation>
+		<trans:role rdf:resource="tag:eric@w3.org:2009/tmo/translator#Physician"/>
+		<trans:persona>
+		  <foaf:Person>
+		    <foaf:name><xsl:value-of select="physician"/></foaf:name>
+		  </foaf:Person>
+		</trans:persona>
+	      </trans:Participation>
+	    </trans:participant>
+	  </xsl:if>
+	  <xsl:for-each select="*">
+	    <xsl:variable name="ln" select="local-name()"/>
+	    <xsl:choose>
+	      <xsl:when test="$ln='dateOfEncounter'"><xsl:comment> indivo:Lab/dateMeasured </xsl:comment>
+		<trans:dateOfEncounter><xsl:copy-of select="text()"/></trans:dateOfEncounter>
+	      </xsl:when>
+	      <xsl:when test="$ln='physician'">
+		<trans:physician><xsl:copy-of select="text()"/></trans:physician>
+	      </xsl:when>
+	      <xsl:when test="$ln='referral'">
+		<trans:referral><xsl:copy-of select="text()"/></trans:referral>
+	      </xsl:when>
+	      <xsl:when test="$ln='medicalBaseline'">
+		<trans:medicalBaseline><xsl:copy-of select="text()"/></trans:medicalBaseline>
+	      </xsl:when>
+	      <xsl:when test="$ln='medicalTest'">
+		<trans:medicalTest><xsl:copy-of select="text()"/></trans:medicalTest>
+	      </xsl:when>
+	      <xsl:when test="$ln='reportedSymptoms'">
+		<trans:reportedSymptoms><xsl:copy-of select="text()"/></trans:reportedSymptoms>
+	      </xsl:when>
+	      <xsl:when test="$ln='workingDiagnosis'">
+		<trans:workingDiagnosis><xsl:copy-of select="text()"/></trans:workingDiagnosis>
+	      </xsl:when>
+	      <xsl:when test="$ln='physicalObservations'">
+		<trans:physicalObservations rdf:parseType="Resource">
+		  <xsl:for-each select="*">
+		    <xsl:variable name="obs" select="local-name()"/>
+		    <xsl:choose>
+		      <xsl:when test="$obs='bodyFat_x5'">
+			<trans:bodyFat_x5 rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='x6_bodyFat' and @units='percent'">
+				<trans:x6_bodyFat rdf:datatype="tag:eric@w3.org:2009/tmo/translator#percent"><xsl:copy-of select="text()"/></trans:x6_bodyFat>
+			      </xsl:when>
+			      <xsl:when test="$attr='weight' and @units='pounds'">
+				<trans:weight rdf:datatype="tag:eric@w3.org:2009/tmo/translator#pounds"><xsl:copy-of select="text()"/></trans:weight>
+			      </xsl:when>
+			      <xsl:when test="$attr='height' and @units='inches'">
+				<trans:height rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches"><xsl:copy-of select="text()"/></trans:height>
+			      </xsl:when>
+			      <xsl:when test="$attr='BMI' and @units='kg/m^2'">
+				<trans:BMI rdf:datatype="tag:eric@w3.org:2009/tmo/translator#kg/m^2"><xsl:copy-of select="text()"/></trans:BMI>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:bodyFat_x5>
+		      </xsl:when>
+		      <xsl:when test="$obs='waistToHips'">
+			<trans:waistToHips rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='waist' and @units='inches'">
+				<trans:waist rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches"><xsl:copy-of select="text()"/></trans:waist>
+			      </xsl:when>
+			      <xsl:when test="$attr='hips' and @units='inches'">
+				<trans:hips rdf:datatype="tag:eric@w3.org:2009/tmo/translator#inches"><xsl:copy-of select="text()"/></trans:hips>
+			      </xsl:when>
+			      <xsl:when test="$attr='waistToHips'">
+				<trans:waistToHips><xsl:copy-of select="text()"/></trans:waistToHips>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:waistToHips>
+		      </xsl:when>
+		      <xsl:when test="$obs='bloodPressure'">
+			<trans:bloodPressure rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='systolic' and @units='mmHg'">
+				<trans:systolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg"><xsl:copy-of select="text()"/></trans:systolic>
+			      </xsl:when>
+			      <xsl:when test="$attr='diastolic' and @units='mmHg'">
+				<trans:diastolic rdf:datatype="tag:eric@w3.org:2009/tmo/translator#mmHg"><xsl:copy-of select="text()"/></trans:diastolic>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:bloodPressure>
+		      </xsl:when>
+		      <xsl:when test="$obs='restingHeartRate'">
+			<trans:restingHeartRate rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='restingHeartRate' and @units='BPM'">
+				<trans:restingHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM"><xsl:copy-of select="text()"/></trans:restingHeartRate>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:restingHeartRate>
+		      </xsl:when>
+		      <xsl:when test="$obs='stamina'">
+			<trans:stamina rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='finalHeartRate' and @units='BPM'">
+				<trans:finalHeartRate rdf:datatype="tag:eric@w3.org:2009/tmo/translator#BPM"><xsl:copy-of select="text()"/></trans:finalHeartRate>
+			      </xsl:when>
+			      <xsl:when test="$attr='predictedVO2Max' and @units='ml/kg/min'">
+				<trans:predictedVO2Max rdf:datatype="tag:eric@w3.org:2009/tmo/translator#ml/kg/min"><xsl:copy-of select="text()"/></trans:predictedVO2Max>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:stamina>
+		      </xsl:when>
+		      <xsl:when test="$obs='lungFunction'">
+			<trans:lungFunction rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="attr" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$attr='PEFR' and @units='L/min'">
+				<trans:PEFR rdf:datatype="tag:eric@w3.org:2009/tmo/translator#L/min"><xsl:copy-of select="text()"/></trans:PEFR>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:lungFunction>
+		      </xsl:when>
+		    </xsl:choose>
+		  </xsl:for-each>
+		</trans:physicalObservations>
+	      </xsl:when>
+	      <xsl:when test="$ln='test' and @x_2">
+		<trans:test rdf:parseType="Resource"><xsl:comment> ++ indivo:Lab/labPanel/labText or indivo:Lab/labPanel </xsl:comment>
+		  <trans:testType>
+		    <xsl:attribute namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" name="resource">
+		      <xsl:value-of select="concat('tag:eric@w3.org:2009/tmo/translator#', @x_2)"/>
+		    </xsl:attribute>
+		  </trans:testType>
+		  <xsl:for-each select="*">
+		    <xsl:variable name="testy" select="local-name()"/>
+		    <xsl:choose>
+		      <xsl:when test="$testy='CPT'">
+			<trans:CPT><xsl:copy-of select="text()"/></trans:CPT>
+		      </xsl:when>
+		      <xsl:when test="$testy='testName'"><xsl:comment> ++ indivo:Lab/labPanel/labText/name </xsl:comment>
+			<trans:testName><xsl:copy-of select="text()"/></trans:testName>
+		      </xsl:when>
+		      <xsl:when test="$testy='referredTo'">
+			<trans:referredTo><xsl:copy-of select="text()"/></trans:referredTo>
+		      </xsl:when>
+		      <xsl:when test="$testy='referredClinic'">
+			<trans:referredClinic><xsl:copy-of select="text()"/></trans:referredClinic>
+		      </xsl:when>
+		      <xsl:when test="$testy='referredBy'">
+			<trans:referredBy><xsl:copy-of select="text()"/></trans:referredBy>
+		      </xsl:when>
+		      <xsl:when test="$testy='originalImage'">
+			<trans:originalImage><xsl:copy-of select="text()"/></trans:originalImage>
+		      </xsl:when>
+		      <xsl:when test="@CPT"> <!-- !! and [testCode] -->
+			<trans:testSet>
+			  <xsl:element name="{$testy}" namespace="tag:eric@w3.org:2009/tmo/translator#">
+			  <trans:x_3><xsl:value-of select="@CPT"/></trans:x_3>
+			  <xsl:apply-templates mode="testCodes"/>
+			  </xsl:element>
+			</trans:testSet>
+		      </xsl:when>
+		      <xsl:when test="$testy='result'">
+			<trans:result rdf:parseType="Resource">
+			  <xsl:for-each select="*">
+			    <xsl:variable name="leaf" select="local-name()"/>
+			    <xsl:choose>
+			      <xsl:when test="$leaf='value'">
+				<trans:value><xsl:copy-of select="text()"/></trans:value>
+			      </xsl:when>
+			      <xsl:when test="$leaf='rs_Number'">
+				<trans:rs_Number><xsl:copy-of select="text()"/></trans:rs_Number>
+			      </xsl:when>
+			      <xsl:when test="$leaf='variant_Synonyms'">
+				<trans:variant_Synonyms><xsl:copy-of select="text()"/></trans:variant_Synonyms>
+			      </xsl:when>
+			      <xsl:when test="$leaf='gene_Symbol'">
+				<trans:gene_Symbol><xsl:copy-of select="text()"/></trans:gene_Symbol>
+			      </xsl:when>
+			      <xsl:when test="$leaf='gene_Name'">
+				<trans:gene_Name><xsl:copy-of select="text()"/></trans:gene_Name>
+			      </xsl:when>
+			      <xsl:when test="$leaf='ENTREZ_Gene_ID'">
+				<trans:ENTREZ_Gene_ID><xsl:copy-of select="text()"/></trans:ENTREZ_Gene_ID>
+			      </xsl:when>
+			      <xsl:when test="$leaf='Accession_ID'">
+				<trans:Accession_ID><xsl:copy-of select="text()"/></trans:Accession_ID>
+			      </xsl:when>
+			      <xsl:when test="$leaf='Gene_Region'">
+				<trans:Gene_Region><xsl:copy-of select="text()"/></trans:Gene_Region>
+			      </xsl:when>
+			      <xsl:when test="$leaf='DNA_Change'">
+				<trans:DNA_Change><xsl:copy-of select="text()"/></trans:DNA_Change>
+			      </xsl:when>
+			      <xsl:when test="$leaf='DNA_Change_Type'">
+				<trans:DNA_Change_Type><xsl:copy-of select="text()"/></trans:DNA_Change_Type>
+			      </xsl:when>
+			      <xsl:when test="$leaf='Amino_Acid_Change'">
+				<trans:Amino_Acid_Change><xsl:copy-of select="text()"/></trans:Amino_Acid_Change>
+			      </xsl:when>
+			      <xsl:when test="$leaf='Amino_Acid_Change_Type'">
+				<trans:Amino_Acid_Change_Type><xsl:copy-of select="text()"/></trans:Amino_Acid_Change_Type>
+			      </xsl:when>
+			      <xsl:otherwise>
+				<xsl:apply-templates mode="pred" select="."/>
+			      </xsl:otherwise>
+			    </xsl:choose>
+			  </xsl:for-each>
+			</trans:result>
+		      </xsl:when>
+		      <xsl:when test="$testy='physicianNotes'">
+			<trans:physicianNotes><xsl:copy-of select="text()"/></trans:physicianNotes>
+		      </xsl:when>
+		      <xsl:otherwise>
+			<xsl:apply-templates mode="pred" select="."/>
+		      </xsl:otherwise>
+		    </xsl:choose>
+		  </xsl:for-each>
+		</trans:test>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates mode="pred" select="."/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:for-each>
+	</trans:Encounter>
+  </xsl:template>
+
+
+  <xsl:template mode="testCodes" match="testCode">
+    <trans:testCode rdf:parseType="Resource">
+      <trans:x_3><xsl:value-of select="@x_3"/></trans:x_3>
+      <xsl:for-each select="*">
+	<xsl:variable name="ln" select="local-name()"/>
+	<xsl:choose>
+	  <xsl:when test="$ln='CPT'">
+	    <trans:CPT><xsl:copy-of select="text()"/></trans:CPT>
+	  </xsl:when>
+	  <xsl:when test="$ln='LOINC'">
+	    <trans:LOINC><xsl:copy-of select="text()"/></trans:LOINC>
+	  </xsl:when>
+	  <xsl:when test="$ln='description'">
+	    <trans:description><xsl:copy-of select="text()"/></trans:description>
+	  </xsl:when>
+	  <xsl:when test="$ln='value'">
+	    <trans:value><xsl:copy-of select="text()"/></trans:value>
+	  </xsl:when>
+	  <xsl:when test="$ln='units'">
+	    <trans:units><xsl:copy-of select="text()"/></trans:units>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode="pred" select="."/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:for-each>
+    </trans:testCode>
+  </xsl:template>
+
+
+  <!-- note misparses -->
+
+  <xsl:template mode="pred" match="*">
+    <trans:misParse>
+      <xsl:apply-templates mode="misparse" select="."/>
+    </trans:misParse>
+  </xsl:template>
+
+  <xsl:template match="*">
+    <rdf:Description>
+      <trans:misParse>
+	<xsl:apply-templates mode="misparse" select="."/>
+      </trans:misParse>
+    </rdf:Description>
+  </xsl:template>
+
+  <xsl:template mode="misparse" match="@*">
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="local-name()"/>
+    <xsl:text>="</xsl:text>
+    <xsl:value-of select="."/>
+    <xsl:text>"</xsl:text>
+  </xsl:template>
+
+  <xsl:template mode="misparse" match="text()">
+    <xsl:copy-of select="."/>
+  </xsl:template>
+
+  <xsl:template mode="misparse" match="*">
+    <xsl:variable name="ln" select="local-name()"/>
+      <xsl:choose>
+	<xsl:when test="count(*)=0">
+	  <xsl:text>&lt;</xsl:text>
+	  <xsl:value-of select="$ln"/>
+	  <xsl:apply-templates mode="misparse" select="@*"/>
+	  <xsl:text>&gt;</xsl:text>
+	  <xsl:copy-of select="text()"/>
+	  <xsl:text>&lt;/</xsl:text>
+	  <xsl:value-of select="$ln"/>
+	  <xsl:text>&gt;</xsl:text>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:text>&lt;</xsl:text>
+	  <xsl:value-of select="$ln"/>
+	  <xsl:apply-templates mode="misparse" select="@*"/>
+	  <xsl:text>&gt;</xsl:text>
+	  <xsl:apply-templates mode="misparse" select="node()"/>
+	  <xsl:text>&lt;/</xsl:text>
+	  <xsl:value-of select="$ln"/>
+	  <xsl:text>&gt;</xsl:text>
+	</xsl:otherwise>
+      </xsl:choose>
+  </xsl:template>
+
+</xsl:stylesheet>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntheticPatients/Patrdf2html.xsl	Tue Jul 06 14:06:18 2010 -0400
@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Id: Patrdf2html.xsl,v 1.19 2009/11/30 03:42:27 eric Exp $ -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+version="2.0" xmlns='http://www.w3.org/1999/xhtml'
+xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
+xmlns:html='http://www.w3.org/1999/xhtml'
+xmlns:pim='tag:eric@w3.org:2009/pim/basic'
+xmlns:foaf="http://xmlns.com/foaf/0.1/"
+xmlns:trans='tag:eric@w3.org:2009/tmo/translator#'
+xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+xmlns:indivo="http://indivo.org/vocab/xml/documents#"
+xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
+exclude-result-prefixes="html xsd rdf pim foaf trans indivo geo vcard">
+
+<xsl:output method="html" indent='yes' encoding='utf-8'
+omit-xml-declaration="no"	    
+media-type="text/html" version="4.0"/>
+
+  <xsl:template match="rdf:RDF">
+<xsl:text>
+</xsl:text><xsl:comment> &#x24;Id&#x24; </xsl:comment><xsl:text>
+</xsl:text>
+    <html>
+      <head>
+	<title><xsl:value-of select="/rdf:RDF/foaf:Person/foaf:name"/></title>
+  <style type="text/css" media="screen">
+/*<![CDATA[*/
+
+table {
+  margin: 1em 1em 1em 2em;
+  background: whitesmoke;
+  border-collapse: collapse;
+}
+table th, table.pretty td {
+  border: 1px silver solid;
+  padding: 0.2em;
+}
+table th {
+  background: gainsboro;
+  text-align: left;
+}
+table caption {
+  margin-left: inherit;
+  background: gainsboro;
+  margin: 1em 0em -.9em 0em;
+  text-align: left;
+  padding-bottom: 1px;
+}
+
+.baddesc {
+	    border-style:solid;
+	    border-color:#f00 #00f;
+	  }
+.badpred {
+	    border-style:solid;
+	    border-color:#00f #f00;
+	  }
+/*]]>*/
+    </style>
+      </head>
+      <body>
+	<h1><xsl:value-of select="/rdf:RDF/foaf:Person/foaf:name"/></h1>
+	<div>
+	  <table><caption>trans:Prescriptions</caption>
+	  <tr><th>ontology</th><th>NDC</th><th>genericName</th><th>strength</th><th>unit</th><th>packSize</th><th>packType</th><th>routeName</th><th>dosageName</th><th>frequency</th><th>refill</th><th>daysToTake</th><th>prescribedBy</th><th>datePrescribed</th><th>datePrescriptionEnded</th><th>...</th></tr>
+	  <xsl:apply-templates mode="prescriptions" select="trans:Drug"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:hasConditions</caption>
+	  <tr><th>diagnosedWith</th><th>ICD9</th><th>dateDiagnosed</th><th>diagnosedBy</th><th>...</th></tr>
+	  <xsl:apply-templates mode="condition" select="rdf:Description/trans:hasCondition"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Procedures</caption>
+	  <tr><th>procedureName</th><th>ICD9</th><th>procedureDate</th><th>procedureNotes</th><th>referredBy</th><th>referredInstitution</th></tr>
+	  <xsl:apply-templates mode="procedure" select="trans:Procedure"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Allergies</caption>
+	  <tr><th>type</th><th>list</th></tr>
+	  <xsl:apply-templates mode="allergy" select="rdf:Description/trans:hasAllergy"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Immunizations</caption>
+	  <tr><th>name</th><th>date</th><th>method</th><th>compound</th><th>stage</th><th>administeredBy</th><th>date</th><th>method</th><th>compound</th><th>stage</th><th>administeredBy</th></tr>
+	  <xsl:apply-templates mode="immunization" select="rdf:Description/trans:immunization"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Behavoirs</caption>
+	  <tr><th>name</th><th>frequency</th><th>units</th><th>quantity</th><th>averageDuration</th><th>packYears</th><th>history</th><th>fruitVegetablesRating</th><th>wholeGrainsRating</th><th>dairyRating</th><th>proteinRating</th><th>fatsRating</th><th>junkFoodRating</th><th>date</th></tr>
+	  <xsl:apply-templates mode="behavoir" select="rdf:Description/trans:behavoir"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Relations</caption>
+	  <tr><th>relation</th><th>fname</th><th>sex</th><th>medicalConditions x_1="RA"</th><th>alive</th><th>ageAtDeath</th><th>cancer</th><th>medicalConditions x_1="RA"</th><th>cancerType</th><th>cancerTypeColorectalAge</th><th>causeOfDeath</th></tr>
+	  <xsl:apply-templates mode="relation" select="rdf:Description/trans:relation"/>
+	  </table>
+	</div>
+
+	<div>
+	  <table><caption>trans:Encounters</caption>
+	  <thead>
+	    <tr><th>dateOfEncounter</th><th>physician</th><th>referral</th><th>medicalBaseline</th><th>medicalTest</th><th>reportedSymptoms</th><th>workingDiagnosis</th></tr>
+	  </thead>
+	  <xsl:apply-templates mode="encounter" select="trans:Encounter"/>
+	  </table>
+	</div>
+
+	<xsl:apply-templates/>
+      </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="trans:Practice">
+    <div class="practice">
+      <h2>Practice : <xsl:value-of select="trans:practiceName"/></h2>
+      <xsl:apply-templates select="pim:addr"/>
+      <xsl:apply-templates select="trans:primaryCarePhysician"/>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="pim:Address">
+    <table><caption>pim:Address</caption>
+      <tr><th>street</th><th>postcode</th><th>local</th><th>region</th><th></th><th>TZ</th><th>phone</th></tr>
+      <tr><td><xsl:value-of select="vcard:Street"/></td><td><xsl:value-of select="vcard:Pcode"/></td><td><xsl:value-of select="vcard:Locality"/></td><td><xsl:value-of select="vcard:Region"/></td><td><xsl:value-of select="vcard:Country"/></td><td><xsl:value-of select="pim:timeZone"/></td><td><xsl:value-of select="foaf:phone"/></td></tr>
+    </table>
+  </xsl:template>
+
+  <xsl:template match="foaf:Person">
+    <div>
+      <table><caption>foaf:Person</caption>
+	<tr><th>name</th><th>given</th><th>fam</th><th>license</th><th>gender</th></tr>
+	<tr><td><xsl:value-of select="foaf:name"/></td><td><xsl:value-of select="foaf:givenName"/></td><td><xsl:value-of select="foaf:familyName"/></td><td><xsl:value-of select="trans:license"/></td><td><xsl:value-of select="foaf:gender"/></td></tr>
+      </table>
+      <xsl:apply-templates select="foaf:address"/>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="trans:Demographics">
+    <div>
+      <table><caption>trans:Demographics</caption>
+	<tr><th>dateOfBirth</th><th>dateOfDeath</th><th>gender</th><th>ethnicity</th><th>language</th><th>maritalStatus</th><th>employmentStatus</th><th>employmentIndustry</th><th>occupation</th><th>religion</th><th>income</th><th>highestEducation</th><th>organDonor</th></tr>
+	<tr><td><xsl:value-of select="indivo:dateOfBirth"/></td><td><xsl:value-of select="indivo:dateOfDeath"/></td><td><xsl:value-of select="indivo:gender"/></td><td><xsl:value-of select="indivo:ethnicity"/></td><td><xsl:value-of select="indivo:language"/></td><td><xsl:value-of select="indivo:maritalStatus"/></td><td><xsl:value-of select="indivo:employmentStatus"/></td><td><xsl:value-of select="indivo:employmentIndustry"/></td><td><xsl:value-of select="indivo:occupation"/></td><td><xsl:value-of select="indivo:religion"/></td><td><xsl:value-of select="indivo:income"/></td><td><xsl:value-of select="indivo:highestEducation"/></td><td><xsl:value-of select="indivo:organDonor"/></td></tr>
+      </table>
+      <xsl:apply-templates select="foaf:address"/>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="trans:Drug"/>
+
+  <xsl:template mode="prescriptions" match="*">
+    <tr><td><xsl:value-of select="trans:ontology"/></td><td><xsl:value-of select="trans:NDC"/></td><td><xsl:value-of select="trans:genericName"/></td><td><xsl:value-of select="trans:strength"/></td><td><xsl:value-of select="trans:unit"/></td><td><xsl:value-of select="trans:packSize"/></td><td><xsl:value-of select="trans:packType"/></td><td><xsl:value-of select="trans:routeName"/></td><td><xsl:value-of select="trans:dosageName"/></td><td><xsl:value-of select="trans:frequency"/></td><td><xsl:value-of select="trans:refill"/></td><td><xsl:value-of select="trans:daysToTake"/></td><td><xsl:value-of select="trans:prescribedBy"/></td><td><xsl:value-of select="indivo:prescribedOn"/></td><td><xsl:value-of select="trans:datePrescriptionEnded"/></td><td><xsl:value-of select="trans:physicianNotes"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="rdf:Description/trans:hasCondition"/>
+
+  <xsl:template mode="condition" match="trans:Condition">
+    <tr><td><xsl:value-of select="trans:diagnosedWith"/></td><td><xsl:value-of select="trans:ICD9"/></td><td><xsl:value-of select="trans:dateDiagnosed"/></td><td><xsl:value-of select="indivo:diagnosedBy"/></td><td><xsl:value-of select="trans:physicianNotes"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="trans:Procedure"/>
+
+  <xsl:template mode="procedure" match="*">
+    <tr><td><xsl:value-of select="trans:procedureName"/></td><td><xsl:value-of select="trans:ICD9procedure"/></td><td><xsl:value-of select="indivo:datePerformed"/></td><td><xsl:value-of select="trans:procedureNotes"/></td><td><xsl:value-of select="trans:referredBy"/></td><td><xsl:value-of select="trans:referredInstitution"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="rdf:Description/trans:hasAllergy"/>
+
+  <xsl:template mode="allergy" match="trans:Allergy">
+    <tr><td><xsl:value-of select="trans:allergyType"/></td><td><xsl:value-of select="trans:allergyList"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="rdf:Description/trans:immunization"/>
+
+  <xsl:template mode="immunization" match="trans:Immunization">
+    <tr><td><xsl:value-of select="trans:diseaseName"/></td><td><xsl:value-of select="indivo:dateAdministered"/></td><td><xsl:value-of select="trans:method"/></td><td><xsl:value-of select="trans:compound"/></td><td><xsl:value-of select="trans:stage"/></td><td><xsl:value-of select="trans:administeredBy"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="rdf:Description/trans:behavoir"/>
+
+  <xsl:template mode="behavoir" match="trans:Behavoir">
+    <tr><td><xsl:value-of select="trans:behavoirName"/></td><td><xsl:value-of select="trans:frequency"/></td><td><xsl:value-of select="trans:units"/></td><td><xsl:value-of select="trans:quantity"/></td><td><xsl:value-of select="trans:averageDuration"/></td><td><xsl:value-of select="trans:packYears"/></td><td><xsl:value-of select="trans:history"/></td><td><xsl:value-of select="trans:fruitVegetablesRating"/></td><td><xsl:value-of select="trans:wholeGrainsRating"/></td><td><xsl:value-of select="trans:dairyRating"/></td><td><xsl:value-of select="trans:proteinRating"/></td><td><xsl:value-of select="trans:fatsRating"/></td><td><xsl:value-of select="trans:junkFoodRating"/></td><td><xsl:value-of select="trans:date"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="rdf:Description/trans:relation"/>
+
+  <xsl:template mode="relation" match="trans:Relation">
+    <tr><td><xsl:value-of select="trans:relation"/></td><td><xsl:value-of select="trans:fname"/></td><td><xsl:value-of select="trans:sex"/></td><td><xsl:value-of select="trans:medicalConditions"/></td><td><xsl:value-of select="trans:alive"/></td><td><xsl:value-of select="trans:ageAtDeath"/></td><td><xsl:value-of select="trans:cancer"/></td><td><xsl:value-of select="trans:cancerType"/></td><td><xsl:value-of select="trans:cancerTypeColorectalAge"/></td><td><xsl:value-of select="trans:causeOfDeath"/></td></tr>
+  </xsl:template>
+
+
+  <xsl:template match="trans:Encounter"/>
+
+  <xsl:template mode="encounter" match="*">
+    <tbody>
+    <tr><td><a href="" title="expand text" onclick="t= this.parentNode.parentNode.parentNode.nextSibling.style; t.display= (t.display== 'none' ? 'table-row-group' : 'none'); return false;"><xsl:value-of select="trans:dateOfEncounter"/></a></td><td><xsl:value-of select="trans:physician"/></td><td><xsl:value-of select="trans:referral"/></td><td><xsl:value-of select="trans:medicalBaseline"/></td><td><xsl:value-of select="trans:medicalTest"/></td><td><xsl:value-of select="trans:reportedSymptoms"/></td><td><xsl:value-of select="trans:workingDiagnosis"/></td></tr>
+    </tbody>
+    <xsl:if test="   trans:physicalObservations/trans:bodyFat_x5
+		  or trans:physicalObservations/trans:waistToHips
+		  or trans:physicalObservations/trans:bloodPressure
+		  or trans:physicalObservations/trans:restingHeartRate
+		  or trans:physicalObservations/trans:stamina
+		  or trans:physicalObservations/trans:lungFunction
+		  or trans:test">
+    <tbody style="display:none;">
+    <xsl:apply-templates mode="bodyfat" select="trans:physicalObservations/trans:bodyFat_x5"/>
+    <xsl:apply-templates mode="waistToHips" select="trans:physicalObservations/trans:waistToHips"/>
+    <xsl:apply-templates mode="bloodPressure" select="trans:physicalObservations/trans:bloodPressure"/>
+    <xsl:apply-templates mode="restingHeartRate" select="trans:physicalObservations/trans:restingHeartRate"/>
+    <xsl:apply-templates mode="stamina" select="trans:physicalObservations/trans:stamina"/>
+    <xsl:apply-templates mode="lungFunction" select="trans:physicalObservations/trans:lungFunction"/>
+	<!-- tr><td><xsl:value-of select="trans:physicalObservations"/></td><td><xsl:value-of select="trans:bodyFat_x5"/></td><td><xsl:value-of select="trans:waistToHips"/></td><td><xsl:value-of select="trans:bloodPressure"/></td><td><xsl:value-of select="trans:restingHeartRate"/></td><td><xsl:value-of select="trans:stamina"/></td><td><xsl:value-of select="trans:lungFunction"/></td></tr -->
+	
+    <xsl:apply-templates mode="test" select="trans:test"/>
+    </tbody>
+    </xsl:if>
+  </xsl:template>
+
+
+  <xsl:template mode="bodyfat" match="*">
+    <tr><th>bodyFat_x5</th><td colspan="7">
+    <table>
+      <tr><th>x6_bodyFat units="percent"</th><th>weight units="pounds"</th><th>height units="inches"</th><th>BMI units="kg/m^2"</th></tr>
+      <tr><td><xsl:value-of select="trans:x6_bodyFat"/></td><td><xsl:value-of select="trans:weight"/></td><td><xsl:value-of select="trans:height"/></td><td><xsl:value-of select="trans:BMI"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="waistToHips" match="*">
+    <tr><th>waistToHips</th><td colspan="7">
+    <table>
+      <tr><th>waist units="inches"</th><th>hips units="inches"</th><th>waistToHips</th></tr>
+      <tr><td><xsl:value-of select="trans:waist"/></td><td><xsl:value-of select="trans:hips"/></td><td><xsl:value-of select="trans:waistToHips"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="bloodPressure" match="*">
+    <tr><th>bloodPressure</th><td colspan="7">
+    <table>
+      <tr><th>systolic units="mmHg"</th><th>diastolic units="mmHg"</th></tr>
+      <tr><td><xsl:value-of select="trans:systolic"/></td><td><xsl:value-of select="trans:diastolic"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="restingHeartRate" match="*">
+    <tr><th>restingHeartRate</th><td colspan="7">
+    <table>
+      <tr><th>restingHeartRate units="BPM"</th></tr>
+      <tr><td><xsl:value-of select="trans:restingHeartRate"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="stamina" match="*">
+    <tr><th>stamina</th><td colspan="7">
+    <table>
+      <tr><th>finalHeartRate units="BPM"</th><th>predictedVO2Max units="ml/kg/min"</th></tr>
+      <tr><td><xsl:value-of select="trans:finalHeartRate"/></td><td><xsl:value-of select="trans:physicalObservations/trans:stamina/trans:predictedVO2Max"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+  <xsl:template mode="lungFunction" match="*">
+    <tr><th>lungFunction</th><td colspan="7">
+    <table>
+      <tr><th>PEFR units="L/min"</th></tr>
+      <tr><td><xsl:value-of select="trans:PEFR"/></td></tr>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="test" match="*">
+    <tr><th>test</th><td colspan="7">
+    <table>
+      <tr><th>CPT</th><th>testName</th><th>referredTo</th><th>referredClinic</th><th>referredBy</th><th>originalImage</th><th>CompleteBloodCount CPT="85025"</th><th>...</th></tr>
+      <tr><td><xsl:value-of select="trans:CPT"/></td><td><xsl:value-of select="trans:testName"/></td><td><xsl:value-of select="trans:referredTo"/></td><td><xsl:value-of select="trans:referredClinic"/></td><td><xsl:value-of select="trans:referredBy"/></td><td><xsl:value-of select="trans:originalImage"/></td><td><xsl:value-of select="trans:CompleteBloodCount"/></td><td><xsl:value-of select="trans:physicianNotes"/></td></tr>
+      <xsl:apply-templates mode="testSet" select="trans:testSet/*"/>
+
+      <xsl:if test="trans:result">
+	<tr><th>trans:result</th><td colspan="6">
+	<table><caption>trans:result</caption>
+	<tr><th>value</th><th>rs_Number</th><th>variant_Synonyms</th><th>gene_Symbol</th><th>gene_Name</th><th>ENTREZ_Gene_ID</th><th>Accession_ID</th><th>Gene_Region</th><th>DNA_Change</th><th>DNA_Change_Type</th><th>Amino_Acid_Change</th><th>Amino_Acid_Change_Type</th></tr>
+	<xsl:apply-templates mode="results" select="trans:result"/>
+	</table>
+	</td></tr>
+      </xsl:if>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+
+  <xsl:template mode="testSet" match="*">
+    <xsl:variable name="testType" select="local-name()"/>
+    <tr><th><xsl:value-of select="trans:x_3"/></th><td colspan="6">
+    <table><caption><xsl:value-of select="$testType"/></caption>
+    <tr><th>CPT</th><th>LOINC</th><th>description</th><th>value</th><th>units</th></tr>
+    <xsl:apply-templates mode="testCodes" select="trans:testCode"/>
+    </table>
+    </td></tr>
+  </xsl:template>
+
+  <xsl:template mode="testCodes" match="*">
+    <tr><td><xsl:value-of select="trans:CPT"/></td><td><xsl:value-of select="trans:LOINC"/></td><td><xsl:value-of select="trans:description"/></td><td><xsl:value-of select="trans:value"/></td><td><xsl:value-of select="trans:units"/></td></tr>
+  </xsl:template>
+
+  <xsl:template mode="results" match="*">
+    <tr><td><xsl:value-of select="trans:value"/></td><td><xsl:value-of select="trans:rs_Number"/></td><td><xsl:value-of select="trans:variant_Synonyms"/></td><td><xsl:value-of select="trans:gene_Symbol"/></td><td><xsl:value-of select="trans:gene_Name"/></td><td><xsl:value-of select="trans:ENTREZ_Gene_ID"/></td><td><xsl:value-of select="trans:Accession_ID"/></td><td><xsl:value-of select="trans:Gene_Region"/></td><td><xsl:value-of select="trans:DNA_Change"/></td><td><xsl:value-of select="trans:DNA_Change_Type"/></td><td><xsl:value-of select="trans:Amino_Acid_Change"/></td><td><xsl:value-of select="trans:Amino_Acid_Change_Type"/></td></tr>
+  </xsl:template>
+
+
+  <!-- render misparses in pres -->
+
+  <xsl:template match="rdf:Description/trans:misParse">
+    <pre class="baddesc">
+      <xsl:copy-of select="."/>
+    </pre>
+  </xsl:template>
+
+  <xsl:template match="trans:misParse">
+    <pre class="badpred">
+      <xsl:copy-of select="."/>
+    </pre>
+  </xsl:template>
+
+</xsl:stylesheet>