Index: /ccr2ccd-xslt/trunk/gpl/PAT_100840_CCD.xml
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/PAT_100840_CCD.xml	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/PAT_100840_CCD.xml	(revision 981)
@@ -0,0 +1,965 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd" classCode="DOCCLIN" moodCode="EVN">
+<realmCode code="US"/>
+<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+<templateId root="2.16.840.1.113883.10.20.1"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/>
+<templateId root="2.16.840.1.113883.10.20.3"/>
+<templateId root="2.16.840.1.113883.3.88.11.32.1"/>
+<id root="0665fe32-df85-40c6-a3db-185fee18efab"/>
+<code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of episode note"/>
+<title>Continuity of Care Document from ZZ ALBANY-PRRTP</title>
+<effectiveTime value="20107562725+0000"/>
+<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
+<languageCode code="en-US"/>
+<recordTarget typeCode="RCT" contextControlCode="OP">
+<patientRole>
+<id extension="002030004" root="SSN"/>
+<addr use="H">
+<streetAddressLine/>
+<city/>
+<state/>
+<postalCode/>
+</addr>
+<telecom/>
+<patient>
+<name>
+<given>JODY</given>
+<given>JEAN</given>
+<family>JONES</family>
+</name>
+<administrativeGenderCode displayName="FEMALE" code="F" codeSystemName="HL7 AdministrativeGender" codeSystem=""/>
+<birthTime value="1945111200"/>
+</patient>
+</patientRole>
+</recordTarget>
+<author>
+<time value="20107562725"/>
+<assignedAuthor>
+<id extension="ACTORPROVIDER_10000000020" root="CCRActorID"/>
+<addr use="WP">
+<streetAddressLine>123 MAIN</streetAddressLine>
+<city>ALBANY</city>
+<state>NY</state>
+<postalCode>12180</postalCode>
+</addr>
+<telecom use="WP" value="tel:+1-509.989.3732"/>
+<assignedPerson>
+<name>
+<given>SYSTEM</given>
+<family>MANAGER</family>
+</name>
+</assignedPerson>
+</assignedAuthor>
+</author>
+<custodian>
+<assignedCustodian>
+<representedCustodianOrganization>
+<id extension="ACTORORGANIZATION_1" root="CCRActorID"/>
+<name>ZZ ALBANY-PRRTP</name>
+<telecom/>
+<addr use="WP">
+<streetAddressLine>123 MAIN</streetAddressLine>
+<city>ALBANY</city>
+<state>NEW YORK</state>
+<postalCode>12180</postalCode>
+</addr>
+</representedCustodianOrganization>
+</assignedCustodian>
+</custodian>
+<documentationOf>
+<serviceEvent classCode="PCPR">
+<effectiveTime>
+<low value="201073"/>
+<high value="201074"/>
+</effectiveTime>
+</serviceEvent>
+</documentationOf>
+<component>
+<structuredBody>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.13"/>
+<code code="48764-5" codeSystem="2.16.840.1.113883.6.1"/>
+<title>Purpose</title>
+<text>CEND PHR</text>
+</section>
+</component>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
+<templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
+<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/>
+<title>Problems</title>
+<text>
+<table>
+<tbody>
+<tr>
+<th>Type</th>
+<th>Date</th>
+<th>Code</th>
+<th>Description</th>
+<th>Status</th>
+<th>Source</th>
+</tr>
+<tr>
+<td>Problem</td>
+<td>
+<table>
+<tbody>
+<tr xmlns="">
+<td>Jul 3, 2010</td>
+</tr>
+</tbody>
+</table>
+</td>
+<td>250.00 (ICD9CM)
+		</td>
+<td ID="PROBLEM1">Diabetes Mellitus</td>
+<td>Active/Chronic</td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+<tr>
+<td>Problem</td>
+<td>
+<table>
+<tbody>
+<tr xmlns="">
+<td>Jul 4, 2010</td>
+</tr>
+</tbody>
+</table>
+</td>
+<td>428.0 (ICD9CM)
+		</td>
+<td ID="PROBLEM2">Congestive Heart Failure</td>
+<td>Active/Chronic</td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+<tr>
+<td>Problem</td>
+<td>
+<table>
+<tbody>
+<tr xmlns="">
+<td>Jul 4, 2010</td>
+</tr>
+</tbody>
+</table>
+</td>
+<td>412. (ICD9CM)
+		</td>
+<td ID="PROBLEM3">Old Myocardial Infarction</td>
+<td>Inactive/Chronic</td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+</tbody>
+</table>
+</text>
+<entry typeCode="DRIV">
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.27"/>
+<id root="PROBLEM1" extension="CCRObjectID"/>
+<code nullFlavor="NA"/>
+<performer typeCode="PRF">
+<assignedEntity>
+<id extension="ACTORPROVIDER_10000000020" root="CCRActorID"/>
+<addr use="WP">
+<streetAddressLine>123 MAIN</streetAddressLine>
+<city>ALBANY</city>
+<state>NY</state>
+<postalCode>12180</postalCode>
+</addr>
+<telecom use="WP" value="tel:+1-509.989.3732"/>
+<assignedPerson>
+<name>
+<given>SYSTEM</given>
+<family>MANAGER</family>
+</name>
+</assignedPerson>
+</assignedEntity>
+</performer>
+<entryRelationship typeCode="SUBJ">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+<id root="PROBLEM1" extension="CCRObjectID"/>
+<code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+<text>
+<reference value="#PROBLEM1"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value displayName="Diabetes Mellitus" code="250.00" codeSystemName="ICD9CM" codeSystem=""/>
+<entryRelationship typeCode="REFR">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.50"/>
+<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+<statusCode code="completed"/>
+<value>
+<originalText>Active/Chronic</originalText>
+</value>
+</observation>
+</entryRelationship>
+</observation>
+</entryRelationship>
+</act>
+</entry>
+<entry typeCode="DRIV">
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.27"/>
+<id root="PROBLEM2" extension="CCRObjectID"/>
+<code nullFlavor="NA"/>
+<performer typeCode="PRF">
+<assignedEntity>
+<id extension="ACTORPROVIDER_10000000020" root="CCRActorID"/>
+<addr use="WP">
+<streetAddressLine>123 MAIN</streetAddressLine>
+<city>ALBANY</city>
+<state>NY</state>
+<postalCode>12180</postalCode>
+</addr>
+<telecom use="WP" value="tel:+1-509.989.3732"/>
+<assignedPerson>
+<name>
+<given>SYSTEM</given>
+<family>MANAGER</family>
+</name>
+</assignedPerson>
+</assignedEntity>
+</performer>
+<entryRelationship typeCode="SUBJ">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+<id root="PROBLEM2" extension="CCRObjectID"/>
+<code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+<text>
+<reference value="#PROBLEM2"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201074"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value displayName="Congestive Heart Failure" code="428.0" codeSystemName="ICD9CM" codeSystem=""/>
+<entryRelationship typeCode="REFR">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.50"/>
+<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+<statusCode code="completed"/>
+<value>
+<originalText>Active/Chronic</originalText>
+</value>
+</observation>
+</entryRelationship>
+</observation>
+</entryRelationship>
+</act>
+</entry>
+<entry typeCode="DRIV">
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.27"/>
+<id root="PROBLEM3" extension="CCRObjectID"/>
+<code nullFlavor="NA"/>
+<performer typeCode="PRF">
+<assignedEntity>
+<id extension="ACTORPROVIDER_10000000020" root="CCRActorID"/>
+<addr use="WP">
+<streetAddressLine>123 MAIN</streetAddressLine>
+<city>ALBANY</city>
+<state>NY</state>
+<postalCode>12180</postalCode>
+</addr>
+<telecom use="WP" value="tel:+1-509.989.3732"/>
+<assignedPerson>
+<name>
+<given>SYSTEM</given>
+<family>MANAGER</family>
+</name>
+</assignedPerson>
+</assignedEntity>
+</performer>
+<entryRelationship typeCode="SUBJ">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+<id root="PROBLEM3" extension="CCRObjectID"/>
+<code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+<text>
+<reference value="#PROBLEM3"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201074"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value displayName="Old Myocardial Infarction" code="412." codeSystemName="ICD9CM" codeSystem=""/>
+<entryRelationship typeCode="REFR">
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.50"/>
+<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+<statusCode code="completed"/>
+<value>
+<originalText>Inactive/Chronic</originalText>
+</value>
+</observation>
+</entryRelationship>
+</observation>
+</entryRelationship>
+</act>
+</entry>
+</section>
+</component>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP/C83"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19" assigningAuthorityName="IHE PCC"/>
+<templateId root="2.16.840.1.113883.10.20.1.8" assigningAuthorityName="HL7 CCD"/>
+<code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
+<title>Medications</title>
+<text>
+<table>
+<tbody>
+<tr>
+<th>Medication</th>
+<th>Date</th>
+<th>Status</th>
+<th>Form</th>
+<th>Strength</th>
+<th>Quantity</th>
+<th>SIG</th>
+<th>Indications</th>
+<th>Instruction</th>
+<th>Refills</th>
+<th>Source</th>
+</tr>
+<tr>
+<td>ASPIRIN 81MG EC TAB</td>
+<td/>
+<td>ACTIVE</td>
+<td>TAB,EC</td>
+<td>81 MG</td>
+<td>90 TAB</td>
+<td>81 MG ORAL (BY MOUTH) QD</td>
+<td>
+<br/>
+</td>
+<td/>
+<td>3 </td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+<tr>
+<td>ATENOLOL 100MG TAB</td>
+<td/>
+<td>ACTIVE</td>
+<td>TAB</td>
+<td>100 MG</td>
+<td>90 TAB</td>
+<td>100 MG ORAL (BY MOUTH) QD</td>
+<td>
+<br/>
+</td>
+<td/>
+<td>3 </td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+<tr>
+<td>LISINOPRIL 20MG TAB</td>
+<td/>
+<td>ACTIVE</td>
+<td>TAB</td>
+<td>20 MG</td>
+<td>90 TAB</td>
+<td>20 MG ORAL (BY MOUTH) QAM</td>
+<td>
+<br/>
+</td>
+<td/>
+<td>3 </td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+</tbody>
+</table>
+</text>
+<entry typeCode="DRIV">
+<substanceAdministration classCode="SBADM" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+<id root="MED1" extension="CCRObjectID"/>
+<statusCode code="completed"/>
+<effectiveTime xsi:type="IVL_TS">
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>
+<doseQuantity>
+<low value="81" unit=""/>
+<high value="81" unit=""/>
+</doseQuantity>
+<consumable>
+<manufacturedProduct>
+<templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+<manufacturedMaterial>
+<code displayName="ASPIRIN 81MG EC TAB" code="308416" codeSystemName="RXNORM" codeSystem=""/>
+<name/>
+</manufacturedMaterial>
+</manufacturedProduct>
+</consumable>
+</substanceAdministration>
+</entry>
+<entry typeCode="DRIV">
+<substanceAdministration classCode="SBADM" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+<id root="MED2" extension="CCRObjectID"/>
+<statusCode code="completed"/>
+<effectiveTime xsi:type="IVL_TS">
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>
+<doseQuantity>
+<low value="100" unit=""/>
+<high value="100" unit=""/>
+</doseQuantity>
+<consumable>
+<manufacturedProduct>
+<templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+<manufacturedMaterial>
+<code displayName="ATENOLOL 100MG TAB" code="197379" codeSystemName="RXNORM" codeSystem=""/>
+<name/>
+</manufacturedMaterial>
+</manufacturedProduct>
+</consumable>
+</substanceAdministration>
+</entry>
+<entry typeCode="DRIV">
+<substanceAdministration classCode="SBADM" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+<id root="MED3" extension="CCRObjectID"/>
+<statusCode code="completed"/>
+<effectiveTime xsi:type="IVL_TS">
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>
+<doseQuantity>
+<low value="20" unit=""/>
+<high value="20" unit=""/>
+</doseQuantity>
+<consumable>
+<manufacturedProduct>
+<templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+<manufacturedMaterial>
+<code displayName="LISINOPRIL 20MG TAB" code="314077" codeSystemName="RXNORM" codeSystem=""/>
+<name/>
+</manufacturedMaterial>
+</manufacturedProduct>
+</consumable>
+</substanceAdministration>
+</entry>
+</section>
+</component>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.16"/>
+<code code="8716-3" codeSystem="2.16.840.1.113883.6.1"/>
+<title>Vital Signs</title>
+<text>
+<table>
+<tbody>
+<tr>
+<th>Vital Sign</th>
+<th>Date</th>
+<th>Result</th>
+<th>Source</th>
+</tr>
+<tr id="VITAL1">
+<td>BLOOD PRESSURE</td>
+<td/>
+<td>BLOOD PRESSURE 120/70  <br/>
+</td>
+<td>WorldVistA EHR/VOE 1.0 </td>
+</tr>
+<tr id="VITAL2">
+<td>RESPIRATION</td>
+<td/>
+<td>RESPIRATION 29  <br/>
+</td>
+<td>WorldVistA EHR/VOE 1.0 </td>
+</tr>
+<tr id="VITAL3">
+<td>PULSE</td>
+<td/>
+<td>PULSE 78  <br/>
+</td>
+<td>WorldVistA EHR/VOE 1.0 </td>
+</tr>
+<tr id="VITAL4">
+<td>TEMPERATURE</td>
+<td/>
+<td>TEMPERATURE 98.6 F <br/>
+</td>
+<td>WorldVistA EHR/VOE 1.0 </td>
+</tr>
+</tbody>
+</table>
+</text>
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="VITAL1" extension="CCRObjectID"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="VITALTEST1" extension="CCRObjectID"/>
+<code displayName="BLOOD PRESSURE" code="392570002" codeSystemName="SNOMED" codeSystem=""/>
+<text>
+<reference value="#VITALTEST1"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="120/70" unit=""/>
+</observation>
+</component>
+</organizer>
+</entry>
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="VITAL2" extension="CCRObjectID"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="VITALTEST2" extension="CCRObjectID"/>
+<code displayName="RESPIRATION" code="366147009" codeSystemName="SNOMED" codeSystem=""/>
+<text>
+<reference value="#VITALTEST2"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="29" unit=""/>
+</observation>
+</component>
+</organizer>
+</entry>
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="VITAL3" extension="CCRObjectID"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="VITALTEST3" extension="CCRObjectID"/>
+<code displayName="PULSE" code="366199006" codeSystemName="SNOMED" codeSystem=""/>
+<text>
+<reference value="#VITALTEST3"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="78" unit=""/>
+</observation>
+</component>
+</organizer>
+</entry>
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="VITAL4" extension="CCRObjectID"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="VITALTEST4" extension="CCRObjectID"/>
+<code displayName="TEMPERATURE" code="309646008" codeSystemName="SNOMED" codeSystem=""/>
+<text>
+<reference value="#VITALTEST4"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="98.6" unit="F"/>
+</observation>
+</component>
+</organizer>
+</entry>
+</section>
+</component>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.3.88.11.83.127" assigningAuthorityName="HITSP/C83"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.3" assigningAuthorityName="IHE PCC"/>
+<templateId root="2.16.840.1.113883.10.20.1.3" assigningAuthorityName="HL7 CCD"/>
+<code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
+<title>Encounters</title>
+<text>
+<table>
+<tbody>
+<tr>
+<th>Type</th>
+<th>Date</th>
+<th>Location</th>
+<th>Status</th>
+<th>Practitioner</th>
+<th>Description</th>
+<th>Indications</th>
+<th>Source</th>
+</tr>
+<tr id="ENCOUNTER_4073">
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+</tr>
+<tr id="ENCOUNTER_4072">
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+</tr>
+<tr id="ENCOUNTER_4070">
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+</tr>
+<tr id="ENCOUNTER_4069">
+<td>ADDICTION SEVERITY INDEX</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>ADDICTION SEVERITY INDEX</td>
+<td/>
+<td/>
+</tr>
+<tr id="ENCOUNTER_4068">
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+</tr>
+<tr id="ENCOUNTER_4067">
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+<td/>
+<td/>
+<td>C&amp;P EXAMINATION REPORTS</td>
+<td/>
+<td/>
+</tr>
+</tbody>
+</table>
+</text>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4073" extension="CCRObjectID"/>
+<code>
+<originalText>C&amp;P EXAMINATION REPORTS</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4073"/>
+</text>
+<effectiveTime>
+<low value="201074"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4072" extension="CCRObjectID"/>
+<code>
+<originalText>C&amp;P EXAMINATION REPORTS</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4072"/>
+</text>
+<effectiveTime>
+<low value="201074"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4070" extension="CCRObjectID"/>
+<code>
+<originalText>C&amp;P EXAMINATION REPORTS</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4070"/>
+</text>
+<effectiveTime>
+<low value="201074"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4069" extension="CCRObjectID"/>
+<code>
+<originalText>ADDICTION SEVERITY INDEX</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4069"/>
+</text>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4068" extension="CCRObjectID"/>
+<code>
+<originalText>C&amp;P EXAMINATION REPORTS</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4068"/>
+</text>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+<entry typeCode="DRIV">
+<encounter classCode="ENC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+<id root="ENCOUNTER_4067" extension="CCRObjectID"/>
+<code>
+<originalText>C&amp;P EXAMINATION REPORTS</originalText>
+</code>
+<text>
+<reference value="#ENCOUNTER_4067"/>
+</text>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+</encounter>
+</entry>
+</section>
+</component>
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.14"/>
+<code code="30954-2" codeSystem="2.16.840.1.113883.6.1"/>
+<title>Results</title>
+<text>
+<table>
+<tbody>
+<tr>
+<th>Test</th>
+<th>Date</th>
+<th>Result</th>
+<th>Source</th>
+</tr>
+<tr id="RESULT_1">
+<td>Glucose Quant</td>
+<td/>
+<td>
+<div id="RESULTTEST_1_1">GLUCOSE:MCNC:PT:FLU:QN 120 mg/dL H<br/>
+</div>
+</td>
+<td>SYSTEM  MANAGER   </td>
+</tr>
+<tr id="RESULT_2">
+<td>Gen Chem Specimen</td>
+<td/>
+<td>
+<div id="RESULTTEST_2_1">HEMOGLOBIN A1C 7 % H<br/>
+</div>
+</td>
+<td>EIGHT  PROVIDER  Scholar Extraordinaire </td>
+</tr>
+<tr id="RESULT_3">
+<td>Calculation</td>
+<td/>
+<td>
+<div id="RESULTTEST_3_1">LDL CHOLESTEROL 90 MG/DL <br/>
+</div>
+</td>
+<td>EIGHT  PROVIDER  Scholar Extraordinaire </td>
+</tr>
+</tbody>
+</table>
+</text>
+<entry typeCode="DRIV">
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="RESULTTEST_1_1" extension="CCRObjectID"/>
+<code displayName="GLUCOSE:MCNC:PT:FLU:QN" code="2344-0" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
+<text>
+<reference value="#RESULTTEST_1_1"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="120" unit="mg/dL"/>
+<interpretationCode displayName="Abnormal High" code="H" codeSystemName="2.16.840.1.113883.5.83"/>
+<referenceRange>
+<observationRange>
+<text>60-110</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</entry>
+<entry typeCode="DRIV">
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="RESULTTEST_2_1" extension="CCRObjectID"/>
+<code displayName="HEMOGLOBIN A1C" code="CH462" codeSystemName="99VA63" codeSystem=""/>
+<text>
+<reference value="#RESULTTEST_2_1"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="7" unit="%"/>
+<interpretationCode displayName="Abnormal High" code="H" codeSystemName="2.16.840.1.113883.5.83"/>
+<referenceRange>
+<observationRange>
+<text>3.5-6</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</entry>
+<entry typeCode="DRIV">
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="RESULTTEST_3_1" extension="CCRObjectID"/>
+<code displayName="LDL CHOLESTEROL" code="CH291" codeSystemName="99VA63" codeSystem=""/>
+<text>
+<reference value="#RESULTTEST_3_1"/>
+</text>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="201073"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+<value xsi:type="PQ" value="90" unit="MG/DL"/>
+<referenceRange>
+<observationRange>
+<text>0-130</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</entry>
+</section>
+</component>
+</structuredBody>
+</component>
+</ClinicalDocument>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-actors.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-actors.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-actors.xsl	(revision 981)
@@ -0,0 +1,226 @@
+                    <component>
+                        <section>
+                            <title>Additional Information About People &amp; Organizations</title>
+                            <text>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Person]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Person/a:Name/a:DisplayName|a:Person/a:Name/a:CurrentName/a:Family" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Person">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorObjectID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Organization]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Organization/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Organization">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:Organization/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:InformationSystem]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Type</th>
+                                                <th>Version</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:InformationSystem/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:InformationSystem">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Type"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Version"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                            </text>
+                        </section>
+                    </component>
+                    -->
Index: /ccr2ccd-xslt/trunk/gpl/ccd-advdir.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-advdir.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-advdir.xsl	(revision 981)
@@ -0,0 +1,131 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.1" assigningAuthorityName="HL7 CCD"/>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.116" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.35" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.34" assigningAuthorityName="IHE PCC"/>
+                                <!--Advance Directives section template-->
+                                <code code="42348-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Advance directives"/>
+                                <title>Advance Directives</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives/a:AdvanceDirective">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="id">
+                                                            <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            <xsl:text>:Narrative</xsl:text>
+                                                        </xsl:attribute>
+
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives/a:AdvanceDirective">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.12" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.17" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.7" assigningAuthorityName="IHE PCC"/>
+                                            <!-- Advance directive observation template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code="completed"/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="originalTextReference">
+                                                    <xsl:text>#</xsl:text>
+                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    <xsl:text>:Narrative</xsl:text>
+                                                </xsl:with-param>
+                                            </xsl:call-template>
+
+                                            <participant typeCode="VRF">
+                                                <templateId root="2.16.840.1.113883.10.20.1.58"/>
+                                                <!--Verification of an advance directive observation template -->
+                                                <time nullFlavor="UNK"/>
+                                                <xsl:call-template name="ccdParticipantRoleActor">
+                                                    <xsl:with-param name="ccrActorObjectID" select="a:Source[1]/a:ActorID"/>
+                                                </xsl:call-template>
+                                            </participant>
+
+                                            <xsl:if test="a:ReferenceID">
+                                                <reference typeCode="REFR">
+                                                    <externalDocument>
+                                                        <templateId root="2.16.840.1.113883.10.20.1.36"/>
+                                                        <!-- Advance directive reference template -->
+                                                        <xsl:variable name="referenceID" select="a:ReferenceID"/>
+                                                        <!-- <id> -->
+                                                        <xsl:call-template name="ccdID">
+                                                            <xsl:with-param name="ccrObjectID" select="$referenceID"/>
+                                                        </xsl:call-template>
+                                                        <code code="371538006" codeSystem="2.16.840.1.113883.6.96" displayName="Advance directive"/>
+                                                        <xsl:variable name="reference" select="/a:ContinuityOfCareRecord/a:References/a:Reference[a:ReferenceObjectID=$referenceID]"/>
+                                                        <text>
+                                                            <xsl:attribute name="mediaType">
+                                                                <xsl:value-of select="$reference/a:Type/a:Text"/>
+                                                            </xsl:attribute>
+                                                            <reference>
+                                                                <xsl:value-of select="$reference/a:Location[1]/a:Description/a:Text"/>
+                                                            </reference>
+                                                        </text>
+                                                    </externalDocument>
+                                                </reference>
+                                            </xsl:if>
+                                        </observation>
+                                    </entry>
+
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-alerts.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-alerts.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-alerts.xsl	(revision 981)
@@ -0,0 +1,141 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Alerts">
+                        <component>
+                            <section>
+							  <templateId root="2.16.840.1.113883.10.20.1.2" />
+							  <!--C83 Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="2.16.840.1.113883.3.88.11.83.102" />
+							  <!--IHE Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.13" />
+                                <code code="48765-2" displayName="Allergies, adverse reactions, alerts" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
+                                <title>Alerts</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Reaction</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"/>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Reaction/a:Description/a:Text"/>
+                                                        <xsl:if test="a:Reaction/a:Severity/a:Text">
+                                                            -<xsl:value-of select="a:Reaction/a:Severity/a:Text"/>
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                             <!--CCD Problem Act Identifier-->
+											 <templateId root="2.16.840.1.113883.10.20.1.27"></templateId>
+											 <!--C83 Allergy Entry-->
+											 <templateId root="2.16.840.1.113883.3.88.11.83.6" />
+											 <!--IHE Concern Entry Conformance Identifier-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1"></templateId>
+											 <!--IHE Allergy and Intolerance Concerns Entry-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.3"></templateId>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                      <!--CCD Alert Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.18"></templateId>
+													  <!--CCD Problem Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.28" />
+													  <!--IHE Problem Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5" />
+													  <!--IHE Allergies and Intolerances Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.6" />
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="416098002" codeSystem="2.16.840.1.113883.6.96" displayName="drug allergy" codeSystemName="SNOMED CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+													<value xsi:type="CD" />
+													
+                                                   <participant typeCode="CSM">
+                                                        <xsl:choose>
+                                                            <xsl:when test="a:Agent/a:Products/a:Product/a:Product">
+                                                                <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Product/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </xsl:when>
+                                                            
+                                                        </xsl:choose>
+                                                    </participant>
+
+                                                    <xsl:if test="a:Reaction">
+                                                        <entryRelationship typeCode="MFST" inversionInd="true">
+                                                            <observation classCode="OBS" moodCode="EVN">
+                                                                <templateId root="2.16.840.1.113883.10.20.1.54"/>
+                                                                <!--Reaction observation template -->
+                                                                <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                                                                <statusCode code="completed"/>
+                                                                <xsl:call-template name="ccdCodedValue">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Reaction/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </observation>
+                                                        </entryRelationship>
+                                                    </xsl:if>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+
+                                                </observation>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-encounters.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-encounters.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-encounters.xsl	(revision 981)
@@ -0,0 +1,139 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Encounters">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.127" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.3" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.3" assigningAuthorityName="HL7 CCD"/>
+                                <!--Encounters section template-->
+                                <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
+                                <title>Encounters</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Location</th>
+                                                <th>Status</th>
+                                                <th>Practitioner</th>
+                                                <th>Description</th>
+                                                <th>Indications</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Practitioners/a:Practitioner">
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Indications/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                    <entry typeCode="DRIV">
+                                        <encounter classCode="ENC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Encounter activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Practitioners[1]/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Locations[1]/a:Location">
+                                                <participant typeCode="LOC">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.45"/>
+                                                    <!-- Location participation template -->
+                                                    <xsl:choose>
+                                                        <xsl:when test="a:Locations[1]/a:Location/a:ActorID">
+                                                            <xsl:call-template name="ccdParticipantRoleActor">
+                                                                <xsl:with-param name="ccrActorObjectID" select="a:Locations[1]/a:Location/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </xsl:when>
+                                                        <xsl:otherwise>
+                                                            <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Locations[1]/a:Location/a:Description"/>
+                                                            </xsl:call-template>
+                                                        </xsl:otherwise>
+                                                    </xsl:choose>
+                                                </participant>
+                                            </xsl:if>
+                                        </encounter>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-familyhistory.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-familyhistory.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-familyhistory.xsl	(revision 981)
@@ -0,0 +1,56 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:FamilyHistory">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.4"/>
+                                <code code="10157-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Family History</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Relationship(s)</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:FamilyHistory/a:FamilyProblemHistory">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Problem/a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Problem">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:FamilyMember/a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-footer.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-footer.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-footer.xsl	(revision 981)
@@ -0,0 +1,5 @@
+                </structuredBody>
+            </component>
+        </ClinicalDocument>
+    </xsl:template>
+
Index: /ccr2ccd-xslt/trunk/gpl/ccd-funcstat.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-funcstat.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-funcstat.xsl	(revision 981)
@@ -0,0 +1,47 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:FunctionalStatus">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.5"/>
+                                <code code="47420-5" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Functional Status</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <tr>
+                                                <td>
+                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:call-template name="date:format-date">
+                                                        <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                    </xsl:call-template>
+                                                </td>
+                                                <td>
+                                                    <xsl:apply-templates select="a:Description/a:Code"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:value-of select="a:Description/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:value-of select="a:Status/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:call-template name="actorName">
+                                                        <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                    </xsl:call-template>
+                                                </td>
+                                            </tr>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-header.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-header.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-header.xsl	(revision 981)
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Conversion of CCR to Level 3 CCD
+
+Orginal Author:   	Ken Miller
+Solventus LLC
+ken.miller@solventus.coms
+
+Contributors:
+Richard Braman, EHR Doctors, Inc rbraman@ehrdoctors.com
+George Lilly (WorldVistA glilly@glilly.net)
+xxxx - Oroville Hospital
+
+Date: 	2010-05-5
+Version: 	0.1
+
+License :
+
+        This program is free software: you can redistribute it and/or modify
+        it under the terms of the GNU General Public License as published by
+        the Free Software Foundation, either version 3 of the License, or
+        (at your option) any later version.
+
+        This program is distributed in the hope that it will be useful,
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+        GNU General Public License for more details.
+
+        You should have received a copy of the GNU General Public License
+        along with this program.  If not, see http://www.gnu.org/licenses.
+
+-->
+<xsl:stylesheet version="1.0" xmlns="urn:hl7-org:v3" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="a date">
+    <xsl:import href="./templates/cdavocablookup.xsl"/>
+    <xsl:import href="./templates/hl7oidlookup.xsl"/>
+    <xsl:import href="./templates/code.xsl"/>
+    <xsl:import href="./templates/actor.xsl"/>
+    <xsl:import href="./templates/datetime.xsl"/>
+    <xsl:import href="./templates/problemDescription.xsl"/>
+
+    <xsl:output method="xml" encoding="utf-8" version="1.0" indent="yes"/>
+    <xsl:template match="/">
+        <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc"  xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd" classCode="DOCCLIN" moodCode="EVN">
+            <realmCode code="US"/>
+            <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+            <templateId root="2.16.840.1.113883.10.20.1"/>
+            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/>
+            <templateId root="2.16.840.1.113883.10.20.3"/>
+            <templateId root="2.16.840.1.113883.3.88.11.32.1"/>
+
+            <id>
+                <xsl:attribute name="root">
+                    <xsl:value-of select="/a:ContinuityOfCareRecord/a:CCRDocumentObjectID"></xsl:value-of>
+                </xsl:attribute>
+            </id>
+            <code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of episode note"/>
+             <xsl:variable name="fromID" select="/a:ContinuityOfCareRecord/a:From/a:ActorLink[1]/a:ActorID"/>
+              <xsl:variable name="ccrFromActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']/a:LinkID"/>
+            <title>Continuity of Care Document from <xsl:value-of select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrFromActorObjectID]/a:Organization/a:Name"/></title>
+            <effectiveTime>
+                <xsl:attribute name="value">
+                    <xsl:call-template name="date:format-date">
+                        <xsl:with-param name="date-time" select="/a:ContinuityOfCareRecord/a:DateTime/a:ExactDateTime"/>
+                        <xsl:with-param name="pattern">yyyyMMddhhmmss+0000</xsl:with-param>
+                    </xsl:call-template>
+                </xsl:attribute>
+            </effectiveTime>
+            <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
+            <languageCode code="en-US"/>
+
+            <recordTarget typeCode="RCT" contextControlCode="OP">
+            <patientRole>
+                <xsl:call-template name="ccdPatientRole">
+                    <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Patient[1]/a:ActorID"/>
+                </xsl:call-template>
+                </patientRole>
+            </recordTarget>
+
+            <author>
+                <time>
+                    <xsl:attribute name="value">
+                        <xsl:call-template name="date:format-date">
+                            <xsl:with-param name="date-time" select="/a:ContinuityOfCareRecord/a:DateTime/a:ExactDateTime"/>
+                            <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </time>
+                <xsl:call-template name="ccdAssignedAuthor">
+                    <xsl:with-param name="ccrActorObjectID" select="$fromID"/>
+                </xsl:call-template>
+            </author>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']">
+                <custodian>
+                    <assignedCustodian>
+                        <xsl:call-template name="ccdOrganization">
+                            <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']/a:LinkID"/>
+                            <xsl:with-param name="organizationNodeName" select="'representedCustodianOrganization'"/>
+                        </xsl:call-template>
+                    </assignedCustodian>
+                </custodian>
+            </xsl:if> 
+
+            <documentationOf>
+                <serviceEvent classCode="PCPR">
+                    <effectiveTime>
+                        <low>
+                            <xsl:attribute name="value">
+                                <xsl:call-template name="date:format-date">
+                                    <xsl:with-param name="date-time">
+                                        <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body//a:DateTime//a:ExactDateTime">
+                                            <xsl:sort order="ascending"/>
+                                            <xsl:if test="position()=1">
+                                                <xsl:value-of select="."/>
+                                            </xsl:if>
+                                        </xsl:for-each>
+                                    </xsl:with-param>
+                                    <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                                </xsl:call-template>
+                            </xsl:attribute>
+                        </low>
+                        <high>
+                            <xsl:attribute name="value">
+                                <xsl:call-template name="date:format-date">
+                                    <xsl:with-param name="date-time">
+                                        <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body//a:DateTime//a:ExactDateTime">
+                                            <xsl:sort order="descending"/>
+                                            <xsl:if test="position()=1">
+                                                <xsl:value-of select="."/>
+                                            </xsl:if>
+                                        </xsl:for-each>
+                                    </xsl:with-param>
+                                    <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                                </xsl:call-template>
+                            </xsl:attribute>
+                        </high>
+                    </effectiveTime>
+                </serviceEvent>
+
+                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders/a:Provider">
+                    <xsl:call-template name="ccdAssignedEntity">
+                        <xsl:with-param name="ccrActorObjectID" select="a:ActorID"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+
+            </documentationOf>
+
+            <component>
+                <structuredBody>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-immunizations.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-immunizations.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-immunizations.xsl	(revision 981)
@@ -0,0 +1,133 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Immunizations">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.6"/>
+                                <code code="11369-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Immunizations</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Code</th>
+                                                <th>Vaccine</th>
+                                                <th>Date</th>
+                                                <th>Route</th>
+                                                <th>Site</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Product/a:ProductName/a:Code"/>
+                                                    </td>
+                                                    <td>
+
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:Form">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:Form/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Route/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="id">
+                                                            <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            <xsl:text>:Site</xsl:text>
+                                                        </xsl:attribute>
+
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.13" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.12" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7 ActCode"/>
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                    <xsl:with-param name="originalTextReference">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                        <xsl:text>:Site</xsl:text>
+                                                    </xsl:with-param>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-medications.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-medications.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-medications.xsl	(revision 981)
@@ -0,0 +1,192 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Medications">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.8" assigningAuthorityName="HL7 CCD"/>
+                                <!--Medications section template-->
+                                <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
+                                <title>Medications</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Medication</th>
+                                                <th>Date</th>
+                                                <th>Status</th>
+                                                <th>Form</th>
+                                                <th>Strength</th>
+                                                <th>Quantity</th>
+                                                <th>SIG</th>
+                                                <th>Indications</th>
+                                                <th>Instruction</th>
+                                                <th>Refills</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:BrandName">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:BrandName/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:Form/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Product/a:Strength">
+                                                            <xsl:if test="position() > 1">
+                                                                <xsl:text>/</xsl:text>
+                                                            </xsl:if>
+                                                            <xsl:value-of select="a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Units/a:Unit"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Quantity/a:Value"/>
+                                                        <xsl:text xml:space="preserve"> </xsl:text>
+                                                        <xsl:value-of select="a:Quantity/a:Units/a:Unit"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction">
+                                                            <xsl:choose>
+                                                                <xsl:when test="a:Description/a:Text">
+                                                                    <xsl:value-of select="a:Description/a:Text"/>
+                                                                </xsl:when>
+                                                                <xsl:otherwise>
+                                                                    <xsl:value-of select="a:Dose/a:Value"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Dose/a:Units/a:Unit"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Route/a:Text"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Frequency/a:Value"/>
+                                                                    <xsl:if test="a:Duration">
+                                                                        <xsl:text xml:space="preserve">( </xsl:text>for <xsl:value-of select="a:Duration/a:Value"/><xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:Duration/a:Units/a:Unit"/><xsl:text xml:space="preserve"> )</xsl:text>
+                                                                    </xsl:if>
+                                                                    <xsl:if test="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                        <xsl:for-each select="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                            <xsl:value-of select="a:Attribute"/>
+                                                                            <br/>
+                                                                            <xsl:value-of select="a:AttributeValue/a:Value"/>
+                                                                        </xsl:for-each>
+                                                                    </xsl:if>
+                                                                </xsl:otherwise>
+                                                            </xsl:choose>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction[1]/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:PatientInstructions/a:Instruction">
+                                                            <xsl:value-of select="a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Refills/a:Refill">
+                                                            <xsl:value-of select="a:Number"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+
+                                            <!--Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdMedicationFrequency">
+                                                <xsl:with-param name="frequency" select="a:Directions/a:Direction/a:Frequency"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Dose">
+                                                <doseQuantity>
+                                                    <low>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </low>
+                                                    <high>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </high>
+                                                </doseQuantity>
+                                            </xsl:if>
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-payers.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-payers.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-payers.xsl	(revision 981)
@@ -0,0 +1,104 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Payers">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.9"/>
+                                <code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Insurance</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Payment Provider</th>
+                                                <th>Subscriber</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:IDs">
+                                                            <xsl:value-of select="a:Type/a:Text"/>:<xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:ID"/><br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:PaymentProvider/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Subscriber/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="DEF">
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.17" assigningAuthorityName="IHE PCC"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.20" assigningAuthorityName="CCD"/>
+                                            <!-- Coverage entry template -->
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+                                            <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment sources"/>
+                                            <statusCode code="completed"/>
+                                            <entryRelationship typeCode="COMP">
+                                                <act classCode="ACT" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.5" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.26" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.18" assigningAuthorityName="IHE PCC"/>
+                                                    <!--Insurance provider template -->
+                                                    <id>
+                                                        <xsl:attribute name="root">
+                                                            <xsl:value-of select="a:IDs[1]/a:ID"/>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="extension">
+                                                            <xsl:value-of select="a:IDs[1]/a:Type/a:Text"/>
+                                                        </xsl:attribute>
+                                                    </id>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:PaymentProvider"/>
+                                                    </xsl:call-template>
+
+                                                    <participant typeCode="HLD">
+                                                        <xsl:call-template name="ccdParticipantRoleActor">
+                                                            <xsl:with-param name="ccrActorReference" select="a:Subscriber"/>
+                                                        </xsl:call-template>
+                                                    </participant>
+                                                </act>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-planofcare.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-planofcare.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-planofcare.xsl	(revision 981)
@@ -0,0 +1,376 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.10"/>
+                                <code code="18776-5" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Plan Of Care</title>
+                                <text>
+                                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Treatment Recommendation']">
+                                        <xsl:text>Plan Of Care Recommendations</xsl:text>
+                                        <br/>
+                                        <table>
+                                            <tbody>
+                                                <tr>
+                                                    <th>Description</th>
+                                                    <th>Recommendation</th>
+                                                    <th>Goal</th>
+                                                    <th>Status</th>
+                                                    <th>Source</th>
+                                                </tr>
+                                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Treatment Recommendation']">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Goals/a:Goal/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Status/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:for-each>
+                                            </tbody>
+                                        </table>
+                                    </xsl:if>
+                                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Order']">
+                                        <xsl:text>Plan Of Care Orders</xsl:text>
+                                        <br/>
+                                        <table>
+                                            <tbody>
+                                                <tr>
+                                                    <th>Descripion</th>
+                                                    <th>Plan Status</th>
+                                                    <th>Type</th>
+                                                    <th>Date</th>
+                                                    <th>Procedure</th>
+                                                    <th>Schedule</th>
+                                                    <th>Location</th>
+                                                    <th>Substance</th>
+                                                    <th>Method</th>
+                                                    <th>Position</th>
+                                                    <th>Site</th>
+                                                    <th>Status</th>
+                                                    <th>Source</th>
+                                                </tr>
+                                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Order']">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:apply-templates select="a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Status/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Type/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:call-template name="date:format-date">
+                                                                <xsl:with-param name="date-time" select="a:OrderRequest/a:Procedures/a:Procedure/a:DateTime/a:ExactDateTime"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:apply-templates select="a:OrderRequest/a:Procedures/a:Procedure/a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:text xml:space="preserve">Every </xsl:text>
+                                                            <xsl:apply-templates select="a:OrderRequest/a:Procedures/a:Procedure/a:Interval/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Interval/a:Units/a:Unit"/>
+                                                            <xsl:text xml:space="preserve"> for </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Duration/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Duration/a:Units/a:Unit"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:OrderRequest/a:Procedures/a:Procedure/a:Locations">
+                                                                <xsl:value-of select="a:Location/a:Description/a:Text"/>
+                                                                <xsl:if test="position() != last()">
+                                                                    <br/>
+                                                                </xsl:if>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Substance/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Method/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Position/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Site/a:Text"/>
+                                                        </td>
+                                                        <td/>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:for-each>
+                                            </tbody>
+                                        </table>
+                                    </xsl:if>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Procedures/a:Procedure">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="RQO">
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.20.3.1"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <!-- <code> -->
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code="new"/>
+
+                                            <effectiveTime>
+                                                <xsl:choose>
+                                                    <xsl:when test="a:DateTime">
+                                                        <xsl:call-template name="ccdDateTime">
+                                                            <xsl:with-param name="dt" select="a:DateTime"/>
+                                                        </xsl:call-template>
+                                                    </xsl:when>
+                                                    <xsl:when test="a:Interval">
+                                                        <xsl:attribute name="xsi:type">PIVL_TS</xsl:attribute>
+                                                        <xsl:attribute name="operator">A</xsl:attribute>
+                                                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                                                        <period>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:value-of select="a:Interval/a:Value"/>
+                                                            </xsl:attribute>
+                                                            <xsl:attribute name="unit">
+                                                                <xsl:value-of select="a:Interval/a:Units/a:Unit"/>
+                                                            </xsl:attribute>
+                                                        </period>
+                                                    </xsl:when>
+                                                </xsl:choose>
+                                            </effectiveTime>
+                                        </observation>
+                                    </entry>
+                                </xsl:for-each>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Medications/a:Medication">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="INT">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+
+                                            <!--Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdMedicationFrequency">
+                                                <xsl:with-param name="frequency" select="a:Directions/a:Direction/a:Frequency"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Dose">
+                                                <doseQuantity>
+                                                    <low>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </low>
+                                                    <high>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </high>
+                                                </doseQuantity>
+                                            </xsl:if>
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Immunizations/a:Immunization">
+
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.13" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.12" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7 ActCode"/>
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                    <xsl:with-param name="originalTextReference">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                        <xsl:text>:Site</xsl:text>
+                                                    </xsl:with-param>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Encounters/a:Encounter">
+                                    <entry typeCode="DRIV">
+                                        <encounter classCode="ENC" moodCode="INT">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Encounter activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Practitioners[1]/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Locations[1]/a:Location">
+                                                <participant typeCode="LOC">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.45"/>
+                                                    <!-- Location participation template -->
+                                                    <xsl:choose>
+                                                        <xsl:when test="a:Locations[1]/a:Location/a:ActorID">
+                                                            <xsl:call-template name="ccdParticipantRoleActor">
+                                                                <xsl:with-param name="ccrActorObjectID" select="a:Locations[1]/a:Location/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </xsl:when>
+                                                        <xsl:otherwise>
+                                                            <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Locations[1]/a:Location/a:Description"/>
+                                                            </xsl:call-template>
+                                                        </xsl:otherwise>
+                                                    </xsl:choose>
+                                                </participant>
+                                            </xsl:if>
+                                        </encounter>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-problems.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-problems.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-problems.xsl	(revision 981)
@@ -0,0 +1,114 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Problems">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
+                                <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/>
+                                <title>Problems</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <table>
+                                                            <tbody>
+                                                                <xsl:apply-templates select="a:DateTime"/>
+                                                            </tbody>
+                                                        </table>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+														<xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"></xsl:value-of>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                                            <!-- Problem act template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+
+                                            <xsl:call-template name="ccdPerformer">
+                                                <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                            </xsl:call-template>
+
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+                                                    <!--Problem observation template-->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="a:DateTime"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+                                                </observation>
+                                            </entryRelationship>
+
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-procedures.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-procedures.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-procedures.xsl	(revision 981)
@@ -0,0 +1,146 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Procedures">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.12"/>
+                                <code code="47519-4" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Procedures</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Substance</th>
+                                                <th>Method</th>
+                                                <th>Position</th>
+                                                <th>Site</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <table>
+                                                        <tbody>
+                                                            <xsl:apply-templates select="a:DateTime"/>
+                                                        </tbody>
+                                                    </table>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:if test="a:Actor">
+                                                                (<xsl:call-template name="actorName">
+                                                                    <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                                </xsl:call-template>
+                                                                <xsl:if test="a:Actor/a:ActorRole/a:Text">
+                                                                    <xsl:text xml:space="preserve"> - </xsl:text><xsl:value-of select="a:ActorRole/a:Text"/>)
+                                                                </xsl:if>
+                                                            </xsl:if>)
+                                                            <xsl:if test="position() != last()">
+                                                                <br/>
+                                                            </xsl:if>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Substance">
+                                                            <xsl:value-of select="a:Text"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Method/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Position/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                    <entry typeCode="DRIV">
+                                        <procedure classCode="PROC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.17" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.29" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.19" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <!-- <code> -->
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdStatusProcedure">
+                                                <xsl:with-param name="status" select="a:Status"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Method">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Method"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'targetSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Practitioners/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+                                        </procedure>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-providers.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-providers.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-providers.xsl	(revision 981)
@@ -0,0 +1,29 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders">
+                        <component>
+                            <section>
+                                <title>Health Care Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders/a:Provider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-purpose.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-purpose.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-purpose.xsl	(revision 981)
@@ -0,0 +1,10 @@
+                    <component>
+                        <section>
+                            <templateId root="2.16.840.1.113883.10.20.1.13"/>
+                            <code code="48764-5" codeSystem="2.16.840.1.113883.6.1" />
+                            <title>Purpose</title>
+                            <text>
+                                <xsl:value-of select="/a:ContinuityOfCareRecord/a:Purpose/a:Description/a:Text"></xsl:value-of>
+                            </text>
+                        </section>
+                    </component>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-references.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-references.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-references.xsl	(revision 981)
@@ -0,0 +1,47 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:References">
+                        <component>
+                            <section>
+                                <title>References</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:References/a:Reference">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <strong class="clinical">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                        </strong>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Locations/a:Location/a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    -->
+                    <!--
Index: /ccr2ccd-xslt/trunk/gpl/ccd-results.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-results.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-results.xsl	(revision 981)
@@ -0,0 +1,124 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.14"/>
+                                <code code="30954-2" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Results</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Test</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Value!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Value"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Description/a:Text!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                        <xsl:choose>
+                                            <xsl:when test="count(a:Test)>1">
+                                                <organizer classCode="BATTERY" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.32"/>
+                                                    <!--Result organizer template -->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                    </xsl:call-template>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <!-- <effectiveTime> -->
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="$testDate"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:for-each select="a:Test">
+                                                        <xsl:call-template name="ccdObservation">
+                                                            <xsl:with-param name="ccrTestNode" select="."/>
+                                                            <xsl:with-param name="testDate" select="$testDate"/>
+                                                        </xsl:call-template>
+                                                    </xsl:for-each>
+
+                                                </organizer>
+
+                                            </xsl:when>
+                                            <xsl:otherwise>
+                                                <xsl:call-template name="ccdObservation">
+                                                    <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                    <xsl:with-param name="testDate" select="$testDate"/>
+                                                </xsl:call-template>
+                                            </xsl:otherwise>
+                                        </xsl:choose>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-socialhistory.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-socialhistory.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-socialhistory.xsl	(revision 981)
@@ -0,0 +1,81 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:SocialHistory">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.15"/>
+                                <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Social History</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text" disable-output-escaping="yes"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.19" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.33" assigningAuthorityName="CCD"/>
+                                            <!-- Social history observation template -->
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+                                            <statusCode code="completed"/>
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+                                            <entryRelationship typeCode="SUBJ" inversionInd="true">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.41"/>
+                                                    <!-- Episode observation template -->
+                                                    <statusCode code="completed"/>
+                                                    <entryRelationship typeCode="SAS">
+                                                        <observation classCode="OBS" moodCode="EVN">
+                                                            <xsl:call-template name="ccdCodedValue">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                                            </xsl:call-template>
+                                                        </observation>
+                                                    </entryRelationship>
+                                                </observation>
+                                            </entryRelationship>
+                                        </observation>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-support.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-support.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-support.xsl	(revision 981)
@@ -0,0 +1,30 @@
+                    <!--
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:SupportProviders">
+                        <component>
+                            <section>
+                                <title>Support Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Support/a:SupportProvider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-util.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-util.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-util.xsl	(revision 981)
@@ -0,0 +1,712 @@
+    <xsl:template name="ccdAssignedEntity">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <assignedEntity>
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActor/a:Person">
+                <xsl:call-template name="ccdPerson">
+                    <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+                    <xsl:with-param name="personNodeName" select="'assignedPerson'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                    <xsl:with-param name="organizationNodeName" select="'representedOrganization'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+        </assignedEntity>
+    </xsl:template>
+
+    <xsl:template name="ccdPatient">
+        <xsl:param name="CCRActorPerson"/>
+        <patient>
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActorPerson/a:Gender">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$CCRActorPerson/a:Gender"/>
+                    <xsl:with-param name="domain" select="'AdministrativeGender'"/>
+                    <xsl:with-param name="nodeName" select="'administrativeGenderCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActorPerson/a:DateOfBirth">
+                <birthTime>
+                    <xsl:attribute name="value">
+                        <xsl:call-template name="date:format-date">
+                            <xsl:with-param name="date-time" select="$CCRActorPerson/a:DateOfBirth/a:ExactDateTime"/>
+                            <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </birthTime>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']/a:Description"/>
+                    <xsl:with-param name="domain" select="'MaritalStatus'"/>
+                    <xsl:with-param name="nodeName" select="'maritalStatusCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']">
+                <languageCommunication>
+                    <templateId root="2.16.840.1.113883.3.88.11.83.2" assigningAuthorityName="HITSP/C83"/>
+                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.1" assigningAuthorityName="IHE/PCC"/>
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']/a:Description"></xsl:with-param>
+                        <xsl:with-param name="domain" select="'HumanLanguage'"/>
+                        <xsl:with-param name="nodeName" select="'languageCode'"/>
+                    </xsl:call-template>
+                </languageCommunication>
+            </xsl:if>
+        </patient>
+    </xsl:template>
+
+    <xsl:template name="ccdPerformer">
+        <xsl:param name="ccrActorReference"/>
+        <performer typeCode="PRF">
+            <xsl:if test="$ccrActorReference/a:ActorRole">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrActorReference/a:ActorRole"/>
+                    <xsl:with-param name="nodeName" select="'functionCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+            <xsl:call-template name="ccdAssignedEntity">
+                <xsl:with-param name="ccrActorObjectID" select="$ccrActorReference/a:ActorID"/>
+            </xsl:call-template>
+        </performer>
+    </xsl:template>
+
+    <xsl:template name="ccdPerson">
+        <xsl:param name="CCRActorPerson"/>
+        <xsl:param name="personNodeName">assignedPerson</xsl:param>
+        <xsl:element name="{$personNodeName}">
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPersonName">
+        <xsl:param name="CCRActorName"/>
+        <name>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Title">
+                <prefix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Title"/>
+                </prefix>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Given">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Given"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Middle">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Middle"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Family">
+                <family>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Family"/>
+                </family>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Suffix">
+                <suffix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Suffix"/>
+                </suffix>
+            </xsl:if>
+        </name>
+    </xsl:template>
+
+    <xsl:template name="ccdOrganization">
+        <xsl:param name="ccrActorObjectID"/>
+        <xsl:param name="organizationNodeName"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:element name="{$organizationNodeName}">
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPatientRole">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPatient">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <xsl:template name="ccdAssignedAuthor">
+        <xsl:param name="ccrActorObjectID"/>
+		<assignedAuthor>
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPerson">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+            <representedOrganization>
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                </xsl:call-template>
+            </representedOrganization>
+        </xsl:if>
+        </assignedAuthor>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleActor">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:Organization/a:Name">
+            <playingEntity classCode="PLC">
+                <name>
+                    <xsl:value-of select="$CCRActor/a:Organization/a:Name"/>
+                </name>
+            </playingEntity>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleCodedDescription">
+        <xsl:param name="ccrCodedDescription"/>
+        <participantRole classCode="MANU">
+           <!--Product Detail-->
+           <playingEntity classCode="MMAT">
+				<xsl:if test="$ccrCodedDescription/a:Code">
+					<xsl:call-template name="ccdCodedValue">
+						<xsl:with-param name="ccrCodedDescription" select="$ccrCodedDescription"/>
+						<xsl:with-param name="nodeName" select="'code'"/>
+					</xsl:call-template>
+				</xsl:if>
+				<name>
+					<xsl:value-of select="$ccrCodedDescription/a:Text"/>
+				</name>
+			</playingEntity>
+		</participantRole>
+    </xsl:template>
+
+    <xsl:template name="ccdEntityID">
+        <xsl:param name="CCRActor"/>
+        <id>
+            <xsl:choose>
+                <xsl:when test="$CCRActor/a:IDs">
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:ID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:Type/a:Text"/>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:ActorObjectID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:text>CCRActorID</xsl:text>
+                    </xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </id>
+         <xsl:if test="$CCRActor/a:Organization">
+            <name><xsl:value-of select="$CCRActor/a:Organization/a:Name"></xsl:value-of></name>
+        </xsl:if>
+    </xsl:template>		
+    <xsl:template name="ccdAddress">
+        <xsl:param name="CCRActorAddress"/>
+        <addr>
+            <xsl:choose>
+                <xsl:when test="$CCRActorAddress">
+                    <xsl:attribute name="use">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                            <xsl:with-param name="ccrtext" select="$CCRActorAddress/a:Type/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <streetAddressLine>
+                        <xsl:value-of select="$CCRActorAddress/a:Line1"/>
+                    </streetAddressLine>
+                    <city>
+                        <xsl:value-of select="$CCRActorAddress/a:City"/>
+                    </city>
+                    <state>
+                        <xsl:value-of select="$CCRActorAddress/a:State"/>
+                    </state>
+                    <postalCode>
+                        <xsl:value-of select="$CCRActorAddress/a:PostalCode"/>
+                    </postalCode>
+                </xsl:when>
+                <xsl:otherwise>
+                    <streetAddressLine/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </addr>
+    </xsl:template>
+    
+    <xsl:template name="ccdTelecom">
+        <xsl:param name="CCRActor"/>
+        <telecom>
+            <xsl:if test="$CCRActor/a:Telephone">
+                <xsl:attribute name="use">
+                    <xsl:call-template name="CDAVocabularyLookup">
+                        <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                        <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+                <xsl:attribute name="value">
+                    <xsl:text>tel:+1-</xsl:text>
+                    <xsl:value-of select="$CCRActor/a:Telephone[1]/a:Value"/>
+                </xsl:attribute>
+            </xsl:if>
+        </telecom>
+
+        <xsl:if test="$CCRActor/a:Email">
+            <telecom>
+                <xsl:choose>
+                    <xsl:when test="$CCRActor/a:Telephone">
+                        <xsl:attribute name="use">
+                            <xsl:call-template name="CDAVocabularyLookup">
+                                <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                                <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                        <xsl:attribute name="value">
+                            <xsl:text>mailto:</xsl:text>
+                            <xsl:value-of select="$CCRActor/a:Email[1]/a:Value"/>
+                        </xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="value">
+                            <xsl:text>Unknown</xsl:text>
+                        </xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </telecom>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdID">
+        <xsl:param name="ccrObjectID"/>
+        <xsl:param name="suffix"/>
+        <id>
+            <xsl:attribute name="root">
+                <xsl:value-of select="$ccrObjectID"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="extension">CCRObjectID</xsl:attribute>
+        </id>
+    </xsl:template>
+
+    <xsl:template name="ccdCodedValue">
+        <xsl:param name="ccrCodedDescription"/>
+        <xsl:param name="type"/>
+        <xsl:param name="domain"/>
+        <xsl:param name="nodeName">value</xsl:param>
+        <xsl:param name="originalTextReference"/>
+
+        <xsl:element name="{$nodeName}">
+            <xsl:if test="$type">
+                <xsl:attribute name="xsi:type">
+                    <xsl:value-of select="$type"/>
+                </xsl:attribute>
+            </xsl:if>
+            <xsl:choose>
+                <xsl:when test="$ccrCodedDescription/a:Code">
+                    <xsl:attribute name="displayName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:Value"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystem">
+                        <xsl:call-template name="HL7OIDLookup">
+                            <xsl:with-param name="name" select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:when test="$domain">
+                    <xsl:variable name="cdaCode">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="ccrtext" select="$ccrCodedDescription/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:variable>
+                    <xsl:attribute name="displayName">
+                        <xsl:call-template name="CDADisplayNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="cdacode" select="$cdaCode"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$cdaCode"></xsl:value-of>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <originalText>
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                        <xsl:if test="$originalTextReference">
+                            <reference>
+                                <xsl:attribute name="value">
+                                    <xsl:value-of select="$originalTextReference"/>
+                                </xsl:attribute>
+                            </reference>
+                        </xsl:if>
+                    </originalText>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdDateTime">
+        <xsl:param name="dt"/>
+        <xsl:param name="type"/>
+        <xsl:if test="$dt">
+            <xsl:if test="$dt[1]/a:ExactDateTime">
+                <effectiveTime>
+                    <xsl:if test="$type">
+                        <xsl:attribute name="xsi:type">
+                            <xsl:value-of select="$type"></xsl:value-of>
+                        </xsl:attribute>
+                    </xsl:if>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high nullFlavor="UNK"/>
+                </effectiveTime>
+            </xsl:if>
+            <xsl:if test="$dt[1]/a:DateTimeRange">
+                <effectiveTime>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:BeginRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:EndRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </high>
+                </effectiveTime>
+            </xsl:if>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdMedicationFrequency">
+        <xsl:param name="frequency"/>
+        <xsl:if test="$frequency">
+            <xsl:choose>
+                <xsl:when test="$frequency/a:Value='qd'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">24</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='bid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">12</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='tid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">8</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">6</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qam'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='ACM'/>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qpm'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='PCV'/>
+                    </effectiveTime>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdStatus">
+        <xsl:param name="ccrStatus"/>
+
+        <entryRelationship typeCode="REFR">
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                <!-- Problem status observation template -->
+                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+                <statusCode code="completed"/>
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrStatus"/>
+                </xsl:call-template>
+            </observation>
+        </entryRelationship>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusObservation">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Active'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'55561003'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Inactive'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'73425007'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Chronic'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'90734009'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusProcedure">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Completed'">
+                <statusCode code="completed"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Active'">
+                <statusCode code="active"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Aborted'">
+                <statusCode code="aborted"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Cancelled' or $statusText='Canceled'">
+                <statusCode code="cancelled"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <statusCode>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$statusText"></xsl:value-of>
+                    </xsl:attribute>
+                </statusCode>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusElement">
+        <xsl:param name="statusCode"/>
+        <xsl:param name="statusDisplayName"/>
+        <value>
+            <xsl:attribute name="xsi:type">CE</xsl:attribute>
+            <xsl:attribute name="code">
+                <xsl:value-of select="$statusCode"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="codeSystem">2.16.840.1.113883.6.96</xsl:attribute>
+            <xsl:attribute name="displayName">
+                <xsl:value-of select="$statusDisplayName"></xsl:value-of>
+            </xsl:attribute>
+        </value>
+    </xsl:template>
+
+    <xsl:template name="ccdObservation">
+        <xsl:param name="ccrTestNode"/>
+        <xsl:param name="testDate"/>
+
+        <component>
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+                <templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+
+                <!-- Result observation template -->
+
+                <xsl:call-template name="ccdID">
+                    <xsl:with-param name="ccrObjectID" select="$ccrTestNode/a:CCRDataObjectID"/>
+                </xsl:call-template>
+
+                <!-- <code> -->
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Description"/>
+                    <xsl:with-param name="nodeName" select="'code'"/>
+                </xsl:call-template>
+
+                <text>
+                    <reference>
+                        <xsl:attribute name="value">
+                            <xsl:text>#</xsl:text>
+                            <xsl:value-of select="$ccrTestNode/a:CCRDataObjectID"/>
+                        </xsl:attribute>
+                    </reference>
+                </text>
+
+                <statusCode code="completed"/>
+
+                <!-- <effectiveTime> -->
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:DateTime">
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$ccrTestNode/a:DateTime"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$testDate"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Value!='']">
+                        <value xsi:type="PQ">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Value"/>
+                            </xsl:attribute>
+                            <xsl:attribute name="unit">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Units/a:Unit"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Description/a:Text!='']">
+                        <value xsi:type="TX">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Description/a:Text"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                </xsl:choose>
+
+                <xsl:if test="$ccrTestNode/a:Flag">
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Flag"/>
+                        <xsl:with-param name="nodeName" select="'interpretationCode'"/>
+                        <xsl:with-param name="domain" select="'ObservationInterpretation'"/>
+                    </xsl:call-template>
+                </xsl:if>
+
+                <xsl:if test="$ccrTestNode/a:NormalResult">
+                    <referenceRange>
+                        <xsl:if test="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text">
+                            <observationRange>
+                                <text>
+                                    <xsl:value-of select="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text"/>
+                                </text>
+                            </observationRange>
+                        </xsl:if>
+                    </referenceRange>
+                </xsl:if>
+
+            </observation>
+        </component>
+
+    </xsl:template>
+</xsl:stylesheet>
Index: /ccr2ccd-xslt/trunk/gpl/ccd-vitals.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd-vitals.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd-vitals.xsl	(revision 981)
@@ -0,0 +1,83 @@
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:VitalSigns">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.16"/>
+                                <code code="8716-3" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Vital Signs</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Vital Sign</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Flag/a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <organizer classCode="CLUSTER" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+                                            <!-- Vital signs organizer template -->
+
+                                            <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+                                            <statusCode code="completed"/>
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdObservation">
+                                                <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                <xsl:with-param name="testDate" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                        </organizer>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
Index: /ccr2ccd-xslt/trunk/gpl/ccd.sh
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccd.sh	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccd.sh	(revision 981)
@@ -0,0 +1,1 @@
+xalan -in sample2.xml -xsl ccr_ccd.xsl -out ccdout2.xml
Index: /ccr2ccd-xslt/trunk/gpl/ccr_ccd.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccr_ccd.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccr_ccd.xsl	(revision 981)
@@ -0,0 +1,3076 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Conversion of CCR to Level 3 CCD
+
+Orginal Author:   	Ken Miller
+Solventus LLC
+ken.miller@solventus.coms
+
+Contributors:
+Richard Braman, EHR Doctors, Inc rbraman@ehrdoctors.com
+George Lilly (WorldVistA glilly@glilly.net)
+xxxx - Oroville Hospital
+
+Date: 	2010-05-5
+Version: 	0.1
+
+License :
+
+        This program is free software: you can redistribute it and/or modify
+        it under the terms of the GNU General Public License as published by
+        the Free Software Foundation, either version 3 of the License, or
+        (at your option) any later version.
+
+        This program is distributed in the hope that it will be useful,
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+        GNU General Public License for more details.
+
+        You should have received a copy of the GNU General Public License
+        along with this program.  If not, see http://www.gnu.org/licenses.
+
+-->
+<xsl:stylesheet version="1.0" xmlns="urn:hl7-org:v3" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="a date">
+    <xsl:import href="./templates/cdavocablookup.xsl"/>
+    <xsl:import href="./templates/hl7oidlookup.xsl"/>
+    <xsl:import href="./templates/code.xsl"/>
+    <xsl:import href="./templates/actor.xsl"/>
+    <xsl:import href="./templates/datetime.xsl"/>
+    <xsl:import href="./templates/problemDescription.xsl"/>
+
+    <xsl:output method="xml" encoding="utf-8" version="1.0" indent="yes"/>
+    <xsl:template match="/">
+        <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc"  xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd" classCode="DOCCLIN" moodCode="EVN">
+            <realmCode code="US"/>
+            <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+            <templateId root="2.16.840.1.113883.10.20.1"/>
+            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/>
+            <templateId root="2.16.840.1.113883.10.20.3"/>
+            <templateId root="2.16.840.1.113883.3.88.11.32.1"/>
+
+            <id>
+                <xsl:attribute name="root">
+                    <xsl:value-of select="/a:ContinuityOfCareRecord/a:CCRDocumentObjectID"></xsl:value-of>
+                </xsl:attribute>
+            </id>
+            <code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of episode note"/>
+             <xsl:variable name="fromID" select="/a:ContinuityOfCareRecord/a:From/a:ActorLink[1]/a:ActorID"/>
+              <xsl:variable name="ccrFromActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']/a:LinkID"/>
+            <title>Continuity of Care Document from <xsl:value-of select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrFromActorObjectID]/a:Organization/a:Name"/></title>
+            <effectiveTime>
+                <xsl:attribute name="value">
+                    <xsl:call-template name="date:format-date">
+                        <xsl:with-param name="date-time" select="/a:ContinuityOfCareRecord/a:DateTime/a:ExactDateTime"/>
+                        <xsl:with-param name="pattern">yyyyMMddhhmmss+0000</xsl:with-param>
+                    </xsl:call-template>
+                </xsl:attribute>
+            </effectiveTime>
+            <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
+            <languageCode code="en-US"/>
+
+            <recordTarget typeCode="RCT" contextControlCode="OP">
+            <patientRole>
+                <xsl:call-template name="ccdPatientRole">
+                    <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Patient[1]/a:ActorID"/>
+                </xsl:call-template>
+                </patientRole>
+            </recordTarget>
+
+            <author>
+                <time>
+                    <xsl:attribute name="value">
+                        <xsl:call-template name="date:format-date">
+                            <xsl:with-param name="date-time" select="/a:ContinuityOfCareRecord/a:DateTime/a:ExactDateTime"/>
+                            <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </time>
+                <xsl:call-template name="ccdAssignedAuthor">
+                    <xsl:with-param name="ccrActorObjectID" select="$fromID"/>
+                </xsl:call-template>
+            </author>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']">
+                <custodian>
+                    <assignedCustodian>
+                        <xsl:call-template name="ccdOrganization">
+                            <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']/a:LinkID"/>
+                            <xsl:with-param name="organizationNodeName" select="'representedCustodianOrganization'"/>
+                        </xsl:call-template>
+                    </assignedCustodian>
+                </custodian>
+            </xsl:if> 
+
+            <documentationOf>
+                <serviceEvent classCode="PCPR">
+                    <effectiveTime>
+                        <low>
+                            <xsl:attribute name="value">
+                                <xsl:call-template name="date:format-date">
+                                    <xsl:with-param name="date-time">
+                                        <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body//a:DateTime//a:ExactDateTime">
+                                            <xsl:sort order="ascending"/>
+                                            <xsl:if test="position()=1">
+                                                <xsl:value-of select="."/>
+                                            </xsl:if>
+                                        </xsl:for-each>
+                                    </xsl:with-param>
+                                    <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                                </xsl:call-template>
+                            </xsl:attribute>
+                        </low>
+                        <high>
+                            <xsl:attribute name="value">
+                                <xsl:call-template name="date:format-date">
+                                    <xsl:with-param name="date-time">
+                                        <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body//a:DateTime//a:ExactDateTime">
+                                            <xsl:sort order="descending"/>
+                                            <xsl:if test="position()=1">
+                                                <xsl:value-of select="."/>
+                                            </xsl:if>
+                                        </xsl:for-each>
+                                    </xsl:with-param>
+                                    <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                                </xsl:call-template>
+                            </xsl:attribute>
+                        </high>
+                    </effectiveTime>
+                </serviceEvent>
+
+                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders/a:Provider">
+                    <xsl:call-template name="ccdAssignedEntity">
+                        <xsl:with-param name="ccrActorObjectID" select="a:ActorID"/>
+                    </xsl:call-template>
+                </xsl:for-each>
+
+            </documentationOf>
+
+            <component>
+                <structuredBody>
+                    <component>
+                        <section>
+                            <templateId root="2.16.840.1.113883.10.20.1.13"/>
+                            <code code="48764-5" codeSystem="2.16.840.1.113883.6.1" />
+                            <title>Purpose</title>
+                            <text>
+                                <xsl:value-of select="/a:ContinuityOfCareRecord/a:Purpose/a:Description/a:Text"></xsl:value-of>
+                            </text>
+                        </section>
+                    </component>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Alerts">
+                        <component>
+                            <section>
+							  <templateId root="2.16.840.1.113883.10.20.1.2" />
+							  <!--C83 Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="2.16.840.1.113883.3.88.11.83.102" />
+							  <!--IHE Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.13" />
+                                <code code="48765-2" displayName="Allergies, adverse reactions, alerts" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
+                                <title>Alerts</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Reaction</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"/>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Reaction/a:Description/a:Text"/>
+                                                        <xsl:if test="a:Reaction/a:Severity/a:Text">
+                                                            -<xsl:value-of select="a:Reaction/a:Severity/a:Text"/>
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                             <!--CCD Problem Act Identifier-->
+											 <templateId root="2.16.840.1.113883.10.20.1.27"></templateId>
+											 <!--C83 Allergy Entry-->
+											 <templateId root="2.16.840.1.113883.3.88.11.83.6" />
+											 <!--IHE Concern Entry Conformance Identifier-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1"></templateId>
+											 <!--IHE Allergy and Intolerance Concerns Entry-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.3"></templateId>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                      <!--CCD Alert Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.18"></templateId>
+													  <!--CCD Problem Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.28" />
+													  <!--IHE Problem Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5" />
+													  <!--IHE Allergies and Intolerances Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.6" />
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="416098002" codeSystem="2.16.840.1.113883.6.96" displayName="drug allergy" codeSystemName="SNOMED CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+													<value xsi:type="CD" />
+													
+                                                   <participant typeCode="CSM">
+                                                        <xsl:choose>
+                                                            <xsl:when test="a:Agent/a:Products/a:Product/a:Product">
+                                                                <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Product/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </xsl:when>
+                                                            
+                                                        </xsl:choose>
+                                                    </participant>
+
+                                                    <xsl:if test="a:Reaction">
+                                                        <entryRelationship typeCode="MFST" inversionInd="true">
+                                                            <observation classCode="OBS" moodCode="EVN">
+                                                                <templateId root="2.16.840.1.113883.10.20.1.54"/>
+                                                                <!--Reaction observation template -->
+                                                                <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                                                                <statusCode code="completed"/>
+                                                                <xsl:call-template name="ccdCodedValue">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Reaction/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </observation>
+                                                        </entryRelationship>
+                                                    </xsl:if>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+
+                                                </observation>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.1" assigningAuthorityName="HL7 CCD"/>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.116" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.35" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.34" assigningAuthorityName="IHE PCC"/>
+                                <!--Advance Directives section template-->
+                                <code code="42348-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Advance directives"/>
+                                <title>Advance Directives</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives/a:AdvanceDirective">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="id">
+                                                            <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            <xsl:text>:Narrative</xsl:text>
+                                                        </xsl:attribute>
+
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:AdvanceDirectives/a:AdvanceDirective">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.12" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.17" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.7" assigningAuthorityName="IHE PCC"/>
+                                            <!-- Advance directive observation template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code="completed"/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="originalTextReference">
+                                                    <xsl:text>#</xsl:text>
+                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    <xsl:text>:Narrative</xsl:text>
+                                                </xsl:with-param>
+                                            </xsl:call-template>
+
+                                            <participant typeCode="VRF">
+                                                <templateId root="2.16.840.1.113883.10.20.1.58"/>
+                                                <!--Verification of an advance directive observation template -->
+                                                <time nullFlavor="UNK"/>
+                                                <xsl:call-template name="ccdParticipantRoleActor">
+                                                    <xsl:with-param name="ccrActorObjectID" select="a:Source[1]/a:ActorID"/>
+                                                </xsl:call-template>
+                                            </participant>
+
+                                            <xsl:if test="a:ReferenceID">
+                                                <reference typeCode="REFR">
+                                                    <externalDocument>
+                                                        <templateId root="2.16.840.1.113883.10.20.1.36"/>
+                                                        <!-- Advance directive reference template -->
+                                                        <xsl:variable name="referenceID" select="a:ReferenceID"/>
+                                                        <!-- <id> -->
+                                                        <xsl:call-template name="ccdID">
+                                                            <xsl:with-param name="ccrObjectID" select="$referenceID"/>
+                                                        </xsl:call-template>
+                                                        <code code="371538006" codeSystem="2.16.840.1.113883.6.96" displayName="Advance directive"/>
+                                                        <xsl:variable name="reference" select="/a:ContinuityOfCareRecord/a:References/a:Reference[a:ReferenceObjectID=$referenceID]"/>
+                                                        <text>
+                                                            <xsl:attribute name="mediaType">
+                                                                <xsl:value-of select="$reference/a:Type/a:Text"/>
+                                                            </xsl:attribute>
+                                                            <reference>
+                                                                <xsl:value-of select="$reference/a:Location[1]/a:Description/a:Text"/>
+                                                            </reference>
+                                                        </text>
+                                                    </externalDocument>
+                                                </reference>
+                                            </xsl:if>
+                                        </observation>
+                                    </entry>
+
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:FunctionalStatus">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.5"/>
+                                <code code="47420-5" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Functional Status</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <tr>
+                                                <td>
+                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:call-template name="date:format-date">
+                                                        <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                    </xsl:call-template>
+                                                </td>
+                                                <td>
+                                                    <xsl:apply-templates select="a:Description/a:Code"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:value-of select="a:Description/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:value-of select="a:Status/a:Text"/>
+                                                </td>
+                                                <td>
+                                                    <xsl:call-template name="actorName">
+                                                        <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                    </xsl:call-template>
+                                                </td>
+                                            </tr>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Problems">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
+                                <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/>
+                                <title>Problems</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <table>
+                                                            <tbody>
+                                                                <xsl:apply-templates select="a:DateTime"/>
+                                                            </tbody>
+                                                        </table>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+														<xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"></xsl:value-of>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                                            <!-- Problem act template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+
+                                            <xsl:call-template name="ccdPerformer">
+                                                <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                            </xsl:call-template>
+
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+                                                    <!--Problem observation template-->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="a:DateTime"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+                                                </observation>
+                                            </entryRelationship>
+
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Procedures">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.12"/>
+                                <code code="47519-4" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Procedures</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Substance</th>
+                                                <th>Method</th>
+                                                <th>Position</th>
+                                                <th>Site</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <table>
+                                                        <tbody>
+                                                            <xsl:apply-templates select="a:DateTime"/>
+                                                        </tbody>
+                                                    </table>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:if test="a:Actor">
+                                                                (<xsl:call-template name="actorName">
+                                                                    <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                                </xsl:call-template>
+                                                                <xsl:if test="a:Actor/a:ActorRole/a:Text">
+                                                                    <xsl:text xml:space="preserve"> - </xsl:text><xsl:value-of select="a:ActorRole/a:Text"/>)
+                                                                </xsl:if>
+                                                            </xsl:if>)
+                                                            <xsl:if test="position() != last()">
+                                                                <br/>
+                                                            </xsl:if>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Substance">
+                                                            <xsl:value-of select="a:Text"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Method/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Position/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                    <entry typeCode="DRIV">
+                                        <procedure classCode="PROC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.17" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.29" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.19" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <!-- <code> -->
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdStatusProcedure">
+                                                <xsl:with-param name="status" select="a:Status"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Method">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Method"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'targetSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Practitioners/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+                                        </procedure>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Medications">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.8" assigningAuthorityName="HL7 CCD"/>
+                                <!--Medications section template-->
+                                <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
+                                <title>Medications</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Medication</th>
+                                                <th>Date</th>
+                                                <th>Status</th>
+                                                <th>Form</th>
+                                                <th>Strength</th>
+                                                <th>Quantity</th>
+                                                <th>SIG</th>
+                                                <th>Indications</th>
+                                                <th>Instruction</th>
+                                                <th>Refills</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:BrandName">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:BrandName/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:Form/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Product/a:Strength">
+                                                            <xsl:if test="position() > 1">
+                                                                <xsl:text>/</xsl:text>
+                                                            </xsl:if>
+                                                            <xsl:value-of select="a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Units/a:Unit"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Quantity/a:Value"/>
+                                                        <xsl:text xml:space="preserve"> </xsl:text>
+                                                        <xsl:value-of select="a:Quantity/a:Units/a:Unit"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction">
+                                                            <xsl:choose>
+                                                                <xsl:when test="a:Description/a:Text">
+                                                                    <xsl:value-of select="a:Description/a:Text"/>
+                                                                </xsl:when>
+                                                                <xsl:otherwise>
+                                                                    <xsl:value-of select="a:Dose/a:Value"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Dose/a:Units/a:Unit"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Route/a:Text"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Frequency/a:Value"/>
+                                                                    <xsl:if test="a:Duration">
+                                                                        <xsl:text xml:space="preserve">( </xsl:text>for <xsl:value-of select="a:Duration/a:Value"/><xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:Duration/a:Units/a:Unit"/><xsl:text xml:space="preserve"> )</xsl:text>
+                                                                    </xsl:if>
+                                                                    <xsl:if test="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                        <xsl:for-each select="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                            <xsl:value-of select="a:Attribute"/>
+                                                                            <br/>
+                                                                            <xsl:value-of select="a:AttributeValue/a:Value"/>
+                                                                        </xsl:for-each>
+                                                                    </xsl:if>
+                                                                </xsl:otherwise>
+                                                            </xsl:choose>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction[1]/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:PatientInstructions/a:Instruction">
+                                                            <xsl:value-of select="a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Refills/a:Refill">
+                                                            <xsl:value-of select="a:Number"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+
+                                            <!--Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdMedicationFrequency">
+                                                <xsl:with-param name="frequency" select="a:Directions/a:Direction/a:Frequency"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Dose">
+                                                <doseQuantity>
+                                                    <low>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </low>
+                                                    <high>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </high>
+                                                </doseQuantity>
+                                            </xsl:if>
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Immunizations">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.6"/>
+                                <code code="11369-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Immunizations</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Code</th>
+                                                <th>Vaccine</th>
+                                                <th>Date</th>
+                                                <th>Route</th>
+                                                <th>Site</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Product/a:ProductName/a:Code"/>
+                                                    </td>
+                                                    <td>
+
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:Form">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:Form/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Route/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="id">
+                                                            <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            <xsl:text>:Site</xsl:text>
+                                                        </xsl:attribute>
+
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.13" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.12" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7 ActCode"/>
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                    <xsl:with-param name="originalTextReference">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                        <xsl:text>:Site</xsl:text>
+                                                    </xsl:with-param>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:VitalSigns">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.16"/>
+                                <code code="8716-3" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Vital Signs</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Vital Sign</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Flag/a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <organizer classCode="CLUSTER" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+                                            <!-- Vital signs organizer template -->
+
+                                            <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+                                            <statusCode code="completed"/>
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdObservation">
+                                                <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                <xsl:with-param name="testDate" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                        </organizer>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Encounters">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.127" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.3" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.3" assigningAuthorityName="HL7 CCD"/>
+                                <!--Encounters section template-->
+                                <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
+                                <title>Encounters</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Location</th>
+                                                <th>Status</th>
+                                                <th>Practitioner</th>
+                                                <th>Description</th>
+                                                <th>Indications</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Practitioners/a:Practitioner">
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Indications/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                    <entry typeCode="DRIV">
+                                        <encounter classCode="ENC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Encounter activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Practitioners[1]/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Locations[1]/a:Location">
+                                                <participant typeCode="LOC">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.45"/>
+                                                    <!-- Location participation template -->
+                                                    <xsl:choose>
+                                                        <xsl:when test="a:Locations[1]/a:Location/a:ActorID">
+                                                            <xsl:call-template name="ccdParticipantRoleActor">
+                                                                <xsl:with-param name="ccrActorObjectID" select="a:Locations[1]/a:Location/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </xsl:when>
+                                                        <xsl:otherwise>
+                                                            <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Locations[1]/a:Location/a:Description"/>
+                                                            </xsl:call-template>
+                                                        </xsl:otherwise>
+                                                    </xsl:choose>
+                                                </participant>
+                                            </xsl:if>
+                                        </encounter>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:SocialHistory">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.15"/>
+                                <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Social History</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text" disable-output-escaping="yes"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.19" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.33" assigningAuthorityName="CCD"/>
+                                            <!-- Social history observation template -->
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+                                            <statusCode code="completed"/>
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+                                            <entryRelationship typeCode="SUBJ" inversionInd="true">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.41"/>
+                                                    <!-- Episode observation template -->
+                                                    <statusCode code="completed"/>
+                                                    <entryRelationship typeCode="SAS">
+                                                        <observation classCode="OBS" moodCode="EVN">
+                                                            <xsl:call-template name="ccdCodedValue">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                                            </xsl:call-template>
+                                                        </observation>
+                                                    </entryRelationship>
+                                                </observation>
+                                            </entryRelationship>
+                                        </observation>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:FamilyHistory">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.4"/>
+                                <code code="10157-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Family History</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Relationship(s)</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:FamilyHistory/a:FamilyProblemHistory">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Problem/a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Problem">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:FamilyMember/a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.14"/>
+                                <code code="30954-2" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Results</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Test</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Value!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Value"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Description/a:Text!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                        <xsl:choose>
+                                            <xsl:when test="count(a:Test)>1">
+                                                <organizer classCode="BATTERY" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.32"/>
+                                                    <!--Result organizer template -->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                    </xsl:call-template>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <!-- <effectiveTime> -->
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="$testDate"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:for-each select="a:Test">
+                                                        <xsl:call-template name="ccdObservation">
+                                                            <xsl:with-param name="ccrTestNode" select="."/>
+                                                            <xsl:with-param name="testDate" select="$testDate"/>
+                                                        </xsl:call-template>
+                                                    </xsl:for-each>
+
+                                                </organizer>
+
+                                            </xsl:when>
+                                            <xsl:otherwise>
+                                                <xsl:call-template name="ccdObservation">
+                                                    <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                    <xsl:with-param name="testDate" select="$testDate"/>
+                                                </xsl:call-template>
+                                            </xsl:otherwise>
+                                        </xsl:choose>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Payers">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.9"/>
+                                <code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Insurance</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Payment Provider</th>
+                                                <th>Subscriber</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:IDs">
+                                                            <xsl:value-of select="a:Type/a:Text"/>:<xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:ID"/><br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:PaymentProvider/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Subscriber/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="DEF">
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.17" assigningAuthorityName="IHE PCC"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.20" assigningAuthorityName="CCD"/>
+                                            <!-- Coverage entry template -->
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+                                            <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment sources"/>
+                                            <statusCode code="completed"/>
+                                            <entryRelationship typeCode="COMP">
+                                                <act classCode="ACT" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.5" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.26" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.18" assigningAuthorityName="IHE PCC"/>
+                                                    <!--Insurance provider template -->
+                                                    <id>
+                                                        <xsl:attribute name="root">
+                                                            <xsl:value-of select="a:IDs[1]/a:ID"/>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="extension">
+                                                            <xsl:value-of select="a:IDs[1]/a:Type/a:Text"/>
+                                                        </xsl:attribute>
+                                                    </id>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:PaymentProvider"/>
+                                                    </xsl:call-template>
+
+                                                    <participant typeCode="HLD">
+                                                        <xsl:call-template name="ccdParticipantRoleActor">
+                                                            <xsl:with-param name="ccrActorReference" select="a:Subscriber"/>
+                                                        </xsl:call-template>
+                                                    </participant>
+                                                </act>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.10"/>
+                                <code code="18776-5" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Plan Of Care</title>
+                                <text>
+                                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Treatment Recommendation']">
+                                        <xsl:text>Plan Of Care Recommendations</xsl:text>
+                                        <br/>
+                                        <table>
+                                            <tbody>
+                                                <tr>
+                                                    <th>Description</th>
+                                                    <th>Recommendation</th>
+                                                    <th>Goal</th>
+                                                    <th>Status</th>
+                                                    <th>Source</th>
+                                                </tr>
+                                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Treatment Recommendation']">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Goals/a:Goal/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Status/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:for-each>
+                                            </tbody>
+                                        </table>
+                                    </xsl:if>
+                                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Order']">
+                                        <xsl:text>Plan Of Care Orders</xsl:text>
+                                        <br/>
+                                        <table>
+                                            <tbody>
+                                                <tr>
+                                                    <th>Descripion</th>
+                                                    <th>Plan Status</th>
+                                                    <th>Type</th>
+                                                    <th>Date</th>
+                                                    <th>Procedure</th>
+                                                    <th>Schedule</th>
+                                                    <th>Location</th>
+                                                    <th>Substance</th>
+                                                    <th>Method</th>
+                                                    <th>Position</th>
+                                                    <th>Site</th>
+                                                    <th>Status</th>
+                                                    <th>Source</th>
+                                                </tr>
+                                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan[a:Type/a:Text='Order']">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:apply-templates select="a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Status/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Type/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:call-template name="date:format-date">
+                                                                <xsl:with-param name="date-time" select="a:OrderRequest/a:Procedures/a:Procedure/a:DateTime/a:ExactDateTime"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:apply-templates select="a:OrderRequest/a:Procedures/a:Procedure/a:Description/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:text xml:space="preserve">Every </xsl:text>
+                                                            <xsl:apply-templates select="a:OrderRequest/a:Procedures/a:Procedure/a:Interval/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Interval/a:Units/a:Unit"/>
+                                                            <xsl:text xml:space="preserve"> for </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Duration/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Duration/a:Units/a:Unit"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:OrderRequest/a:Procedures/a:Procedure/a:Locations">
+                                                                <xsl:value-of select="a:Location/a:Description/a:Text"/>
+                                                                <xsl:if test="position() != last()">
+                                                                    <br/>
+                                                                </xsl:if>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Substance/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Method/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Position/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:OrderRequest/a:Procedures/a:Procedure/a:Site/a:Text"/>
+                                                        </td>
+                                                        <td/>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:for-each>
+                                            </tbody>
+                                        </table>
+                                    </xsl:if>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Procedures/a:Procedure">
+                                    <entry typeCode="DRIV">
+                                        <observation classCode="OBS" moodCode="RQO">
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.20.3.1"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <!-- <code> -->
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code="new"/>
+
+                                            <effectiveTime>
+                                                <xsl:choose>
+                                                    <xsl:when test="a:DateTime">
+                                                        <xsl:call-template name="ccdDateTime">
+                                                            <xsl:with-param name="dt" select="a:DateTime"/>
+                                                        </xsl:call-template>
+                                                    </xsl:when>
+                                                    <xsl:when test="a:Interval">
+                                                        <xsl:attribute name="xsi:type">PIVL_TS</xsl:attribute>
+                                                        <xsl:attribute name="operator">A</xsl:attribute>
+                                                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                                                        <period>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:value-of select="a:Interval/a:Value"/>
+                                                            </xsl:attribute>
+                                                            <xsl:attribute name="unit">
+                                                                <xsl:value-of select="a:Interval/a:Units/a:Unit"/>
+                                                            </xsl:attribute>
+                                                        </period>
+                                                    </xsl:when>
+                                                </xsl:choose>
+                                            </effectiveTime>
+                                        </observation>
+                                    </entry>
+                                </xsl:for-each>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Medications/a:Medication">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="INT">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+
+                                            <!--Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdMedicationFrequency">
+                                                <xsl:with-param name="frequency" select="a:Directions/a:Direction/a:Frequency"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Dose">
+                                                <doseQuantity>
+                                                    <low>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </low>
+                                                    <high>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </high>
+                                                </doseQuantity>
+                                            </xsl:if>
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Immunizations/a:Immunization">
+
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.13" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.12" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7 ActCode"/>
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                    <xsl:with-param name="originalTextReference">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                        <xsl:text>:Site</xsl:text>
+                                                    </xsl:with-param>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:PlanOfCare/a:Plan/a:OrderRequest/a:Encounters/a:Encounter">
+                                    <entry typeCode="DRIV">
+                                        <encounter classCode="ENC" moodCode="INT">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Encounter activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Practitioners[1]/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Locations[1]/a:Location">
+                                                <participant typeCode="LOC">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.45"/>
+                                                    <!-- Location participation template -->
+                                                    <xsl:choose>
+                                                        <xsl:when test="a:Locations[1]/a:Location/a:ActorID">
+                                                            <xsl:call-template name="ccdParticipantRoleActor">
+                                                                <xsl:with-param name="ccrActorObjectID" select="a:Locations[1]/a:Location/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </xsl:when>
+                                                        <xsl:otherwise>
+                                                            <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Locations[1]/a:Location/a:Description"/>
+                                                            </xsl:call-template>
+                                                        </xsl:otherwise>
+                                                    </xsl:choose>
+                                                </participant>
+                                            </xsl:if>
+                                        </encounter>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders">
+                        <component>
+                            <section>
+                                <title>Health Care Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders/a:Provider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <!--
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:SupportProviders">
+                        <component>
+                            <section>
+                                <title>Support Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Support/a:SupportProvider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:References">
+                        <component>
+                            <section>
+                                <title>References</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:References/a:Reference">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <strong class="clinical">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                        </strong>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Locations/a:Location/a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    -->
+                    <!--
+                    <component>
+                        <section>
+                            <title>Additional Information About People &amp; Organizations</title>
+                            <text>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Person]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Person/a:Name/a:DisplayName|a:Person/a:Name/a:CurrentName/a:Family" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Person">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorObjectID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Organization]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Organization/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Organization">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:Organization/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:InformationSystem]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Type</th>
+                                                <th>Version</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:InformationSystem/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:InformationSystem">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Type"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Version"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                            </text>
+                        </section>
+                    </component>
+                    -->
+                </structuredBody>
+            </component>
+        </ClinicalDocument>
+    </xsl:template>
+
+    <xsl:template name="ccdAssignedEntity">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <assignedEntity>
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActor/a:Person">
+                <xsl:call-template name="ccdPerson">
+                    <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+                    <xsl:with-param name="personNodeName" select="'assignedPerson'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                    <xsl:with-param name="organizationNodeName" select="'representedOrganization'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+        </assignedEntity>
+    </xsl:template>
+
+    <xsl:template name="ccdPatient">
+        <xsl:param name="CCRActorPerson"/>
+        <patient>
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActorPerson/a:Gender">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$CCRActorPerson/a:Gender"/>
+                    <xsl:with-param name="domain" select="'AdministrativeGender'"/>
+                    <xsl:with-param name="nodeName" select="'administrativeGenderCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActorPerson/a:DateOfBirth">
+                <birthTime>
+                    <xsl:attribute name="value">
+                        <xsl:call-template name="date:format-date">
+                            <xsl:with-param name="date-time" select="$CCRActorPerson/a:DateOfBirth/a:ExactDateTime"/>
+                            <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </birthTime>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']/a:Description"/>
+                    <xsl:with-param name="domain" select="'MaritalStatus'"/>
+                    <xsl:with-param name="nodeName" select="'maritalStatusCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']">
+                <languageCommunication>
+                    <templateId root="2.16.840.1.113883.3.88.11.83.2" assigningAuthorityName="HITSP/C83"/>
+                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.1" assigningAuthorityName="IHE/PCC"/>
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']/a:Description"></xsl:with-param>
+                        <xsl:with-param name="domain" select="'HumanLanguage'"/>
+                        <xsl:with-param name="nodeName" select="'languageCode'"/>
+                    </xsl:call-template>
+                </languageCommunication>
+            </xsl:if>
+        </patient>
+    </xsl:template>
+
+    <xsl:template name="ccdPerformer">
+        <xsl:param name="ccrActorReference"/>
+        <performer typeCode="PRF">
+            <xsl:if test="$ccrActorReference/a:ActorRole">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrActorReference/a:ActorRole"/>
+                    <xsl:with-param name="nodeName" select="'functionCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+            <xsl:call-template name="ccdAssignedEntity">
+                <xsl:with-param name="ccrActorObjectID" select="$ccrActorReference/a:ActorID"/>
+            </xsl:call-template>
+        </performer>
+    </xsl:template>
+
+    <xsl:template name="ccdPerson">
+        <xsl:param name="CCRActorPerson"/>
+        <xsl:param name="personNodeName">assignedPerson</xsl:param>
+        <xsl:element name="{$personNodeName}">
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPersonName">
+        <xsl:param name="CCRActorName"/>
+        <name>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Title">
+                <prefix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Title"/>
+                </prefix>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Given">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Given"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Middle">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Middle"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Family">
+                <family>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Family"/>
+                </family>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Suffix">
+                <suffix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Suffix"/>
+                </suffix>
+            </xsl:if>
+        </name>
+    </xsl:template>
+
+    <xsl:template name="ccdOrganization">
+        <xsl:param name="ccrActorObjectID"/>
+        <xsl:param name="organizationNodeName"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:element name="{$organizationNodeName}">
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPatientRole">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPatient">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <xsl:template name="ccdAssignedAuthor">
+        <xsl:param name="ccrActorObjectID"/>
+		<assignedAuthor>
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPerson">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+            <representedOrganization>
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                </xsl:call-template>
+            </representedOrganization>
+        </xsl:if>
+        </assignedAuthor>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleActor">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:Organization/a:Name">
+            <playingEntity classCode="PLC">
+                <name>
+                    <xsl:value-of select="$CCRActor/a:Organization/a:Name"/>
+                </name>
+            </playingEntity>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleCodedDescription">
+        <xsl:param name="ccrCodedDescription"/>
+        <participantRole classCode="MANU">
+           <!--Product Detail-->
+           <playingEntity classCode="MMAT">
+				<xsl:if test="$ccrCodedDescription/a:Code">
+					<xsl:call-template name="ccdCodedValue">
+						<xsl:with-param name="ccrCodedDescription" select="$ccrCodedDescription"/>
+						<xsl:with-param name="nodeName" select="'code'"/>
+					</xsl:call-template>
+				</xsl:if>
+				<name>
+					<xsl:value-of select="$ccrCodedDescription/a:Text"/>
+				</name>
+			</playingEntity>
+		</participantRole>
+    </xsl:template>
+
+    <xsl:template name="ccdEntityID">
+        <xsl:param name="CCRActor"/>
+        <id>
+            <xsl:choose>
+                <xsl:when test="$CCRActor/a:IDs">
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:ID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:Type/a:Text"/>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:ActorObjectID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:text>CCRActorID</xsl:text>
+                    </xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </id>
+         <xsl:if test="$CCRActor/a:Organization">
+            <name><xsl:value-of select="$CCRActor/a:Organization/a:Name"></xsl:value-of></name>
+        </xsl:if>
+    </xsl:template>		
+    <xsl:template name="ccdAddress">
+        <xsl:param name="CCRActorAddress"/>
+        <addr>
+            <xsl:choose>
+                <xsl:when test="$CCRActorAddress">
+                    <xsl:attribute name="use">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                            <xsl:with-param name="ccrtext" select="$CCRActorAddress/a:Type/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <streetAddressLine>
+                        <xsl:value-of select="$CCRActorAddress/a:Line1"/>
+                    </streetAddressLine>
+                    <city>
+                        <xsl:value-of select="$CCRActorAddress/a:City"/>
+                    </city>
+                    <state>
+                        <xsl:value-of select="$CCRActorAddress/a:State"/>
+                    </state>
+                    <postalCode>
+                        <xsl:value-of select="$CCRActorAddress/a:PostalCode"/>
+                    </postalCode>
+                </xsl:when>
+                <xsl:otherwise>
+                    <streetAddressLine/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </addr>
+    </xsl:template>
+    
+    <xsl:template name="ccdTelecom">
+        <xsl:param name="CCRActor"/>
+        <telecom>
+            <xsl:if test="$CCRActor/a:Telephone">
+                <xsl:attribute name="use">
+                    <xsl:call-template name="CDAVocabularyLookup">
+                        <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                        <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+                <xsl:attribute name="value">
+                    <xsl:text>tel:+1-</xsl:text>
+                    <xsl:value-of select="$CCRActor/a:Telephone[1]/a:Value"/>
+                </xsl:attribute>
+            </xsl:if>
+        </telecom>
+
+        <xsl:if test="$CCRActor/a:Email">
+            <telecom>
+                <xsl:choose>
+                    <xsl:when test="$CCRActor/a:Telephone">
+                        <xsl:attribute name="use">
+                            <xsl:call-template name="CDAVocabularyLookup">
+                                <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                                <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                        <xsl:attribute name="value">
+                            <xsl:text>mailto:</xsl:text>
+                            <xsl:value-of select="$CCRActor/a:Email[1]/a:Value"/>
+                        </xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="value">
+                            <xsl:text>Unknown</xsl:text>
+                        </xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </telecom>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdID">
+        <xsl:param name="ccrObjectID"/>
+        <xsl:param name="suffix"/>
+        <id>
+            <xsl:attribute name="root">
+                <xsl:value-of select="$ccrObjectID"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="extension">CCRObjectID</xsl:attribute>
+        </id>
+    </xsl:template>
+
+    <xsl:template name="ccdCodedValue">
+        <xsl:param name="ccrCodedDescription"/>
+        <xsl:param name="type"/>
+        <xsl:param name="domain"/>
+        <xsl:param name="nodeName">value</xsl:param>
+        <xsl:param name="originalTextReference"/>
+
+        <xsl:element name="{$nodeName}">
+            <xsl:if test="$type">
+                <xsl:attribute name="xsi:type">
+                    <xsl:value-of select="$type"/>
+                </xsl:attribute>
+            </xsl:if>
+            <xsl:choose>
+                <xsl:when test="$ccrCodedDescription/a:Code">
+                    <xsl:attribute name="displayName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:Value"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystem">
+                        <xsl:call-template name="HL7OIDLookup">
+                            <xsl:with-param name="name" select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:when test="$domain">
+                    <xsl:variable name="cdaCode">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="ccrtext" select="$ccrCodedDescription/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:variable>
+                    <xsl:attribute name="displayName">
+                        <xsl:call-template name="CDADisplayNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="cdacode" select="$cdaCode"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$cdaCode"></xsl:value-of>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <originalText>
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                        <xsl:if test="$originalTextReference">
+                            <reference>
+                                <xsl:attribute name="value">
+                                    <xsl:value-of select="$originalTextReference"/>
+                                </xsl:attribute>
+                            </reference>
+                        </xsl:if>
+                    </originalText>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdDateTime">
+        <xsl:param name="dt"/>
+        <xsl:param name="type"/>
+        <xsl:if test="$dt">
+            <xsl:if test="$dt[1]/a:ExactDateTime">
+                <effectiveTime>
+                    <xsl:if test="$type">
+                        <xsl:attribute name="xsi:type">
+                            <xsl:value-of select="$type"></xsl:value-of>
+                        </xsl:attribute>
+                    </xsl:if>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high nullFlavor="UNK"/>
+                </effectiveTime>
+            </xsl:if>
+            <xsl:if test="$dt[1]/a:DateTimeRange">
+                <effectiveTime>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:BeginRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:EndRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </high>
+                </effectiveTime>
+            </xsl:if>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdMedicationFrequency">
+        <xsl:param name="frequency"/>
+        <xsl:if test="$frequency">
+            <xsl:choose>
+                <xsl:when test="$frequency/a:Value='qd'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">24</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='bid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">12</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='tid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">8</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">6</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qam'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='ACM'/>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qpm'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='PCV'/>
+                    </effectiveTime>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdStatus">
+        <xsl:param name="ccrStatus"/>
+
+        <entryRelationship typeCode="REFR">
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                <!-- Problem status observation template -->
+                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+                <statusCode code="completed"/>
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrStatus"/>
+                </xsl:call-template>
+            </observation>
+        </entryRelationship>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusObservation">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Active'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'55561003'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Inactive'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'73425007'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Chronic'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'90734009'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusProcedure">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Completed'">
+                <statusCode code="completed"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Active'">
+                <statusCode code="active"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Aborted'">
+                <statusCode code="aborted"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Cancelled' or $statusText='Canceled'">
+                <statusCode code="cancelled"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <statusCode>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$statusText"></xsl:value-of>
+                    </xsl:attribute>
+                </statusCode>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusElement">
+        <xsl:param name="statusCode"/>
+        <xsl:param name="statusDisplayName"/>
+        <value>
+            <xsl:attribute name="xsi:type">CE</xsl:attribute>
+            <xsl:attribute name="code">
+                <xsl:value-of select="$statusCode"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="codeSystem">2.16.840.1.113883.6.96</xsl:attribute>
+            <xsl:attribute name="displayName">
+                <xsl:value-of select="$statusDisplayName"></xsl:value-of>
+            </xsl:attribute>
+        </value>
+    </xsl:template>
+
+    <xsl:template name="ccdObservation">
+        <xsl:param name="ccrTestNode"/>
+        <xsl:param name="testDate"/>
+
+        <component>
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+                <templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+
+                <!-- Result observation template -->
+
+                <xsl:call-template name="ccdID">
+                    <xsl:with-param name="ccrObjectID" select="$ccrTestNode/a:CCRDataObjectID"/>
+                </xsl:call-template>
+
+                <!-- <code> -->
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Description"/>
+                    <xsl:with-param name="nodeName" select="'code'"/>
+                </xsl:call-template>
+
+                <text>
+                    <reference>
+                        <xsl:attribute name="value">
+                            <xsl:text>#</xsl:text>
+                            <xsl:value-of select="$ccrTestNode/a:CCRDataObjectID"/>
+                        </xsl:attribute>
+                    </reference>
+                </text>
+
+                <statusCode code="completed"/>
+
+                <!-- <effectiveTime> -->
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:DateTime">
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$ccrTestNode/a:DateTime"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$testDate"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Value!='']">
+                        <value xsi:type="PQ">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Value"/>
+                            </xsl:attribute>
+                            <xsl:attribute name="unit">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Units/a:Unit"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Description/a:Text!='']">
+                        <value xsi:type="TX">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Description/a:Text"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                </xsl:choose>
+
+                <xsl:if test="$ccrTestNode/a:Flag">
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Flag"/>
+                        <xsl:with-param name="nodeName" select="'interpretationCode'"/>
+                        <xsl:with-param name="domain" select="'ObservationInterpretation'"/>
+                    </xsl:call-template>
+                </xsl:if>
+
+                <xsl:if test="$ccrTestNode/a:NormalResult">
+                    <referenceRange>
+                        <xsl:if test="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text">
+                            <observationRange>
+                                <text>
+                                    <xsl:value-of select="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text"/>
+                                </text>
+                            </observationRange>
+                        </xsl:if>
+                    </referenceRange>
+                </xsl:if>
+
+            </observation>
+        </component>
+
+    </xsl:template>
+</xsl:stylesheet>
Index: /ccr2ccd-xslt/trunk/gpl/ccr_qrda.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/ccr_qrda.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/ccr_qrda.xsl	(revision 981)
@@ -0,0 +1,2760 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Conversion of CCR to Level 3 CCD
+
+Orginal Author:   	Ken Miller
+Solventus LLC
+ken.miller@solventus.coms
+
+Contributors:
+Richard Braman, EHR Doctors, Inc rbraman@ehrdoctors.com
+George Lilly (WorldVistA glilly@glilly.net)
+Nancy Antracite, WorldVistA
+xxxx - Oroville Hospital
+
+Date: 	2010-05-5
+Version: 	0.1
+
+License :
+
+        This program is free software: you can redistribute it and/or modify
+        it under the terms of the GNU General Public License as published by
+        the Free Software Foundation, either version 3 of the License, or
+        (at your option) any later version.
+
+        This program is distributed in the hope that it will be useful,
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+        GNU General Public License for more details.
+
+        You should have received a copy of the GNU General Public License
+        along with this program.  If not, see http://www.gnu.org/licenses.
+
+-->
+<xsl:stylesheet version="1.0" xmlns="urn:hl7-org:v3" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="a date">
+    <xsl:import href="./templates/cdavocablookup.xsl"/>
+    <xsl:import href="./templates/hl7oidlookup.xsl"/>
+    <xsl:import href="./templates/code.xsl"/>
+    <xsl:import href="./templates/actor.xsl"/>
+    <xsl:import href="./templates/datetime.xsl"/>
+    <xsl:import href="./templates/problemDescription.xsl"/>
+
+    <xsl:output method="xml" encoding="utf-8" version="1.0" indent="yes"/>
+    <xsl:template match="/">
+<!--WV Added new munltiple documentation of added have to do with encounter times, etc.-->
+
+<!--
+********************************************************
+CDA Header
+********************************************************
+-->
+
+<!--
+******************
+Document Information
+**********************
+-->
+<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
+	<!-- Created with XML Copy Editor  Open Source Sourceforge project. -->
+<!--WVP This is the clinical document type ID-->
+  <realmCode code="US"/>
+	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+	<!-- QRDA Category I generic template ID. -->
+	<!--WVP these next two lines are fixed-->
+	<templateId root="2.16.840.1.113883.10.20.12" />
+	<!--only in the july spec so not sure if it should be here-->
+	<templateId root="2.16.840.1.113883.3.249.11.100.1"/>
+	<!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
+	<!-- WV? for this group of 10 documents we are submitting-->
+	<id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
+		 <!--WVP next two lines fixed-->
+	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
+	<title>QRDA Incidence Report</title>
+		<!--WVV time-->
+	<effectiveTime value="20100703"/>
+		<!--WVP for next two lines-->
+  <confidentialityCode codeSystem="2.16.840.1.113883.5.25" code="N"/>
+  <languageCode code="en-US"/>
+  <!--WV? Don't change this in the document set we are working on-->
+  <setId root="2.16.840.1.113883.3.543" extension="01.01.01.100000001"/>
+	 <versionNumber value="1"/>
+  <!--WVP  I made one up but we will have to have an OID for the Clincal Document SET which we will make up for ourselves eventually-->
+  
+ <!--
+ *******************
+ Patient Information
+ ****************
+ -->
+	<!-- This is the patient for which the report is describing. -->
+	<recordTarget>
+		<patientRole>
+		  <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
+		  <!--Can't change during the reporting period-->
+			<id root="2.16.840.1.113883.4.1" extension="002386407"/>
+      <!--WVV address is not required-->
+			<addr>
+			  <streetAddressLine>1200 Sanders Lane</streetAddressLine>
+			  <city>Rockville</city>
+			  <state>MD</state>
+			  <postalCode>20850</postalCode>
+			</addr>
+			<patient>
+<!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
+				<name>
+				  <!-- WV Edit -->
+					<given>Jody</given>
+					<family>Jones</family>
+				</name >
+
+				<!--VV Gender code can be M, F  or UN for undifferentiated-->
+				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
+      <!--WVV  Birth Time at least to the day-->
+        <birthTime value="19450101"/>
+        <!--WVV Edit-->
+				<!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
+				<!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
+				<raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
+        <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
+				<!--WV 2186-5 is Not Hispanic or Latino -->
+				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
+      </patient>
+      <!--WV Added to sample document and required NPI as extension and root is permanent-->
+      <providerOrganization>
+      <id root="2.16.840.1.113883.4.6" extension="6558574524" />
+        <name>WorldVistA Test Clinic</name>
+        <!--WVV address of organization which must have NPI is optional-->
+        <addr>
+          <streetAddressLine>123 Maple Ave</streetAddressLine>
+          <city>Gaithersburg</city>
+          <state>MD</state>
+          <postalCode>20877</postalCode>
+        </addr>
+      <!--WVP required asOrganizationPartOf added to sample-->
+        <asOrganizationPartOf>
+          <wholeOrganization>
+            <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
+            <id root="2.16.840.1.113883.4.2" extension="002345678"/>
+          </wholeOrganization> 
+        </asOrganizationPartOf>
+      </providerOrganization>
+		</patientRole>
+	</recordTarget>
+
+<!--
+*****************************
+Author
+**************
+-->
+	<!-- This example assumes the doctor is creating the report and it is Required.  -->
+	<author>
+	  <!--WVV Edit time has to be precise at least to the day-->
+		<time value="20100703" />
+		<assignedAuthor>
+		  <!--WVP eventually id this is required, the root is fixed -->
+		  <!--andn the extension is the SOFTWARE version number assigned by CMS to WV EHR-->
+			<id root="2.16.840.1.113883.3.249.6" extension="100001" />
+			<!--WVVassignedPerson not required-->
+			<assignedPerson>
+				<name>
+				  <!--WV Edit-->
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? id root is OID for the organization so I made one up for this document set-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedAuthor>
+	</author>
+		<!-- The reporting healthcare facility is represented using the CCD "Source of Information" construct, via the Informant participant. -->
+	<informant>
+	   <assignedEntity>
+      <!--WV this null flavor is required as is-->
+			<id nullFlavor="NA"/>
+			<representedOrganization>
+				<!--WV root is the OID of the organization.  ID is required but name is not and id is OID stated earlier-->
+        <id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>World VistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</informant>
+
+	<!-- This example assumes that the institution responsible for the data is serving as custodian. -->
+	<!--WV This element is required as is the sSD which is not stated if it is an OID but assumed it is-->
+	<!--WV Name is not required, only ID is required.-->
+	<custodian>
+		<assignedCustodian>
+			<representedCustodianOrganization>
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedCustodianOrganization>
+		</assignedCustodian>
+	</custodian>
+
+	<!-- In this example, the author is also serving as legal authenticator. -->
+	<!--WV section is this is not required-->
+<legalAuthenticator>
+		<time value="20100703" />
+		<!--WV the signature code of S is required-->
+		<signatureCode code="S" />
+		<assignedEntity>
+      <!--WV document does not specify the requirements of the id but it is required-->
+      <!--WVP and the sample suggests it is the number below and extension is ???-->
+			<id root="2.16.840.1.113883.3.543" extension="111111" />
+			<assignedPerson>
+				<name>
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? and is fixed for the WorldVistA Test Clinic in this submitted document series-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</legalAuthenticator>
+	
+	
+	
+	<!--Added to sample as it is new since 2008-->
+	<!--WVP permanent for participant in the primary care provider participant-->
+<!--WVP performer type codes are numerous but PRF is performer or the person who did it-->
+	<participant typeCode="PRF">
+	  <!--WVP required as is for function-->
+	  <!-- WVP I believe PCP is primary care provider but not sure-->
+	  <functionCode code="PCP" codeSystem="2.16.840.1.113883.5.88"/>
+	  <!--WVP Associated Entity is required ti be there with this PROV-->
+	  <associatedEntity classCode="PROV">
+	    <!--WV? OID of the provider fixed for this series of documents-->
+	    <id root="2.16.840.1.113883.3.249.6" extension="111111" />
+	    <!--WV associated person is not required so presumabley the code will suffice not sure??-->
+	    <associatedPerson>
+	      <name>
+	        <prefix>Dr.</prefix>
+	        <given>Nancy</given>
+	        <family>Anthracite</family>
+        </name>
+	    </associatedPerson>
+    </associatedEntity>
+	</participant>
+	
+	<!--The service event is the encounter that describes tehe encunter as well as the provider, location and time-->
+	<!--!There can be one or more documentation elements depending on the number of encounters during the reporting period-->
+	<!--WVV IMPORTANT!! The encounter codeds are recorded here-->
+	<!-- They are in appendix B of the downloadable resource document-->
+	<!-- Each documentation of is a single service event-->
+	
+<!--Occurence of Measures episode documention-->
+<!--Like an encounter section only for QRDA-->
+<!--Same doctor, same clinic, different date and different enconter code-->
+	
+	
+	<!--First Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99202" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100205"/>
+        <high value="20100205"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	
+	
+	<!--Second Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99204" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100703"/>
+        <high value="20100703"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	<!-- 
+********************************************************
+CDA Body
+********************************************************
+-->
+ <component>
+ 	<structuredBody>
+  	<!-- 
+	  ********************************************************
+     Measure Set Section
+	  ********************************************************
+     -->
+ 	    <component>
+        <section>
+        <!-- WVP QRDA Category I measure-specific template ID for 2010 #1. -->
+        <!--WP Next 3 lines do not change during the reporting period, for the measures section-->
+          <templateId root="2.16.840.1.113883.3.249.11.12" />
+          <code code="55185-3" codeSystem="2.16.840.1.113883.6.1" />
+          <title>Measure set: CMS EHR Measure Set</title>
+          <text>2010 Measures Set Measures</text>
+          <!--
+                ***************************************************
+                Measure Section
+                ***************************************************
+                -->
+           <component>
+            <section>
+              <!--template ID for each measure being reported-->
+              <templateId root="2.16.840.1.113883.3.249.11.2" />
+              <templateId root="2.16.840.1.113883.3.249.11.3" />
+              <templateId root="2.16.840.1.113883.3.249.11.4" />
+              <templateId root="2.16.840.1.113883.3.249.11.5" />
+              <templateId root="2.16.840.1.113883.3.249.11.6" />
+              <templateId root="2.16.840.1.113883.3.249.11.7" />
+              <templateId root="2.16.840.1.113883.3.249.11.8" />
+              <templateId root="2.16.840.1.113883.3.249.11.9" />
+              <templateId root="2.16.840.1.113883.3.249.11.10" />
+              <templateId root="2.16.840.1.113883.3.249.11.11" />
+              <templateId root="2.16.840.1.113883.3.249.11.15" />
+              <code code="55186-1" codeSystem="2.16.840.1.113883.6.1" />
+              <title>Measure Section</title>
+              <!--Here is where the HTML begins for the above and it is optional-->
+              <text>
+                <list>
+                  <item>CMS Measure #1: Diabetes Mellitus: Hemoglobin A1c Poor Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #2: Diabetes Mellitus: Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #3: Diabetes Mellitus: High Blood Pressure Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #5: Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)</item>
+                  <item>CMS Measure #7: Coronary Artery Disease (CAD): Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction (MI)</item>
+                  <item>CMS Measure #110: Preventive Care and Screening: Influenza Immunization for Patients >= 50 Years</item>
+                  <item>CMS Measure #111: Preventive Care and Screening: Pneumonia Vaccination for Patients 65 Years and Older</item>
+                  <item>CMS Measure #112: Preventive Care and Screening: Screening Mammography</item>
+                  <item>CMS Measure #113: Preventive Care and Screening: Colorectal Cancer Screening</item>
+                  <item>CMS Measure #124: Health Information Technology (HIT): Adoption/Use of Electronic Health Records (EHR)</item>
+                  <item>CMS Measure eRx:Adoption/Use of Medication Electronic Prescribing Measure</item>
+                </list>
+              </text>
+              <!--Begin listing of acts-->
+             <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd20-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-1" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent hemoglobin A1C greater than 9.0%</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd21-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-2" codeSystem="2.16.840.1.113883.3.249.12" displayName="Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent LDL-C level in control (less than 100 mg./dL)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd22-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-3" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent blood pressure in control (less than 140/80 mmHg)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd23-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-5" codeSystem="2.16.840.1.113883.3.249.12" displayName="Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)"/>
+                  <text>Percentage of patients 18 years and older with a diagnosis of heart frilure and LVSD who were prescribed ACE inhibitor or ARB therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd24-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-7" codeSystem="2.16.840.1.113883.3.249.12" displayName="Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction"/>
+                  <text>Percentage of patients 18 aged 18 years and older wit a diagnosis of CAD and prior MI who were prescribed beta-blocker therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd25-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-110" codeSystem="2.16.840.1.113883.3.249.12" displayName="Influenza Immunization for Patients >= 50 Years"/>
+                  <text>Percentage of patients aged 50 years and older who received an influenza immunization during the flu season (September through February)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd26-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-111" codeSystem="2.16.840.1.113883.3.249.12" displayName="Pneumonia Vaccination for Patients 65 Years and Older"/>
+                  <text>Percentage of patients afed 65 years and older who have ever received a pneumoccal vaccine</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd27-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-112" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening Mammography"/>
+                  <text>Percentage of womaen aged 40 through 69 years who had a mammogram to screen for breast cancer within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd28-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-113" codeSystem="2.16.840.1.113883.3.249.12" displayName="Colorectal Cancer Screening"/>
+                  <text>Percentage of patients aged 50 through 80 who received the appropriate colorectal cancer screening</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd29-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-124" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Electronic Health Records (EHR)"/>
+                  <text>Documents whether provider has adopted and is using health information technology. To qualify, the provider must havea adopted and be using a certified/qualified electronic health record (EHR)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd30-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="eRx" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Medication Electronic Prescribing Measure"/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+                  <!--
+                  *******************************
+                  Reporting Parameters Section
+                  *****************************
+                   -->
+              <component>
+                  <section>
+                    <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
+                      <title>Reporting Parameters</title>
+                      <text>
+                        <list>
+                          <item>Reporting Period Jan 1, 2010 to Dec 31, 2010</item>
+                        </list>
+                      </text>
+                      <entry>
+                        <act classCode="ACT" moodCode="EVN">
+                        <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
+                        <effectiveTime>
+                          <low value="20100101"/>
+                          <high value="20101231"/>
+                        </effectiveTime>
+                      </act>
+                    </entry>
+                  </section>
+                </component>
+                    <component>
+                        <section>
+                            <templateId root="2.16.840.1.113883.10.20.1.13"/>
+                            <code code="48764-5" codeSystem="2.16.840.1.113883.6.1" />
+                            <title>Purpose</title>
+                            <text>
+                                <xsl:value-of select="/a:ContinuityOfCareRecord/a:Purpose/a:Description/a:Text"></xsl:value-of>
+                            </text>
+                        </section>
+                    </component>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Alerts">
+                        <component>
+                            <section>
+							  <templateId root="2.16.840.1.113883.10.20.1.2" />
+							  <!--C83 Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="2.16.840.1.113883.3.88.11.83.102" />
+							  <!--IHE Allergies and Other Adverse Reactions Section Conformance Identifier-->
+							  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.13" />
+                                <code code="48765-2" displayName="Allergies, adverse reactions, alerts" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
+                                <title>Alerts</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Reaction</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"/>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Reaction/a:Description/a:Text"/>
+                                                        <xsl:if test="a:Reaction/a:Severity/a:Text">
+                                                            -<xsl:value-of select="a:Reaction/a:Severity/a:Text"/>
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Alerts/a:Alert">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                             <!--CCD Problem Act Identifier-->
+											 <templateId root="2.16.840.1.113883.10.20.1.27"></templateId>
+											 <!--C83 Allergy Entry-->
+											 <templateId root="2.16.840.1.113883.3.88.11.83.6" />
+											 <!--IHE Concern Entry Conformance Identifier-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1"></templateId>
+											 <!--IHE Allergy and Intolerance Concerns Entry-->
+											 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.3"></templateId>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                      <!--CCD Alert Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.18"></templateId>
+													  <!--CCD Problem Observation-->
+													  <templateId root="2.16.840.1.113883.10.20.1.28" />
+													  <!--IHE Problem Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5" />
+													  <!--IHE Allergies and Intolerances Entry-->
+													  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.6" />
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="416098002" codeSystem="2.16.840.1.113883.6.96" displayName="drug allergy" codeSystemName="SNOMED CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+													<value xsi:type="CD" />
+													
+                                                   <participant typeCode="CSM">
+                                                        <xsl:choose>
+                                                            <xsl:when test="a:Agent/a:Products/a:Product/a:Product">
+                                                                <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Product/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </xsl:when>
+                                                            
+                                                        </xsl:choose>
+                                                    </participant>
+
+                                                    <xsl:if test="a:Reaction">
+                                                        <entryRelationship typeCode="MFST" inversionInd="true">
+                                                            <observation classCode="OBS" moodCode="EVN">
+                                                                <templateId root="2.16.840.1.113883.10.20.1.54"/>
+                                                                <!--Reaction observation template -->
+                                                                <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                                                                <statusCode code="completed"/>
+                                                                <xsl:call-template name="ccdCodedValue">
+                                                                    <xsl:with-param name="ccrCodedDescription" select="a:Reaction/a:Description"/>
+                                                                </xsl:call-template>
+                                                            </observation>
+                                                        </entryRelationship>
+                                                    </xsl:if>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+
+                                                </observation>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Problems">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
+                                <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/>
+                                <title>Problems</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <table>
+                                                            <tbody>
+                                                                <xsl:apply-templates select="a:DateTime"/>
+                                                            </tbody>
+                                                        </table>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+														<xsl:attribute name="ID">
+															<xsl:value-of select="a:CCRDataObjectID"></xsl:value-of>
+														</xsl:attribute>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                                            <!-- Problem act template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code nullFlavor="NA"/>
+
+                                            <xsl:call-template name="ccdPerformer">
+                                                <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                            </xsl:call-template>
+
+                                            <entryRelationship typeCode="SUBJ">
+                                                <observation classCode="OBS" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
+                                                    <!--Problem observation template-->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                        <xsl:with-param name="suffix"></xsl:with-param>
+                                                    </xsl:call-template>
+
+                                                    <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
+
+                                                    <text>
+                                                        <reference>
+                                                            <xsl:attribute name="value">
+                                                                <xsl:text>#</xsl:text>
+                                                                <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            </xsl:attribute>
+                                                        </reference>
+                                                    </text>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="a:DateTime"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdStatus">
+                                                        <xsl:with-param name="ccrStatus" select="a:Status"/>
+                                                    </xsl:call-template>
+                                                </observation>
+                                            </entryRelationship>
+
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Procedures">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.12"/>
+                                <code code="47519-4" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Procedures</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Code</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Substance</th>
+                                                <th>Method</th>
+                                                <th>Position</th>
+                                                <th>Site</th>
+                                                <th>Status</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <table>
+                                                        <tbody>
+                                                            <xsl:apply-templates select="a:DateTime"/>
+                                                        </tbody>
+                                                    </table>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Description/a:Code"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:if test="a:Actor">
+                                                                (<xsl:call-template name="actorName">
+                                                                    <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                                </xsl:call-template>
+                                                                <xsl:if test="a:Actor/a:ActorRole/a:Text">
+                                                                    <xsl:text xml:space="preserve"> - </xsl:text><xsl:value-of select="a:ActorRole/a:Text"/>)
+                                                                </xsl:if>
+                                                            </xsl:if>)
+                                                            <xsl:if test="position() != last()">
+                                                                <br/>
+                                                            </xsl:if>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Substance">
+                                                            <xsl:value-of select="a:Text"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Method/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Position/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Procedures/a:Procedure">
+                                    <entry typeCode="DRIV">
+                                        <procedure classCode="PROC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.17" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.29" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.19" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <!-- <code> -->
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdStatusProcedure">
+                                                <xsl:with-param name="status" select="a:Status"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Method">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Method"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'targetSiteCode'"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Practitioners/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+                                        </procedure>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Medications">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.8" assigningAuthorityName="HL7 CCD"/>
+                                <!--Medications section template-->
+                                <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
+                                <title>Medications</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Medication</th>
+                                                <th>Date</th>
+                                                <th>Status</th>
+                                                <th>Form</th>
+                                                <th>Strength</th>
+                                                <th>Quantity</th>
+                                                <th>SIG</th>
+                                                <th>Indications</th>
+                                                <th>Instruction</th>
+                                                <th>Refills</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:BrandName">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:BrandName/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Product/a:Form/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Product/a:Strength">
+                                                            <xsl:if test="position() > 1">
+                                                                <xsl:text>/</xsl:text>
+                                                            </xsl:if>
+                                                            <xsl:value-of select="a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Units/a:Unit"/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Quantity/a:Value"/>
+                                                        <xsl:text xml:space="preserve"> </xsl:text>
+                                                        <xsl:value-of select="a:Quantity/a:Units/a:Unit"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction">
+                                                            <xsl:choose>
+                                                                <xsl:when test="a:Description/a:Text">
+                                                                    <xsl:value-of select="a:Description/a:Text"/>
+                                                                </xsl:when>
+                                                                <xsl:otherwise>
+                                                                    <xsl:value-of select="a:Dose/a:Value"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Dose/a:Units/a:Unit"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Route/a:Text"/>
+                                                                    <xsl:text xml:space="preserve"> </xsl:text>
+                                                                    <xsl:value-of select="a:Frequency/a:Value"/>
+                                                                    <xsl:if test="a:Duration">
+                                                                        <xsl:text xml:space="preserve">( </xsl:text>for <xsl:value-of select="a:Duration/a:Value"/><xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:Duration/a:Units/a:Unit"/><xsl:text xml:space="preserve"> )</xsl:text>
+                                                                    </xsl:if>
+                                                                    <xsl:if test="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                        <xsl:for-each select="a:MultipleDirectionModifier/a:ObjectAttribute">
+                                                                            <xsl:value-of select="a:Attribute"/>
+                                                                            <br/>
+                                                                            <xsl:value-of select="a:AttributeValue/a:Value"/>
+                                                                        </xsl:for-each>
+                                                                    </xsl:if>
+                                                                </xsl:otherwise>
+                                                            </xsl:choose>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Directions/a:Direction[1]/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:PatientInstructions/a:Instruction">
+                                                            <xsl:value-of select="a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Refills/a:Refill">
+                                                            <xsl:value-of select="a:Number"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Medications/a:Medication">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+
+                                            <!--Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdMedicationFrequency">
+                                                <xsl:with-param name="frequency" select="a:Directions/a:Direction/a:Frequency"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Dose">
+                                                <doseQuantity>
+                                                    <low>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </low>
+                                                    <high>
+                                                        <xsl:attribute name="value">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Value"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="unit">
+                                                            <xsl:value-of select="a:Directions/a:Direction/a:Dose/a:Unit"></xsl:value-of>
+                                                        </xsl:attribute>
+                                                    </high>
+                                                </doseQuantity>
+                                            </xsl:if>
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Immunizations">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.6"/>
+                                <code code="11369-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Immunizations</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Code</th>
+                                                <th>Vaccine</th>
+                                                <th>Date</th>
+                                                <th>Route</th>
+                                                <th>Site</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:apply-templates select="a:Product/a:ProductName/a:Code"/>
+                                                    </td>
+                                                    <td>
+
+                                                        <xsl:value-of select="a:Product/a:ProductName/a:Text"/>
+                                                        <xsl:if test="a:Product/a:Form">
+                                                            <xsl:text xml:space="preserve"> </xsl:text>(<xsl:value-of select="a:Product/a:Form/a:Text"/>)
+                                                        </xsl:if>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Route/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:attribute name="id">
+                                                            <xsl:value-of select="a:CCRDataObjectID"/>
+                                                            <xsl:text>:Site</xsl:text>
+                                                        </xsl:attribute>
+
+                                                        <xsl:value-of select="a:Directions/a:Direction/a:Site/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Immunizations/a:Immunization">
+                                    <entry typeCode="DRIV">
+                                        <substanceAdministration classCode="SBADM" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.13" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.12" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Medication activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7 ActCode"/>
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <statusCode code='completed'/>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                                <xsl:with-param name="type" select="'IVL_TS'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Route"/>
+                                                <xsl:with-param name="nodeName" select="'routeCode'"/>
+                                                <xsl:with-param name="domain" select="'RouteOfAdministration'"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Directions/a:Direction/a:Site">
+                                                <xsl:call-template name="ccdCodedValue">
+                                                    <xsl:with-param name="ccrCodedDescription" select="a:Directions/a:Direction/a:Site"/>
+                                                    <xsl:with-param name="nodeName" select="'approachSiteCode'"/>
+                                                    <xsl:with-param name="originalTextReference">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                        <xsl:text>:Site</xsl:text>
+                                                    </xsl:with-param>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <consumable>
+                                                <manufacturedProduct>
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+
+                                                    <!-- Product template -->
+
+                                                    <manufacturedMaterial>
+                                                        <xsl:call-template name="ccdCodedValue">
+                                                            <xsl:with-param name="ccrCodedDescription" select="a:Product/a:ProductName"/>
+                                                            <xsl:with-param name="nodeName" select="'code'"/>
+                                                        </xsl:call-template>
+                                                        <name>
+                                                            <xsl:value-of select="a:Product/a:BrandName/a:Text"/>
+                                                        </name>
+                                                    </manufacturedMaterial>
+                                                </manufacturedProduct>
+                                            </consumable>
+
+                                        </substanceAdministration>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:VitalSigns">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.16"/>
+                                <code code="8716-3" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Vital Signs</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Vital Sign</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Value"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                            <xsl:text xml:space="preserve"> </xsl:text>
+                                                            <xsl:value-of select="a:Flag/a:Text"/>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:VitalSigns/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <organizer classCode="CLUSTER" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+                                            <!-- Vital signs organizer template -->
+
+                                            <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+                                            <statusCode code="completed"/>
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdObservation">
+                                                <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                <xsl:with-param name="testDate" select="$testDate"/>
+                                            </xsl:call-template>
+
+                                        </organizer>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Encounters">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.3.88.11.83.127" assigningAuthorityName="HITSP/C83"/>
+                                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.3" assigningAuthorityName="IHE PCC"/>
+                                <templateId root="2.16.840.1.113883.10.20.1.3" assigningAuthorityName="HL7 CCD"/>
+                                <!--Encounters section template-->
+                                <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
+                                <title>Encounters</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Location</th>
+                                                <th>Status</th>
+                                                <th>Practitioner</th>
+                                                <th>Description</th>
+                                                <th>Indications</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Locations/a:Location">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:Actor/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Status/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Practitioners/a:Practitioner">
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Indications/a:Indication">
+                                                            <xsl:call-template name="problemDescription">
+                                                                <xsl:with-param name="objID" select="a:InternalCCRLink/a:LinkID"/>
+                                                            </xsl:call-template>
+                                                            <br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Encounters/a:Encounter">
+                                    <entry typeCode="DRIV">
+                                        <encounter classCode="ENC" moodCode="EVN">
+                                            <templateId root="2.16.840.1.113883.3.88.11.83.16" assigningAuthorityName="HITSP C83"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.21" assigningAuthorityName="CCD"/>
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14" assigningAuthorityName="IHE PCC"/>
+
+                                            <!-- Encounter activity template -->
+
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+
+                                            <xsl:call-template name="ccdCodedValue">
+                                                <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                <xsl:with-param name="nodeName" select="'code'"/>
+                                            </xsl:call-template>
+
+                                            <text>
+                                                <reference>
+                                                    <xsl:attribute name="value">
+                                                        <xsl:text>#</xsl:text>
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                </reference>
+                                            </text>
+
+                                            <xsl:call-template name="ccdDateTime">
+                                                <xsl:with-param name="dt" select="a:DateTime"/>
+                                            </xsl:call-template>
+
+                                            <xsl:if test="a:Practitioners[1]/a:Practitioner">
+                                                <xsl:call-template name="ccdPerformer">
+                                                    <xsl:with-param name="ccrActorReference" select="a:Practitioners/a:Practitioner[1]"/>
+                                                </xsl:call-template>
+                                            </xsl:if>
+
+                                            <xsl:if test="a:Locations[1]/a:Location">
+                                                <participant typeCode="LOC">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.45"/>
+                                                    <!-- Location participation template -->
+                                                    <xsl:choose>
+                                                        <xsl:when test="a:Locations[1]/a:Location/a:ActorID">
+                                                            <xsl:call-template name="ccdParticipantRoleActor">
+                                                                <xsl:with-param name="ccrActorObjectID" select="a:Locations[1]/a:Location/a:ActorID"/>
+                                                            </xsl:call-template>
+                                                        </xsl:when>
+                                                        <xsl:otherwise>
+                                                            <xsl:call-template name="ccdParticipantRoleCodedDescription">
+                                                                <xsl:with-param name="ccrCodedDescription" select="a:Locations[1]/a:Location/a:Description"/>
+                                                            </xsl:call-template>
+                                                        </xsl:otherwise>
+                                                    </xsl:choose>
+                                                </participant>
+                                            </xsl:if>
+                                        </encounter>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.14"/>
+                                <code code="30954-2" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Results</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Test</th>
+                                                <th>Date</th>
+                                                <th>Result</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                                <tr>
+                                                    <xsl:attribute name="id">
+                                                        <xsl:value-of select="a:CCRDataObjectID"/>
+                                                    </xsl:attribute>
+                                                    <td>
+                                                        <xsl:value-of select="a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Value!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Value"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Units/a:Unit"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                        <xsl:for-each select="a:Test[a:TestResult/a:Description/a:Text!='']">
+                                                            <div>
+                                                                <xsl:attribute name="id">
+                                                                    <xsl:value-of select="a:CCRDataObjectID"/>
+                                                                </xsl:attribute>
+
+                                                                <xsl:value-of select="a:Description/a:Text"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:TestResult/a:Description/a:Text" disable-output-escaping="yes"/>
+                                                                <xsl:text xml:space="preserve"> </xsl:text>
+                                                                <xsl:value-of select="a:Flag/a:Text"/>
+                                                                <br/>
+                                                            </div>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Results/a:Result">
+                                    <entry typeCode="DRIV">
+                                        <xsl:variable name="testDate" select="a:DateTime"/>
+
+                                        <xsl:choose>
+                                            <xsl:when test="count(a:Test)>1">
+                                                <organizer classCode="BATTERY" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.10.20.1.32"/>
+                                                    <!--Result organizer template -->
+
+                                                    <!-- <id> -->
+                                                    <xsl:call-template name="ccdID">
+                                                        <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                                    </xsl:call-template>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <!-- <effectiveTime> -->
+                                                    <xsl:call-template name="ccdDateTime">
+                                                        <xsl:with-param name="dt" select="$testDate"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/>
+                                                    </xsl:call-template>
+
+                                                    <xsl:for-each select="a:Test">
+                                                        <xsl:call-template name="ccdObservation">
+                                                            <xsl:with-param name="ccrTestNode" select="."/>
+                                                            <xsl:with-param name="testDate" select="$testDate"/>
+                                                        </xsl:call-template>
+                                                    </xsl:for-each>
+
+                                                </organizer>
+
+                                            </xsl:when>
+                                            <xsl:otherwise>
+                                                <xsl:call-template name="ccdObservation">
+                                                    <xsl:with-param name="ccrTestNode" select="a:Test[1]"/>
+                                                    <xsl:with-param name="testDate" select="$testDate"/>
+                                                </xsl:call-template>
+                                            </xsl:otherwise>
+                                        </xsl:choose>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Payers">
+                        <component>
+                            <section>
+                                <templateId root="2.16.840.1.113883.10.20.1.9"/>
+                                <code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/>
+                                <title>Insurance</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Payment Provider</th>
+                                                <th>Subscriber</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:for-each select="a:IDs">
+                                                            <xsl:value-of select="a:Type/a:Text"/>:<xsl:text xml:space="preserve"> </xsl:text><xsl:value-of select="a:ID"/><br/>
+                                                        </xsl:for-each>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:PaymentProvider/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Subscriber/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                                <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Payers/a:Payer">
+                                    <entry typeCode="DRIV">
+                                        <act classCode="ACT" moodCode="DEF">
+                                            <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.17" assigningAuthorityName="IHE PCC"/>
+                                            <templateId root="2.16.840.1.113883.10.20.1.20" assigningAuthorityName="CCD"/>
+                                            <!-- Coverage entry template -->
+                                            <!-- <id> -->
+                                            <xsl:call-template name="ccdID">
+                                                <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/>
+                                            </xsl:call-template>
+                                            <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment sources"/>
+                                            <statusCode code="completed"/>
+                                            <entryRelationship typeCode="COMP">
+                                                <act classCode="ACT" moodCode="EVN">
+                                                    <templateId root="2.16.840.1.113883.3.88.11.83.5" assigningAuthorityName="HITSP C83"/>
+                                                    <templateId root="2.16.840.1.113883.10.20.1.26" assigningAuthorityName="CCD"/>
+                                                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.18" assigningAuthorityName="IHE PCC"/>
+                                                    <!--Insurance provider template -->
+                                                    <id>
+                                                        <xsl:attribute name="root">
+                                                            <xsl:value-of select="a:IDs[1]/a:ID"/>
+                                                        </xsl:attribute>
+                                                        <xsl:attribute name="extension">
+                                                            <xsl:value-of select="a:IDs[1]/a:Type/a:Text"/>
+                                                        </xsl:attribute>
+                                                    </id>
+
+                                                    <!-- <code> -->
+                                                    <xsl:call-template name="ccdCodedValue">
+                                                        <xsl:with-param name="ccrCodedDescription" select="a:Description"/>
+                                                        <xsl:with-param name="nodeName" select="'code'"/>
+                                                    </xsl:call-template>
+
+                                                    <statusCode code="completed"/>
+
+                                                    <xsl:call-template name="ccdPerformer">
+                                                        <xsl:with-param name="ccrActorReference" select="a:PaymentProvider"/>
+                                                    </xsl:call-template>
+
+                                                    <participant typeCode="HLD">
+                                                        <xsl:call-template name="ccdParticipantRoleActor">
+                                                            <xsl:with-param name="ccrActorReference" select="a:Subscriber"/>
+                                                        </xsl:call-template>
+                                                    </participant>
+                                                </act>
+                                            </entryRelationship>
+                                        </act>
+                                    </entry>
+                                </xsl:for-each>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders">
+                        <component>
+                            <section>
+                                <title>Health Care Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:HealthCareProviders/a:Provider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <!--
+                    <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:SupportProviders">
+                        <component>
+                            <section>
+                                <title>Support Providers</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Role</th>
+                                                <th>Name</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Support/a:SupportProvider">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:ActorRole/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    <xsl:if test="a:ContinuityOfCareRecord/a:References">
+                        <component>
+                            <section>
+                                <title>References</title>
+                                <text>
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Type</th>
+                                                <th>Date</th>
+                                                <th>Description</th>
+                                                <th>Location</th>
+                                                <th>Source</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:References/a:Reference">
+                                                <tr>
+                                                    <td>
+                                                        <xsl:value-of select="a:Type/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="date:format-date">
+                                                            <xsl:with-param name="date-time" select="a:DateTime/a:ExactDateTime"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                    <td>
+                                                        <strong class="clinical">
+                                                            <xsl:value-of select="a:Description/a:Text"/>
+                                                        </strong>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:value-of select="a:Locations/a:Location/a:Description/a:Text"/>
+                                                    </td>
+                                                    <td>
+                                                        <xsl:call-template name="actorName">
+                                                            <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/>
+                                                        </xsl:call-template>
+                                                    </td>
+                                                </tr>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </text>
+                            </section>
+                        </component>
+                    </xsl:if>
+                    -->
+                    <!--
+                    <component>
+                        <section>
+                            <title>Additional Information About People &amp; Organizations</title>
+                            <text>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Person]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Person/a:Name/a:DisplayName|a:Person/a:Name/a:CurrentName/a:Family" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Person">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:call-template name="actorName">
+                                                                <xsl:with-param name="objID" select="a:ActorObjectID"/>
+                                                            </xsl:call-template>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:Organization]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Specialty</th>
+                                                <th>Relation</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:Organization/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:Organization">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:Organization/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Specialty/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:Relation/a:Text"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="a:Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                                <xsl:if test="a:ContinuityOfCareRecord/a:Actors/a:Actor[a:InformationSystem]">
+                                    <table>
+                                        <tbody>
+                                            <tr>
+                                                <th>Name</th>
+                                                <th>Type</th>
+                                                <th>Version</th>
+                                                <th>Identification Numbers</th>
+                                                <th>Phone</th>
+                                                <th>Address/ E-mail</th>
+                                            </tr>
+                                            <xsl:for-each select="/a:ContinuityOfCareRecord/a:Actors/a:Actor">
+                                                <xsl:sort select="a:InformationSystem/a:Name" data-type="text" order="ascending"/>
+                                                <xsl:if test="a:InformationSystem">
+                                                    <tr>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Name"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Type"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:value-of select="a:InformationSystem/a:Version"/>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:IDs">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:ID"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Telephone">
+                                                                <xsl:value-of select="a:Type/a:Text"/>
+                                                                <xsl:text>: </xsl:text>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                        <td>
+                                                            <xsl:for-each select="a:Address">
+                                                                <xsl:if test="Type">
+                                                                    <xsl:value-of select="a:Type/a:Text"/>
+                                                                    <xsl:text>:</xsl:text>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line1">
+                                                                    <xsl:value-of select="a:Line1"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:Line2">
+                                                                    <xsl:value-of select="a:Line2"/>
+                                                                    <br/>
+                                                                </xsl:if>
+                                                                <xsl:if test="a:City">
+                                                                    <xsl:value-of select="a:City"/>
+                                                                    <xsl:text>, </xsl:text>
+                                                                </xsl:if>
+                                                                <xsl:value-of select="a:State"/>
+                                                                <xsl:value-of select="a:PostalCode"/>
+                                                                <br/>
+                                                            </xsl:for-each>
+                                                            <xsl:for-each select="a:EMail">
+                                                                <br/>
+                                                                <xsl:value-of select="a:Value"/>
+                                                            </xsl:for-each>
+                                                        </td>
+                                                    </tr>
+                                                </xsl:if>
+                                            </xsl:for-each>
+                                        </tbody>
+                                    </table>
+                                </xsl:if>
+                            </text>
+                        </section>
+                    </component>
+                    -->
+</section>
+</component>
+</section>
+</component>
+</structuredBody>
+</component>
+</ClinicalDocument>
+    </xsl:template>
+    <xsl:template name="ccdAssignedEntity">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <assignedEntity>
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActor/a:Person">
+                <xsl:call-template name="ccdPerson">
+                    <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+                    <xsl:with-param name="personNodeName" select="'assignedPerson'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                    <xsl:with-param name="organizationNodeName" select="'representedOrganization'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+        </assignedEntity>
+    </xsl:template>
+
+    <xsl:template name="ccdPatient">
+        <xsl:param name="CCRActorPerson"/>
+        <patient>
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+
+            <xsl:if test="$CCRActorPerson/a:Gender">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$CCRActorPerson/a:Gender"/>
+                    <xsl:with-param name="domain" select="'AdministrativeGender'"/>
+                    <xsl:with-param name="nodeName" select="'administrativeGenderCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="$CCRActorPerson/a:DateOfBirth">
+                <birthTime>
+                    <xsl:attribute name="value">
+                        <xsl:call-template name="date:format-date">
+                            <xsl:with-param name="date-time" select="$CCRActorPerson/a:DateOfBirth/a:ExactDateTime"/>
+                            <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </birthTime>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Marital Status']/a:Description"/>
+                    <xsl:with-param name="domain" select="'MaritalStatus'"/>
+                    <xsl:with-param name="nodeName" select="'maritalStatusCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']">
+                <languageCommunication>
+                    <templateId root="2.16.840.1.113883.3.88.11.83.2" assigningAuthorityName="HITSP/C83"/>
+                    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.1" assigningAuthorityName="IHE/PCC"/>
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="/a:ContinuityOfCareRecord/a:Body/a:SocialHistory/a:SocialHistoryElement[a:Type/a:Text='Language']/a:Description"></xsl:with-param>
+                        <xsl:with-param name="domain" select="'HumanLanguage'"/>
+                        <xsl:with-param name="nodeName" select="'languageCode'"/>
+                    </xsl:call-template>
+                </languageCommunication>
+            </xsl:if>
+        </patient>
+    </xsl:template>
+
+    <xsl:template name="ccdPerformer">
+        <xsl:param name="ccrActorReference"/>
+        <performer typeCode="PRF">
+            <xsl:if test="$ccrActorReference/a:ActorRole">
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrActorReference/a:ActorRole"/>
+                    <xsl:with-param name="nodeName" select="'functionCode'"/>
+                </xsl:call-template>
+            </xsl:if>
+            <xsl:call-template name="ccdAssignedEntity">
+                <xsl:with-param name="ccrActorObjectID" select="$ccrActorReference/a:ActorID"/>
+            </xsl:call-template>
+        </performer>
+    </xsl:template>
+
+    <xsl:template name="ccdPerson">
+        <xsl:param name="CCRActorPerson"/>
+        <xsl:param name="personNodeName">assignedPerson</xsl:param>
+        <xsl:element name="{$personNodeName}">
+            <xsl:call-template name="ccdPersonName">
+                <xsl:with-param name="CCRActorName" select="$CCRActorPerson/a:Name"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPersonName">
+        <xsl:param name="CCRActorName"/>
+        <name>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Title">
+                <prefix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Title"/>
+                </prefix>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Given">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Given"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Middle">
+                <given>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Middle"/>
+                </given>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Family">
+                <family>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Family"/>
+                </family>
+            </xsl:if>
+            <xsl:if test="$CCRActorName/a:CurrentName/a:Suffix">
+                <suffix>
+                    <xsl:value-of select="$CCRActorName/a:CurrentName/a:Suffix"/>
+                </suffix>
+            </xsl:if>
+        </name>
+    </xsl:template>
+
+    <xsl:template name="ccdOrganization">
+        <xsl:param name="ccrActorObjectID"/>
+        <xsl:param name="organizationNodeName"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:element name="{$organizationNodeName}">
+            <xsl:call-template name="ccdEntityID">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+            <xsl:call-template name="ccdTelecom">
+                <xsl:with-param name="CCRActor" select="$CCRActor"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ccdAddress">
+                <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+            </xsl:call-template>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdPatientRole">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPatient">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <xsl:template name="ccdAssignedAuthor">
+        <xsl:param name="ccrActorObjectID"/>
+		<assignedAuthor>
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdPerson">
+            <xsl:with-param name="CCRActorPerson" select="$CCRActor/a:Person"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']">
+            <representedOrganization>
+                <xsl:call-template name="ccdOrganization">
+                    <xsl:with-param name="ccrActorObjectID" select="$CCRActor/a:InternalCCRLink[a:LinkRelationship='Organization']/a:LinkID"/>
+                </xsl:call-template>
+            </representedOrganization>
+        </xsl:if>
+        </assignedAuthor>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleActor">
+        <xsl:param name="ccrActorObjectID"/>
+
+        <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>
+
+        <xsl:call-template name="ccdEntityID">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdAddress">
+            <xsl:with-param name="CCRActorAddress" select="$CCRActor/a:Address[1]"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="ccdTelecom">
+            <xsl:with-param name="CCRActor" select="$CCRActor"/>
+        </xsl:call-template>
+
+        <xsl:if test="$CCRActor/a:Organization/a:Name">
+            <playingEntity classCode="PLC">
+                <name>
+                    <xsl:value-of select="$CCRActor/a:Organization/a:Name"/>
+                </name>
+            </playingEntity>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdParticipantRoleCodedDescription">
+        <xsl:param name="ccrCodedDescription"/>
+        <participantRole classCode="MANU">
+           <!--Product Detail-->
+           <playingEntity classCode="MMAT">
+				<xsl:if test="$ccrCodedDescription/a:Code">
+					<xsl:call-template name="ccdCodedValue">
+						<xsl:with-param name="ccrCodedDescription" select="$ccrCodedDescription"/>
+						<xsl:with-param name="nodeName" select="'code'"/>
+					</xsl:call-template>
+				</xsl:if>
+				<name>
+					<xsl:value-of select="$ccrCodedDescription/a:Text"/>
+				</name>
+			</playingEntity>
+		</participantRole>
+    </xsl:template>
+
+    <xsl:template name="ccdEntityID">
+        <xsl:param name="CCRActor"/>
+        <id>
+            <xsl:choose>
+                <xsl:when test="$CCRActor/a:IDs">
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:ID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:value-of select="$CCRActor/a:IDs[1]/a:Type/a:Text"/>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:attribute name="extension">
+                        <xsl:value-of select="$CCRActor/a:ActorObjectID"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="root">
+                        <xsl:text>CCRActorID</xsl:text>
+                    </xsl:attribute>
+                </xsl:otherwise>
+            </xsl:choose>
+        </id>
+         <xsl:if test="$CCRActor/a:Organization">
+            <name><xsl:value-of select="$CCRActor/a:Organization/a:Name"></xsl:value-of></name>
+        </xsl:if>
+    </xsl:template>		
+    <xsl:template name="ccdAddress">
+        <xsl:param name="CCRActorAddress"/>
+        <addr>
+            <xsl:choose>
+                <xsl:when test="$CCRActorAddress">
+                    <xsl:attribute name="use">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                            <xsl:with-param name="ccrtext" select="$CCRActorAddress/a:Type/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <streetAddressLine>
+                        <xsl:value-of select="$CCRActorAddress/a:Line1"/>
+                    </streetAddressLine>
+                    <city>
+                        <xsl:value-of select="$CCRActorAddress/a:City"/>
+                    </city>
+                    <state>
+                        <xsl:value-of select="$CCRActorAddress/a:State"/>
+                    </state>
+                    <postalCode>
+                        <xsl:value-of select="$CCRActorAddress/a:PostalCode"/>
+                    </postalCode>
+                </xsl:when>
+                <xsl:otherwise>
+                    <streetAddressLine/>
+                </xsl:otherwise>
+            </xsl:choose>
+        </addr>
+    </xsl:template>
+    
+    <xsl:template name="ccdTelecom">
+        <xsl:param name="CCRActor"/>
+        <telecom>
+            <xsl:if test="$CCRActor/a:Telephone">
+                <xsl:attribute name="use">
+                    <xsl:call-template name="CDAVocabularyLookup">
+                        <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                        <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                    </xsl:call-template>
+                </xsl:attribute>
+                <xsl:attribute name="value">
+                    <xsl:text>tel:+1-</xsl:text>
+                    <xsl:value-of select="$CCRActor/a:Telephone[1]/a:Value"/>
+                </xsl:attribute>
+            </xsl:if>
+        </telecom>
+
+        <xsl:if test="$CCRActor/a:Email">
+            <telecom>
+                <xsl:choose>
+                    <xsl:when test="$CCRActor/a:Telephone">
+                        <xsl:attribute name="use">
+                            <xsl:call-template name="CDAVocabularyLookup">
+                                <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/>
+                                <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                        <xsl:attribute name="value">
+                            <xsl:text>mailto:</xsl:text>
+                            <xsl:value-of select="$CCRActor/a:Email[1]/a:Value"/>
+                        </xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="value">
+                            <xsl:text>Unknown</xsl:text>
+                        </xsl:attribute>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </telecom>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdID">
+        <xsl:param name="ccrObjectID"/>
+        <xsl:param name="suffix"/>
+        <id>
+            <xsl:attribute name="root">
+                <xsl:value-of select="$ccrObjectID"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="extension">CCRObjectID</xsl:attribute>
+        </id>
+    </xsl:template>
+
+    <xsl:template name="ccdCodedValue">
+        <xsl:param name="ccrCodedDescription"/>
+        <xsl:param name="type"/>
+        <xsl:param name="domain"/>
+        <xsl:param name="nodeName">value</xsl:param>
+        <xsl:param name="originalTextReference"/>
+
+        <xsl:element name="{$nodeName}">
+            <xsl:if test="$type">
+                <xsl:attribute name="xsi:type">
+                    <xsl:value-of select="$type"/>
+                </xsl:attribute>
+            </xsl:if>
+            <xsl:choose>
+                <xsl:when test="$ccrCodedDescription/a:Code">
+                    <xsl:attribute name="displayName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:Value"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:value-of select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystem">
+                        <xsl:call-template name="HL7OIDLookup">
+                            <xsl:with-param name="name" select="$ccrCodedDescription/a:Code/a:CodingSystem"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:when test="$domain">
+                    <xsl:variable name="cdaCode">
+                        <xsl:call-template name="CDAVocabularyLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="ccrtext" select="$ccrCodedDescription/a:Text"/>
+                        </xsl:call-template>
+                    </xsl:variable>
+                    <xsl:attribute name="displayName">
+                        <xsl:call-template name="CDADisplayNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                            <xsl:with-param name="cdacode" select="$cdaCode"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$cdaCode"></xsl:value-of>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemNameLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="codeSystemName">
+                        <xsl:call-template name="CDAVocabularyCodeSystemLookup">
+                            <xsl:with-param name="domain" select="$domain"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                    <originalText>
+                        <xsl:value-of select="$ccrCodedDescription/a:Text"/>
+                        <xsl:if test="$originalTextReference">
+                            <reference>
+                                <xsl:attribute name="value">
+                                    <xsl:value-of select="$originalTextReference"/>
+                                </xsl:attribute>
+                            </reference>
+                        </xsl:if>
+                    </originalText>
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:element>
+    </xsl:template>
+
+    <xsl:template name="ccdDateTime">
+        <xsl:param name="dt"/>
+        <xsl:param name="type"/>
+        <xsl:if test="$dt">
+            <xsl:if test="$dt[1]/a:ExactDateTime">
+                <effectiveTime>
+                    <xsl:if test="$type">
+                        <xsl:attribute name="xsi:type">
+                            <xsl:value-of select="$type"></xsl:value-of>
+                        </xsl:attribute>
+                    </xsl:if>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high nullFlavor="UNK"/>
+                </effectiveTime>
+            </xsl:if>
+            <xsl:if test="$dt[1]/a:DateTimeRange">
+                <effectiveTime>
+                    <low>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:BeginRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </low>
+                    <high>
+                        <xsl:attribute name="value">
+                            <xsl:call-template name="date:format-date">
+                                <xsl:with-param name="date-time" select="$dt[1]/a:DateTimeRange/a:EndRange/a:ExactDateTime"/>
+                                <xsl:with-param name="pattern">yyyyMMdd</xsl:with-param>
+                            </xsl:call-template>
+                        </xsl:attribute>
+                    </high>
+                </effectiveTime>
+            </xsl:if>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdMedicationFrequency">
+        <xsl:param name="frequency"/>
+        <xsl:if test="$frequency">
+            <xsl:choose>
+                <xsl:when test="$frequency/a:Value='qd'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">24</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='bid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">12</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='tid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">8</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qid'">
+                    <effectiveTime xsi:type="PIVL_TS" operator="A">
+                        <xsl:attribute name="institutionSpecified">true</xsl:attribute>
+                        <period>
+                            <xsl:attribute name="value">6</xsl:attribute>
+                            <xsl:attribute name="unit">h</xsl:attribute>
+                        </period>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qam'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='ACM'/>
+                    </effectiveTime>
+                </xsl:when>
+                <xsl:when test="$frequency/a:Value='qpm'">
+                    <effectiveTime xsi:type='EIVL' operator='A'>
+                        <event code='PCV'/>
+                    </effectiveTime>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template name="ccdStatus">
+        <xsl:param name="ccrStatus"/>
+
+        <entryRelationship typeCode="REFR">
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                <!-- Problem status observation template -->
+                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" displayName="Status"/>
+                <statusCode code="completed"/>
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrStatus"/>
+                </xsl:call-template>
+            </observation>
+        </entryRelationship>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusObservation">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Active'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'55561003'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Inactive'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'73425007'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$statusText='Chronic'">
+                <xsl:call-template name="ccdStatusElement">
+                    <xsl:with-param name="statusCode" select="'90734009'"/>
+                    <xsl:with-param name="statusDisplayName" select="$statusText"/>
+                </xsl:call-template>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusProcedure">
+        <xsl:param name="status"/>
+        <xsl:variable name="statusText" select="$status/a:Text"></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$statusText='Completed'">
+                <statusCode code="completed"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Active'">
+                <statusCode code="active"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Aborted'">
+                <statusCode code="aborted"/>
+            </xsl:when>
+            <xsl:when test="$statusText='Cancelled' or $statusText='Canceled'">
+                <statusCode code="cancelled"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <statusCode>
+                    <xsl:attribute name="code">
+                        <xsl:value-of select="$statusText"></xsl:value-of>
+                    </xsl:attribute>
+                </statusCode>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template name="ccdStatusElement">
+        <xsl:param name="statusCode"/>
+        <xsl:param name="statusDisplayName"/>
+        <value>
+            <xsl:attribute name="xsi:type">CE</xsl:attribute>
+            <xsl:attribute name="code">
+                <xsl:value-of select="$statusCode"></xsl:value-of>
+            </xsl:attribute>
+            <xsl:attribute name="codeSystem">2.16.840.1.113883.6.96</xsl:attribute>
+            <xsl:attribute name="displayName">
+                <xsl:value-of select="$statusDisplayName"></xsl:value-of>
+            </xsl:attribute>
+        </value>
+    </xsl:template>
+
+    <xsl:template name="ccdObservation">
+        <xsl:param name="ccrTestNode"/>
+        <xsl:param name="testDate"/>
+
+        <component>
+            <observation classCode="OBS" moodCode="EVN">
+                <templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+                <templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+                <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+
+                <!-- Result observation template -->
+
+                <xsl:call-template name="ccdID">
+                    <xsl:with-param name="ccrObjectID" select="$ccrTestNode/a:CCRDataObjectID"/>
+                </xsl:call-template>
+
+                <!-- <code> -->
+                <xsl:call-template name="ccdCodedValue">
+                    <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Description"/>
+                    <xsl:with-param name="nodeName" select="'code'"/>
+                </xsl:call-template>
+
+                <text>
+                    <reference>
+                        <xsl:attribute name="value">
+                            <xsl:text>#</xsl:text>
+                            <xsl:value-of select="$ccrTestNode/a:CCRDataObjectID"/>
+                        </xsl:attribute>
+                    </reference>
+                </text>
+
+                <statusCode code="completed"/>
+
+                <!-- <effectiveTime> -->
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:DateTime">
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$ccrTestNode/a:DateTime"/>
+                        </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:call-template name="ccdDateTime">
+                            <xsl:with-param name="dt" select="$testDate"/>
+                        </xsl:call-template>
+                    </xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:choose>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Value!='']">
+                        <value xsi:type="PQ">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Value"/>
+                            </xsl:attribute>
+                            <xsl:attribute name="unit">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Units/a:Unit"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                    <xsl:when test="$ccrTestNode/a:TestResult[a:Description/a:Text!='']">
+                        <value xsi:type="TX">
+                            <xsl:attribute name="value">
+                                <xsl:value-of select="$ccrTestNode/a:TestResult/a:Description/a:Text"/>
+                            </xsl:attribute>
+                        </value>
+                    </xsl:when>
+                </xsl:choose>
+
+                <xsl:if test="$ccrTestNode/a:Flag">
+                    <xsl:call-template name="ccdCodedValue">
+                        <xsl:with-param name="ccrCodedDescription" select="$ccrTestNode/a:Flag"/>
+                        <xsl:with-param name="nodeName" select="'interpretationCode'"/>
+                        <xsl:with-param name="domain" select="'ObservationInterpretation'"/>
+                    </xsl:call-template>
+                </xsl:if>
+
+                <xsl:if test="$ccrTestNode/a:NormalResult">
+                    <referenceRange>
+                        <xsl:if test="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text">
+                            <observationRange>
+                                <text>
+                                    <xsl:value-of select="$ccrTestNode/a:NormalResult/a:Normal/a:Description/a:Text"/>
+                                </text>
+                            </observationRange>
+                        </xsl:if>
+                    </referenceRange>
+                </xsl:if>
+
+            </observation>
+        </component>
+
+    </xsl:template>
+</xsl:stylesheet>
Index: /ccr2ccd-xslt/trunk/gpl/make-ccd.bat
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/make-ccd.bat	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/make-ccd.bat	(revision 981)
@@ -0,0 +1,1 @@
+copy ccd-header.xsl + ccd-purpose.xsl + ccd-alerts.xsl + ccd-advdir.xsl + ccd-funcstat.xsl + ccd-problems.xsl + ccd-procedures.xsl + ccd-medications.xsl + ccd-immunizations.xsl + ccd-vitals.xsl + ccd-encounters.xsl + ccd-socialhistory.xsl + ccd-familyhistory.xsl + ccd-results.xsl + ccd-payers.xsl + ccd-planofcare.xsl + ccd-providers.xsl + ccd-support.xsl + ccd-references.xsl + ccd-actors.xsl + ccd-footer.xsl + ccd-util.xsl ccr_ccd.xsl
Index: /ccr2ccd-xslt/trunk/gpl/make-ccd.sh
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/make-ccd.sh	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/make-ccd.sh	(revision 981)
@@ -0,0 +1,22 @@
+cat ccd-header.xsl > ccr_ccd.xsl
+cat ccd-purpose.xsl >> ccr_ccd.xsl
+cat ccd-alerts.xsl >> ccr_ccd.xsl
+cat ccd-advdir.xsl >> ccr_ccd.xsl
+cat ccd-funcstat.xsl >> ccr_ccd.xsl
+cat ccd-problems.xsl >> ccr_ccd.xsl
+cat ccd-procedures.xsl >> ccr_ccd.xsl
+cat ccd-medications.xsl >> ccr_ccd.xsl
+cat ccd-immunizations.xsl >> ccr_ccd.xsl
+cat ccd-vitals.xsl >> ccr_ccd.xsl
+cat ccd-encounters.xsl >> ccr_ccd.xsl
+cat ccd-socialhistory.xsl >> ccr_ccd.xsl
+cat ccd-familyhistory.xsl >> ccr_ccd.xsl
+cat ccd-results.xsl >> ccr_ccd.xsl
+cat ccd-payers.xsl >> ccr_ccd.xsl
+cat ccd-planofcare.xsl >> ccr_ccd.xsl
+cat ccd-providers.xsl >> ccr_ccd.xsl
+cat ccd-support.xsl >> ccr_ccd.xsl
+cat ccd-references.xsl >> ccr_ccd.xsl
+cat ccd-actors.xsl >> ccr_ccd.xsl
+cat ccd-footer.xsl >> ccr_ccd.xsl
+cat ccd-util.xsl >> ccr_ccd.xsl
Index: /ccr2ccd-xslt/trunk/gpl/make-qrda.sh
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/make-qrda.sh	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/make-qrda.sh	(revision 981)
@@ -0,0 +1,17 @@
+cat qrda-header.xsl > ccr_qrda.xsl
+cat ccd-purpose.xsl >> ccr_qrda.xsl
+cat ccd-alerts.xsl >> ccr_qrda.xsl
+cat ccd-problems.xsl >> ccr_qrda.xsl
+cat ccd-procedures.xsl >> ccr_qrda.xsl
+cat ccd-medications.xsl >> ccr_qrda.xsl
+cat ccd-immunizations.xsl >> ccr_qrda.xsl
+cat ccd-vitals.xsl >> ccr_qrda.xsl
+cat ccd-encounters.xsl >> ccr_qrda.xsl
+cat ccd-results.xsl >> ccr_qrda.xsl
+cat ccd-payers.xsl >> ccr_qrda.xsl
+cat ccd-providers.xsl >> ccr_qrda.xsl
+cat ccd-support.xsl >> ccr_qrda.xsl
+cat ccd-references.xsl >> ccr_qrda.xsl
+cat ccd-actors.xsl >> ccr_qrda.xsl
+cat qrda-footer.xsl >> ccr_qrda.xsl
+cat ccd-util.xsl >> ccr_qrda.xsl
Index: /ccr2ccd-xslt/trunk/gpl/qrda-footer.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/qrda-footer.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/qrda-footer.xsl	(revision 981)
@@ -0,0 +1,8 @@
+</section>
+</component>
+</section>
+</component>
+</structuredBody>
+</component>
+</ClinicalDocument>
+    </xsl:template>
Index: /ccr2ccd-xslt/trunk/gpl/qrda-header.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/qrda-header.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/qrda-header.xsl	(revision 981)
@@ -0,0 +1,522 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Conversion of CCR to Level 3 CCD
+
+Orginal Author:   	Ken Miller
+Solventus LLC
+ken.miller@solventus.coms
+
+Contributors:
+Richard Braman, EHR Doctors, Inc rbraman@ehrdoctors.com
+George Lilly (WorldVistA glilly@glilly.net)
+Nancy Antracite, WorldVistA
+xxxx - Oroville Hospital
+
+Date: 	2010-05-5
+Version: 	0.1
+
+License :
+
+        This program is free software: you can redistribute it and/or modify
+        it under the terms of the GNU General Public License as published by
+        the Free Software Foundation, either version 3 of the License, or
+        (at your option) any later version.
+
+        This program is distributed in the hope that it will be useful,
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+        GNU General Public License for more details.
+
+        You should have received a copy of the GNU General Public License
+        along with this program.  If not, see http://www.gnu.org/licenses.
+
+-->
+<xsl:stylesheet version="1.0" xmlns="urn:hl7-org:v3" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exclude-result-prefixes="a date">
+    <xsl:import href="./templates/cdavocablookup.xsl"/>
+    <xsl:import href="./templates/hl7oidlookup.xsl"/>
+    <xsl:import href="./templates/code.xsl"/>
+    <xsl:import href="./templates/actor.xsl"/>
+    <xsl:import href="./templates/datetime.xsl"/>
+    <xsl:import href="./templates/problemDescription.xsl"/>
+
+    <xsl:output method="xml" encoding="utf-8" version="1.0" indent="yes"/>
+    <xsl:template match="/">
+<!--WV Added new munltiple documentation of added have to do with encounter times, etc.-->
+
+<!--
+********************************************************
+CDA Header
+********************************************************
+-->
+
+<!--
+******************
+Document Information
+**********************
+-->
+<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
+	<!-- Created with XML Copy Editor  Open Source Sourceforge project. -->
+<!--WVP This is the clinical document type ID-->
+  <realmCode code="US"/>
+	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+	<!-- QRDA Category I generic template ID. -->
+	<!--WVP these next two lines are fixed-->
+	<templateId root="2.16.840.1.113883.10.20.12" />
+	<!--only in the july spec so not sure if it should be here-->
+	<templateId root="2.16.840.1.113883.3.249.11.100.1"/>
+	<!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
+	<!-- WV? for this group of 10 documents we are submitting-->
+	<id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
+		 <!--WVP next two lines fixed-->
+	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
+	<title>QRDA Incidence Report</title>
+		<!--WVV time-->
+	<effectiveTime value="20100703"/>
+		<!--WVP for next two lines-->
+  <confidentialityCode codeSystem="2.16.840.1.113883.5.25" code="N"/>
+  <languageCode code="en-US"/>
+  <!--WV? Don't change this in the document set we are working on-->
+  <setId root="2.16.840.1.113883.3.543" extension="01.01.01.100000001"/>
+	 <versionNumber value="1"/>
+  <!--WVP  I made one up but we will have to have an OID for the Clincal Document SET which we will make up for ourselves eventually-->
+  
+ <!--
+ *******************
+ Patient Information
+ ****************
+ -->
+	<!-- This is the patient for which the report is describing. -->
+	<recordTarget>
+		<patientRole>
+		  <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
+		  <!--Can't change during the reporting period-->
+			<id root="2.16.840.1.113883.4.1" extension="002386407"/>
+      <!--WVV address is not required-->
+			<addr>
+			  <streetAddressLine>1200 Sanders Lane</streetAddressLine>
+			  <city>Rockville</city>
+			  <state>MD</state>
+			  <postalCode>20850</postalCode>
+			</addr>
+			<patient>
+<!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
+				<name>
+				  <!-- WV Edit -->
+					<given>Jody</given>
+					<family>Jones</family>
+				</name >
+
+				<!--VV Gender code can be M, F  or UN for undifferentiated-->
+				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
+      <!--WVV  Birth Time at least to the day-->
+        <birthTime value="19450101"/>
+        <!--WVV Edit-->
+				<!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
+				<!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
+				<raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
+        <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
+				<!--WV 2186-5 is Not Hispanic or Latino -->
+				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
+      </patient>
+      <!--WV Added to sample document and required NPI as extension and root is permanent-->
+      <providerOrganization>
+      <id root="2.16.840.1.113883.4.6" extension="6558574524" />
+        <name>WorldVistA Test Clinic</name>
+        <!--WVV address of organization which must have NPI is optional-->
+        <addr>
+          <streetAddressLine>123 Maple Ave</streetAddressLine>
+          <city>Gaithersburg</city>
+          <state>MD</state>
+          <postalCode>20877</postalCode>
+        </addr>
+      <!--WVP required asOrganizationPartOf added to sample-->
+        <asOrganizationPartOf>
+          <wholeOrganization>
+            <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
+            <id root="2.16.840.1.113883.4.2" extension="002345678"/>
+          </wholeOrganization> 
+        </asOrganizationPartOf>
+      </providerOrganization>
+		</patientRole>
+	</recordTarget>
+
+<!--
+*****************************
+Author
+**************
+-->
+	<!-- This example assumes the doctor is creating the report and it is Required.  -->
+	<author>
+	  <!--WVV Edit time has to be precise at least to the day-->
+		<time value="20100703" />
+		<assignedAuthor>
+		  <!--WVP eventually id this is required, the root is fixed -->
+		  <!--andn the extension is the SOFTWARE version number assigned by CMS to WV EHR-->
+			<id root="2.16.840.1.113883.3.249.6" extension="100001" />
+			<!--WVVassignedPerson not required-->
+			<assignedPerson>
+				<name>
+				  <!--WV Edit-->
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? id root is OID for the organization so I made one up for this document set-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedAuthor>
+	</author>
+		<!-- The reporting healthcare facility is represented using the CCD "Source of Information" construct, via the Informant participant. -->
+	<informant>
+	   <assignedEntity>
+      <!--WV this null flavor is required as is-->
+			<id nullFlavor="NA"/>
+			<representedOrganization>
+				<!--WV root is the OID of the organization.  ID is required but name is not and id is OID stated earlier-->
+        <id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>World VistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</informant>
+
+	<!-- This example assumes that the institution responsible for the data is serving as custodian. -->
+	<!--WV This element is required as is the sSD which is not stated if it is an OID but assumed it is-->
+	<!--WV Name is not required, only ID is required.-->
+	<custodian>
+		<assignedCustodian>
+			<representedCustodianOrganization>
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedCustodianOrganization>
+		</assignedCustodian>
+	</custodian>
+
+	<!-- In this example, the author is also serving as legal authenticator. -->
+	<!--WV section is this is not required-->
+<legalAuthenticator>
+		<time value="20100703" />
+		<!--WV the signature code of S is required-->
+		<signatureCode code="S" />
+		<assignedEntity>
+      <!--WV document does not specify the requirements of the id but it is required-->
+      <!--WVP and the sample suggests it is the number below and extension is ???-->
+			<id root="2.16.840.1.113883.3.543" extension="111111" />
+			<assignedPerson>
+				<name>
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? and is fixed for the WorldVistA Test Clinic in this submitted document series-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</legalAuthenticator>
+	
+	
+	
+	<!--Added to sample as it is new since 2008-->
+	<!--WVP permanent for participant in the primary care provider participant-->
+<!--WVP performer type codes are numerous but PRF is performer or the person who did it-->
+	<participant typeCode="PRF">
+	  <!--WVP required as is for function-->
+	  <!-- WVP I believe PCP is primary care provider but not sure-->
+	  <functionCode code="PCP" codeSystem="2.16.840.1.113883.5.88"/>
+	  <!--WVP Associated Entity is required ti be there with this PROV-->
+	  <associatedEntity classCode="PROV">
+	    <!--WV? OID of the provider fixed for this series of documents-->
+	    <id root="2.16.840.1.113883.3.249.6" extension="111111" />
+	    <!--WV associated person is not required so presumabley the code will suffice not sure??-->
+	    <associatedPerson>
+	      <name>
+	        <prefix>Dr.</prefix>
+	        <given>Nancy</given>
+	        <family>Anthracite</family>
+        </name>
+	    </associatedPerson>
+    </associatedEntity>
+	</participant>
+	
+	<!--The service event is the encounter that describes tehe encunter as well as the provider, location and time-->
+	<!--!There can be one or more documentation elements depending on the number of encounters during the reporting period-->
+	<!--WVV IMPORTANT!! The encounter codeds are recorded here-->
+	<!-- They are in appendix B of the downloadable resource document-->
+	<!-- Each documentation of is a single service event-->
+	
+<!--Occurence of Measures episode documention-->
+<!--Like an encounter section only for QRDA-->
+<!--Same doctor, same clinic, different date and different enconter code-->
+	
+	
+	<!--First Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99202" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100205"/>
+        <high value="20100205"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	
+	
+	<!--Second Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99204" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100703"/>
+        <high value="20100703"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	<!-- 
+********************************************************
+CDA Body
+********************************************************
+-->
+ <component>
+ 	<structuredBody>
+  	<!-- 
+	  ********************************************************
+     Measure Set Section
+	  ********************************************************
+     -->
+ 	    <component>
+        <section>
+        <!-- WVP QRDA Category I measure-specific template ID for 2010 #1. -->
+        <!--WP Next 3 lines do not change during the reporting period, for the measures section-->
+          <templateId root="2.16.840.1.113883.3.249.11.12" />
+          <code code="55185-3" codeSystem="2.16.840.1.113883.6.1" />
+          <title>Measure set: CMS EHR Measure Set</title>
+          <text>2010 Measures Set Measures</text>
+          <!--
+                ***************************************************
+                Measure Section
+                ***************************************************
+                -->
+           <component>
+            <section>
+              <!--template ID for each measure being reported-->
+              <templateId root="2.16.840.1.113883.3.249.11.2" />
+              <templateId root="2.16.840.1.113883.3.249.11.3" />
+              <templateId root="2.16.840.1.113883.3.249.11.4" />
+              <templateId root="2.16.840.1.113883.3.249.11.5" />
+              <templateId root="2.16.840.1.113883.3.249.11.6" />
+              <templateId root="2.16.840.1.113883.3.249.11.7" />
+              <templateId root="2.16.840.1.113883.3.249.11.8" />
+              <templateId root="2.16.840.1.113883.3.249.11.9" />
+              <templateId root="2.16.840.1.113883.3.249.11.10" />
+              <templateId root="2.16.840.1.113883.3.249.11.11" />
+              <templateId root="2.16.840.1.113883.3.249.11.15" />
+              <code code="55186-1" codeSystem="2.16.840.1.113883.6.1" />
+              <title>Measure Section</title>
+              <!--Here is where the HTML begins for the above and it is optional-->
+              <text>
+                <list>
+                  <item>CMS Measure #1: Diabetes Mellitus: Hemoglobin A1c Poor Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #2: Diabetes Mellitus: Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #3: Diabetes Mellitus: High Blood Pressure Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #5: Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)</item>
+                  <item>CMS Measure #7: Coronary Artery Disease (CAD): Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction (MI)</item>
+                  <item>CMS Measure #110: Preventive Care and Screening: Influenza Immunization for Patients >= 50 Years</item>
+                  <item>CMS Measure #111: Preventive Care and Screening: Pneumonia Vaccination for Patients 65 Years and Older</item>
+                  <item>CMS Measure #112: Preventive Care and Screening: Screening Mammography</item>
+                  <item>CMS Measure #113: Preventive Care and Screening: Colorectal Cancer Screening</item>
+                  <item>CMS Measure #124: Health Information Technology (HIT): Adoption/Use of Electronic Health Records (EHR)</item>
+                  <item>CMS Measure eRx:Adoption/Use of Medication Electronic Prescribing Measure</item>
+                </list>
+              </text>
+              <!--Begin listing of acts-->
+             <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd20-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-1" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent hemoglobin A1C greater than 9.0%</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd21-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-2" codeSystem="2.16.840.1.113883.3.249.12" displayName="Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent LDL-C level in control (less than 100 mg./dL)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd22-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-3" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent blood pressure in control (less than 140/80 mmHg)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd23-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-5" codeSystem="2.16.840.1.113883.3.249.12" displayName="Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)"/>
+                  <text>Percentage of patients 18 years and older with a diagnosis of heart frilure and LVSD who were prescribed ACE inhibitor or ARB therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd24-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-7" codeSystem="2.16.840.1.113883.3.249.12" displayName="Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction"/>
+                  <text>Percentage of patients 18 aged 18 years and older wit a diagnosis of CAD and prior MI who were prescribed beta-blocker therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd25-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-110" codeSystem="2.16.840.1.113883.3.249.12" displayName="Influenza Immunization for Patients >= 50 Years"/>
+                  <text>Percentage of patients aged 50 years and older who received an influenza immunization during the flu season (September through February)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd26-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-111" codeSystem="2.16.840.1.113883.3.249.12" displayName="Pneumonia Vaccination for Patients 65 Years and Older"/>
+                  <text>Percentage of patients afed 65 years and older who have ever received a pneumoccal vaccine</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd27-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-112" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening Mammography"/>
+                  <text>Percentage of womaen aged 40 through 69 years who had a mammogram to screen for breast cancer within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd28-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-113" codeSystem="2.16.840.1.113883.3.249.12" displayName="Colorectal Cancer Screening"/>
+                  <text>Percentage of patients aged 50 through 80 who received the appropriate colorectal cancer screening</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd29-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-124" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Electronic Health Records (EHR)"/>
+                  <text>Documents whether provider has adopted and is using health information technology. To qualify, the provider must havea adopted and be using a certified/qualified electronic health record (EHR)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd30-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="eRx" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Medication Electronic Prescribing Measure"/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+                  <!--
+                  *******************************
+                  Reporting Parameters Section
+                  *****************************
+                   -->
+              <component>
+                  <section>
+                    <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
+                      <title>Reporting Parameters</title>
+                      <text>
+                        <list>
+                          <item>Reporting Period Jan 1, 2010 to Dec 31, 2010</item>
+                        </list>
+                      </text>
+                      <entry>
+                        <act classCode="ACT" moodCode="EVN">
+                        <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
+                        <effectiveTime>
+                          <low value="20100101"/>
+                          <high value="20101231"/>
+                        </effectiveTime>
+                      </act>
+                    </entry>
+                  </section>
+                </component>
Index: /ccr2ccd-xslt/trunk/gpl/qrda-measures.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/qrda-measures.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/qrda-measures.xsl	(revision 981)
@@ -0,0 +1,266 @@
+                ***************************************************
+                Measure Section
+                ***************************************************
+                -->
+           <component>
+            <section>
+              <!--template ID for each measure being reported-->
+              <templateId root="2.16.840.1.113883.3.249.11.2" />
+              <templateId root="2.16.840.1.113883.3.249.11.3" />
+              <templateId root="2.16.840.1.113883.3.249.11.4" />
+              <templateId root="2.16.840.1.113883.3.249.11.5" />
+              <templateId root="2.16.840.1.113883.3.249.11.6" />
+              <templateId root="2.16.840.1.113883.3.249.11.7" />
+              <templateId root="2.16.840.1.113883.3.249.11.8" />
+              <templateId root="2.16.840.1.113883.3.249.11.9" />
+              <templateId root="2.16.840.1.113883.3.249.11.10" />
+              <templateId root="2.16.840.1.113883.3.249.11.11" />
+              <templateId root="2.16.840.1.113883.3.249.11.15" />
+             <!--New for 2011--> 
+              <templateId root="2.16.840.1.113883.3.249.11.51" />
+              <templateId root="2.16.840.1.113883.3.249.11.52" />
+              <templateId root="2.16.840.1.113883.3.249.11.53" />
+              <templateId root="2.16.840.1.113883.3.249.11.54" />
+              <templateId root="2.16.840.1.113883.3.249.11.55" />
+              <templateId root="2.16.840.1.113883.3.249.11.56" />
+              <templateId root="2.16.840.1.113883.3.249.11.57" />
+              <templateId root="2.16.840.1.113883.3.249.11.58" />
+              <templateId root="2.16.840.1.113883.3.249.11.59" />
+              <templateId root="2.16.840.1.113883.3.249.11.60" />
+              <code code="55186-1" codeSystem="2.16.840.1.113883.6.1" />
+        
+              <title>Measure Section</title>
+              <!--Here is where the HTML begins for the above and it is optional-->
+              <text>
+                <list>
+                  <item>CMS Measure #1: Diabetes Mellitus: Hemoglobin A1c Poor Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #2: Diabetes Mellitus: Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #3: Diabetes Mellitus: High Blood Pressure Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #5: Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)</item>
+                  <item>CMS Measure #7: Coronary Artery Disease (CAD): Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction (MI)</item>
+                  <item>CMS Measure #110: Preventive Care and Screening: Influenza Immunization for Patients >= 50 Years</item>
+                  <item>CMS Measure #111: Preventive Care and Screening: Pneumonia Vaccination for Patients 65 Years and Older</item>
+                  <item>CMS Measure #112: Preventive Care and Screening: Screening Mammography</item>
+                  <item>CMS Measure #113: Preventive Care and Screening: Colorectal Cancer Screening</item>
+                  <item>CMS Measure #124: Health Information Technology (HIT): Adoption/Use of Electronic Health Records (EHR)</item>
+                  <item>CMS Measure eRx:Adoption/Use of Medication Electronic Prescribing Measure</item>
+                  <!--added 2011 measures-->
+                  <item>CMS Measure #39: Screening or Therapy for Osteoporosis for Women Aged 65 Years and Older</item>
+                  <item>CMS Measure #47: Advance Care Plan </item>
+                  <item>CMS Measure #48: Urinary Incontinence: Assessment of Presence or Absence of Urinary Incontinence in Women Aged 65 Years and Older</item>
+                  <item>CMS Measure #128: Preventive Care and Screening: Body Mass Index (BMI) Screening and Follow-Up </item>
+                  <item>CMS Measure #173: Preventive Care and Screening: Unhealthy Alcohol Use - Screening</item>
+                  <item>CMS Measure #0013: Hypertension (HTN): Blood Pressure Measurement - QRDA Cat I template </item>
+                  <item>CMS Measure #0022: Drugs to be avoided in the Elderly </item>
+                  <item>CMS Measure #0024: Body Mass Index (BMI) 2 through 18 years of age </item>
+                  <item>CMS Measure #0028: Preventive Care and Screening: Tobacco Use: Screening and Cessation Intervention</item>
+                  <item>CMS Measure #0038: Childhood Immunization Status - QRDA Cat I template</item>
+                </list>
+              </text>
+              <!--Begin listing of acts-->
+             <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-1" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent hemoglobin A1C greater than 9.0%</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-2" codeSystem="2.16.840.1.113883.3.249.12" displayName="Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent LDL-C level in control (less than 100 mg./dL)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-3" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent blood pressure in control (less than 140/80 mmHg)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-5" codeSystem="2.16.840.1.113883.3.249.12" displayName="Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)"/>
+                  <text>Percentage of patients 18 years and older with a diagnosis of heart frilure and LVSD who were prescribed ACE inhibitor or ARB therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-7" codeSystem="2.16.840.1.113883.3.249.12" displayName="Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction"/>
+                  <text>Percentage of patients 18 aged 18 years and older wit a diagnosis of CAD and prior MI who were prescribed beta-blocker therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-110" codeSystem="2.16.840.1.113883.3.249.12" displayName="Influenza Immunization for Patients >= 50 Years"/>
+                  <text>Percentage of patients aged 50 years and older who received an influenza immunization during the flu season (September through February)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-111" codeSystem="2.16.840.1.113883.3.249.12" displayName="Pneumonia Vaccination for Patients 65 Years and Older"/>
+                  <text>Percentage of patients afed 65 years and older who have ever received a pneumoccal vaccine</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-112" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening Mammography"/>
+                  <text>Percentage of womaen aged 40 through 69 years who had a mammogram to screen for breast cancer within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-113" codeSystem="2.16.840.1.113883.3.249.12" displayName="Colorectal Cancer Screening"/>
+                  <text>Percentage of patients aged 50 through 80 who received the appropriate colorectal cancer screening</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-124" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Electronic Health Records (EHR)"/>
+                  <text>Documents whether provider has adopted and is using health information technology. To qualify, the provider must havea adopted and be using a certified/qualified electronic health record (EHR)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="eRx" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Medication Electronic Prescribing Measure"/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+                </entry>
+                
+ <!--******************************************
+               Begin 2011 measures
+ ********************************************-->
+                <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-39" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening or Therapy for Osteoporosis for Women Aged 65 Years and Older"/>
+                  <text>Percentage of patients who had a DXA measurement ordered or performed at least once since age 60 or pharmacologic therapy prescribed within 12 months before the end of the measurement period</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-47" codeSystem="2.16.840.1.113883.3.249.12" displayName="Advance Care Plan"/>
+                  <text>Percentage of patients age 65 and older who have an advanced care plan or surrogate decision maker documented in the medical record or documented in the medical record that an advance care plan was discussed but the patient did not wish or was not able to name a surrogate decision maker or provide an advance care plan.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-48" codeSystem="2.16.840.1.113883.3.249.12" displayName="Urinary Incontinence: Assessment of Presence or Absence of Urinary Incontinence in Women Aged 65 Years and Older"/>
+                  <text>Percentage of patients equal to or older than 65 years of age at the beginning of the measurement perion who were assesed for the presence or absence of urinary incontinence within 12 months.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-128" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive Care and Screening: Body Mass Index (BMI) Screening and Follow-Up"/>
+                  <text>Percentage of patients aged 18 yesrs and older with a calculate BMI in the past 6 months or during the current visit documented in the medical record and if the most recent BMI is ourtide parameters, a follow-up plan is documented. Ages 65 and older BMI equal to or greater than 30 or less than 22 and ages 18-64, BMI greater than or equal to 25 or less than 18.5</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-173" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive Care and Screening: Unhealthy Alcohol Use - Screening"/>
+                  <text>Percentage of patients aged 18 years and older who were screened for unhealthy alcohol use using a systematic method within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-13" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hypertension (HTN): Blood Pressure Measurement"/>
+                  <text>Percentage of patients aged 18 years and older with a diagnosis of hypertension in the beginning of the measurement period with a blood pressure recoreded.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-22" codeSystem="2.16.840.1.113883.3.249.12" displayName="Drugs to be avoided in the elderly"/>
+                  <text>Percentage of patients aged 65 years and older who received at least one drug to be acoided in the elderly and/or two different drugs to be avoided in the elderly in the measurement period</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-24" codeSystem="2.16.840.1.113883.3.249.12" displayName="BMI age 2-18 years of age"/>
+                  <text>Percentage of children 2-18 years of age at the beginning of the measurement period whose weight is classified based on BMI percentile for age and gender.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-28" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive care and Screening: Tobacco Use: Screening and Cessation Intervention"/>
+                  <text>Percentage of patients aged 18 years of older who were screened about tobacco use at least once during the two year measurement preoid AND who received cessation counseling if identified as a tobacco user.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-38" codeSystem="2.16.840.1.113883.3.249.12" displayName="Childhood immumnization status"/>
+                  <text>Percentage of children who turn two years of age during the measurement period who have had four DTaP/DT, three IPV, one MMR and three H influenza type B, three hepatitis B, one chicken pox vaccine (VZV) and four pneumococcal conjugate vaccines by their second birthday</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="" codeSystem="2.16.840.1.113883.3.249.12" displayName=""/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+                  <!--
+                  *******************************
+                  Reporting Parameters Section
+                  *****************************
+                   -->
+              <component>
+                  <section>
+                      <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
+                      <title>Reporting Parameters</title>
+                      <text>
+                        <list>
+                          <item>Reporting Period Jan 1, 2010 to Dec 31, 2010</item>
+                        </list>
+                      </text>
+                      <entry>
+                        <act classCode="ACT" moodCode="EVN">
+                        <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
+                        <effectiveTime>
+                          <low value="20100101"/>
+                          <high value="20101231"/>
+                        </effectiveTime>
+                      </act>
+                    </entry>
+                  </section>
+                </component>
+                  <!-- 
Index: /ccr2ccd-xslt/trunk/gpl/qrda.sh
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/qrda.sh	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/qrda.sh	(revision 981)
@@ -0,0 +1,1 @@
+xalan -in sample2.xml -xsl ccr_qrda.xsl -out qrdaout2.xml
Index: /ccr2ccd-xslt/trunk/gpl/qrda.xml
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/qrda.xml	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/qrda.xml	(revision 981)
@@ -0,0 +1,1611 @@
+﻿<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="cda.xsl"?>
+<!--WV Added new munltiple documentation of added have to do with encounter times, etc.-->
+
+<!--
+********************************************************
+CDA Header
+********************************************************
+-->
+
+<!--
+******************
+Document Information
+**********************
+-->
+<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
+	<!-- Created with XML Copy Editor  Open Source Sourceforge project. -->
+<!--WVP This is the clinical document type ID-->
+  <realmCode code="US"/>
+	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
+	<!-- QRDA Category I generic template ID. -->
+	<!--WVP these next two lines are fixed-->
+	<templateId root="2.16.840.1.113883.10.20.12" />
+	<!--only in the july spec so not sure if it should be here-->
+	<templateId root="2.16.840.1.113883.3.249.11.100.1"/>
+	<!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
+	<!-- WV? for this group of 10 documents we are submitting-->
+	<id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
+		 <!--WVP next two lines fixed-->
+	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
+	<title>QRDA Incidence Report</title>
+		<!--WVV time-->
+	<effectiveTime value="20100703"/>
+		<!--WVP for next two lines-->
+  <confidentialityCode codeSystem="2.16.840.1.113883.5.25" code="N"/>
+  <languageCode code="en-US"/>
+  <!--WV? Don't change this in the document set we are working on-->
+  <setId root="2.16.840.1.113883.3.543" extension="01.01.01.100000001"/>
+	 <versionNumber value="1"/>
+  <!--WVP  I made one up but we will have to have an OID for the Clincal Document SET which we will make up for ourselves eventually-->
+  
+ <!--
+ *******************
+ Patient Information
+ ****************
+ -->
+	<!-- This is the patient for which the report is describing. -->
+	<recordTarget>
+		<patientRole>
+		  <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
+		  <!--Can't change during the reporting period-->
+			<id root="2.16.840.1.113883.4.1" extension="002386407"/>
+      <!--WVV address is not required-->
+			<addr>
+			  <streetAddressLine>1200 Sanders Lane</streetAddressLine>
+			  <city>Rockville</city>
+			  <state>MD</state>
+			  <postalCode>20850</postalCode>
+			</addr>
+			<patient>
+<!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
+				<name>
+				  <!-- WV Edit -->
+					<given>Jody</given>
+					<family>Jones</family>
+				</name >
+
+				<!--VV Gender code can be M, F  or UN for undifferentiated-->
+				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
+      <!--WVV  Birth Time at least to the day-->
+        <birthTime value="19450101"/>
+        <!--WVV Edit-->
+				<!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
+				<!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
+				<raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
+        <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
+				<!--WV 2186-5 is Not Hispanic or Latino -->
+				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
+      </patient>
+      <!--WV Added to sample document and required NPI as extension and root is permanent-->
+      <providerOrganization>
+      <id root="2.16.840.1.113883.4.6" extension="6558574524" />
+        <name>WorldVistA Test Clinic</name>
+        <!--WVV address of organization which must have NPI is optional-->
+        <addr>
+          <streetAddressLine>123 Maple Ave</streetAddressLine>
+          <city>Gaithersburg</city>
+          <state>MD</state>
+          <postalCode>20877</postalCode>
+        </addr>
+      <!--WVP required asOrganizationPartOf added to sample-->
+        <asOrganizationPartOf>
+          <wholeOrganization>
+            <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
+            <id root="2.16.840.1.113883.4.2" extension="002345678"/>
+          </wholeOrganization> 
+        </asOrganizationPartOf>
+      </providerOrganization>
+		</patientRole>
+	</recordTarget>
+
+<!--
+*****************************
+Author
+**************
+-->
+	<!-- This example assumes the doctor is creating the report and it is Required.  -->
+	<author>
+	  <!--WVV Edit time has to be precise at least to the day-->
+		<time value="20100703" />
+		<assignedAuthor>
+		  <!--WVP eventually id this is required, the root is fixed -->
+		  <!--andn the extension is the SOFTWARE version number assigned by CMS to WV EHR-->
+			<id root="2.16.840.1.113883.3.249.6" extension="100001" />
+			<!--WVVassignedPerson not required-->
+			<assignedPerson>
+				<name>
+				  <!--WV Edit-->
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? id root is OID for the organization so I made one up for this document set-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedAuthor>
+	</author>
+		<!-- The reporting healthcare facility is represented using the CCD "Source of Information" construct, via the Informant participant. -->
+	<informant>
+	   <assignedEntity>
+      <!--WV this null flavor is required as is-->
+			<id nullFlavor="NA"/>
+			<representedOrganization>
+				<!--WV root is the OID of the organization.  ID is required but name is not and id is OID stated earlier-->
+        <id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>World VistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</informant>
+
+	<!-- This example assumes that the institution responsible for the data is serving as custodian. -->
+	<!--WV This element is required as is the sSD which is not stated if it is an OID but assumed it is-->
+	<!--WV Name is not required, only ID is required.-->
+	<custodian>
+		<assignedCustodian>
+			<representedCustodianOrganization>
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedCustodianOrganization>
+		</assignedCustodian>
+	</custodian>
+
+	<!-- In this example, the author is also serving as legal authenticator. -->
+	<!--WV section is this is not required-->
+<legalAuthenticator>
+		<time value="20100703" />
+		<!--WV the signature code of S is required-->
+		<signatureCode code="S" />
+		<assignedEntity>
+      <!--WV document does not specify the requirements of the id but it is required-->
+      <!--WVP and the sample suggests it is the number below and extension is ???-->
+			<id root="2.16.840.1.113883.3.543" extension="111111" />
+			<assignedPerson>
+				<name>
+					<given>Nancy</given>
+					<family>Anthracite</family>
+					<suffix>MD</suffix>
+				</name>
+			</assignedPerson>
+			<representedOrganization>
+			  <!--WV? and is fixed for the WorldVistA Test Clinic in this submitted document series-->
+				<id root="2.16.840.1.113883.3.543" extension="1558574526" />
+				<name>WorldVistA Test Clinic</name>
+			</representedOrganization>
+		</assignedEntity>
+	</legalAuthenticator>
+	
+	
+	
+	<!--Added to sample as it is new since 2008-->
+	<!--WVP permanent for participant in the primary care provider participant-->
+<!--WVP performer type codes are numerous but PRF is performer or the person who did it-->
+	<participant typeCode="PRF">
+	  <!--WVP required as is for function-->
+	  <!-- WVP I believe PCP is primary care provider but not sure-->
+	  <functionCode code="PCP" codeSystem="2.16.840.1.113883.5.88"/>
+	  <!--WVP Associated Entity is required ti be there with this PROV-->
+	  <associatedEntity classCode="PROV">
+	    <!--WV? OID of the provider fixed for this series of documents-->
+	    <id root="2.16.840.1.113883.3.249.6" extension="111111" />
+	    <!--WV associated person is not required so presumabley the code will suffice not sure??-->
+	    <associatedPerson>
+	      <name>
+	        <prefix>Dr.</prefix>
+	        <given>Nancy</given>
+	        <family>Anthracite</family>
+        </name>
+	    </associatedPerson>
+    </associatedEntity>
+	</participant>
+	
+	<!--The service event is the encounter that describes tehe encunter as well as the provider, location and time-->
+	<!--!There can be one or more documentation elements depending on the number of encounters during the reporting period-->
+	<!--WVV IMPORTANT!! The encounter codeds are recorded here-->
+	<!-- They are in appendix B of the downloadable resource document-->
+	<!-- Each documentation of is a single service event-->
+	
+<!--Occurence of Measures episode documention-->
+<!--Like an encounter section only for QRDA-->
+<!--Same doctor, same clinic, different date and different enconter code-->
+	
+	
+	<!--First Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99202" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100205"/>
+        <high value="20100205"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	
+	
+	<!--Second Visit documentationOf section-->
+	
+	<documentationOf>
+	  <serviceEvent>
+	    <!--WV serviceEvent codes from Tab B from the downloadabe resource coding system is -->
+	    <!--WVF  codeSystem is 2.16.840.1.113883 -->
+      <!--WV code root shall be WVP 2.16.840.1.113883.6.12 and the extension shall be the encounter code -->
+      <!-- WV? like the length of visit and complexity codes for example-->
+      
+      <code code="99204" codeSystem="2.16.840.1.113883.6.12" codeSystemName="C4"/>
+      <effectiveTime>
+        <!--WV Edit-->
+        <!-- This has to be precise at least to the day. Something with time would be better.  Not sure of the necessary format so did not add time-->
+        <low value="20100703"/>
+        <high value="20100703"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!-- WV? Provider NPI  Required root 2.16.840.1.113883.9.96 is ?? and the NPI is an extension for the provider-->
+        <!--This is variable but may remain unchanged for this document set-->
+        <id root="2.16.840.1.113883.3.543" extension="6558574524"/>
+          <!--<id root="2.16.840.1.113883.3.543" extension="1457402711"/>-->
+          <!--WV this element should be present and the code is probably for a General Physician for!-->
+          <!--It may be the type of provider as the example as I think  2.16.840.1.113883.6.69is the NDC-->
+          <!-- codeSystemName is SNOMED CT and code is an 8 digit num and display name is for a physician-->
+          <!--O6120 is SPECIALIZED PHYSICIAN when I looked it up so I don't know where to look for this 8 digit number-->
+         <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes-->
+         <!--59058001 is general physician ;Family Medicine specialist is 62247001-->
+          <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNOMED CT" displayName="Internal Medician Specialist"/>
+          <addr>
+            <streetAddressLine>123 Maple Ave</streetAddressLine>
+            <city>Gaithersburg</city>
+            <state>MD</state>
+            <postalCode>20877</postalCode>
+          </addr>
+          <assignedPerson>
+            <name>
+              <given>Nancy</given>
+              <family>Anthracite</family>
+              <suffix>MD</suffix>
+            </name>
+          </assignedPerson>
+        </assignedEntity>
+      </performer>
+    </serviceEvent>
+  </documentationOf>
+	<!-- 
+********************************************************
+CDA Body
+********************************************************
+-->
+ <component>
+ 	<structuredBody>
+  	<!-- 
+	  ********************************************************
+     Measure Set Section
+	  ********************************************************
+     -->
+ 	    <component>
+        <section>
+        <!-- WVP QRDA Category I measure-specific template ID for 2010 #1. -->
+        <!--WP Next 3 lines do not change during the reporting period, for the measures section-->
+          <templateId root="2.16.840.1.113883.3.249.11.12" />
+          <code code="55185-3" codeSystem="2.16.840.1.113883.6.1" />
+          <title>Measure set: CMS EHR Measure Set</title>
+          <text>2010 Measures Set Measures</text>
+          <!--
+                ***************************************************
+                Measure Section
+                ***************************************************
+                -->
+           <component>
+            <section>
+              <!--template ID for each measure being reported-->
+              <templateId root="2.16.840.1.113883.3.249.11.2" />
+              <templateId root="2.16.840.1.113883.3.249.11.3" />
+              <templateId root="2.16.840.1.113883.3.249.11.4" />
+              <templateId root="2.16.840.1.113883.3.249.11.5" />
+              <templateId root="2.16.840.1.113883.3.249.11.6" />
+              <templateId root="2.16.840.1.113883.3.249.11.7" />
+              <templateId root="2.16.840.1.113883.3.249.11.8" />
+              <templateId root="2.16.840.1.113883.3.249.11.9" />
+              <templateId root="2.16.840.1.113883.3.249.11.10" />
+              <templateId root="2.16.840.1.113883.3.249.11.11" />
+              <templateId root="2.16.840.1.113883.3.249.11.15" />
+              <code code="55186-1" codeSystem="2.16.840.1.113883.6.1" />
+              <title>Measure Section</title>
+              <!--Here is where the HTML begins for the above and it is optional-->
+              <text>
+                <list>
+                  <item>CMS Measure #1: Diabetes Mellitus: Hemoglobin A1c Poor Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #2: Diabetes Mellitus: Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #3: Diabetes Mellitus: High Blood Pressure Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #5: Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)</item>
+                  <item>CMS Measure #7: Coronary Artery Disease (CAD): Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction (MI)</item>
+                  <item>CMS Measure #110: Preventive Care and Screening: Influenza Immunization for Patients >= 50 Years</item>
+                  <item>CMS Measure #111: Preventive Care and Screening: Pneumonia Vaccination for Patients 65 Years and Older</item>
+                  <item>CMS Measure #112: Preventive Care and Screening: Screening Mammography</item>
+                  <item>CMS Measure #113: Preventive Care and Screening: Colorectal Cancer Screening</item>
+                  <item>CMS Measure #124: Health Information Technology (HIT): Adoption/Use of Electronic Health Records (EHR)</item>
+                  <item>CMS Measure eRx:Adoption/Use of Medication Electronic Prescribing Measure</item>
+                </list>
+              </text>
+              <!--Begin listing of acts-->
+             <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd20-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-1" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent hemoglobin A1C greater than 9.0%</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd21-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-2" codeSystem="2.16.840.1.113883.3.249.12" displayName="Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent LDL-C level in control (less than 100 mg./dL)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd22-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-3" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent blood pressure in control (less than 140/80 mmHg)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd23-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-5" codeSystem="2.16.840.1.113883.3.249.12" displayName="Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)"/>
+                  <text>Percentage of patients 18 years and older with a diagnosis of heart frilure and LVSD who were prescribed ACE inhibitor or ARB therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd24-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-7" codeSystem="2.16.840.1.113883.3.249.12" displayName="Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction"/>
+                  <text>Percentage of patients 18 aged 18 years and older wit a diagnosis of CAD and prior MI who were prescribed beta-blocker therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd25-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-110" codeSystem="2.16.840.1.113883.3.249.12" displayName="Influenza Immunization for Patients >= 50 Years"/>
+                  <text>Percentage of patients aged 50 years and older who received an influenza immunization during the flu season (September through February)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd26-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-111" codeSystem="2.16.840.1.113883.3.249.12" displayName="Pneumonia Vaccination for Patients 65 Years and Older"/>
+                  <text>Percentage of patients afed 65 years and older who have ever received a pneumoccal vaccine</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd27-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-112" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening Mammography"/>
+                  <text>Percentage of womaen aged 40 through 69 years who had a mammogram to screen for breast cancer within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd28-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-113" codeSystem="2.16.840.1.113883.3.249.12" displayName="Colorectal Cancer Screening"/>
+                  <text>Percentage of patients aged 50 through 80 who received the appropriate colorectal cancer screening</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd29-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="PQRI-124" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Electronic Health Records (EHR)"/>
+                  <text>Documents whether provider has adopted and is using health information technology. To qualify, the provider must havea adopted and be using a certified/qualified electronic health record (EHR)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  <id root="3944fd30-865c-11df-a4ee-0800200c9a66"/>
+                  <code code="eRx" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Medication Electronic Prescribing Measure"/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+                  <!--
+                  *******************************
+                  Reporting Parameters Section
+                  *****************************
+                   -->
+              <component>
+                  <section>
+                    <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
+                      <title>Reporting Parameters</title>
+                      <text>
+                        <list>
+                          <item>Reporting Period Jan 1, 2010 to Dec 31, 2010</item>
+                        </list>
+                      </text>
+                      <entry>
+                        <act classCode="ACT" moodCode="EVN">
+                        <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
+                        <effectiveTime>
+                          <low value="20100101"/>
+                          <high value="20101231"/>
+                        </effectiveTime>
+                      </act>
+                    </entry>
+                  </section>
+                </component>
+                  <!-- 
+                  ********************************************************
+                  Patient Data 
+                  ********************************************************
+                 -->
+                <component>
+                  <section>
+                    <code code="55188-7" codeSystem="2.16.840.1.113883.6.1"/>
+                    <title>Patient Data</title>
+                  </section>
+                </component>
+               <!--
+               **************************************************
+               PROBLEM SECTION
+               **************************************************
+               -->
+                <component>
+                  <section>
+                    <!--Problems are observations and the next two lines are fixed -WVP-->
+                    <templateId root="2.16.840.1.113883.10.20.1.11"/>
+                    <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/>
+                    <title>Problems</title>
+                    <text>
+                      <table border="1" width="100%">
+                        <tbody>
+                          <tr>
+                            <th>Condition</th>
+                            <th>Effective Dates</th>
+                            <th>Condition Status</th>
+                          </tr>
+                          <tr>
+                            <td>Diabetes mellitus</td>
+                            <td>1995</td>
+                            <td>Active/Chronic</td>
+                          </tr>
+                          <tr>
+                            <td>Congestive Heart Failure</td>
+                            <td>2007</td>
+                            <td>Active/Chronic</td>
+                          </tr>
+                          <tr>
+                            <td>Myocardial Infactioon</td>
+                            <td>1996</td>
+                            <td>Resolved</td>
+                          </tr>
+                        </tbody>
+                      </table>
+                    </text>
+                    <!--DRIV is derived from and both source and target are observations Next three lines are WVP-->
+                    <entry typeCode="DRIV">
+                      <act classCode="ACT" moodCode="EVN">
+                        <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                        <!-- Problem act template -->
+                        <!--This is a UID for this problem-->
+                        <id root="82dd6640-8669-11df-a4ee-0800200c9a66"/>
+                        <code nullFlavor="NA"/>
+                        <!--relates an aCT to a subject act that the first act is primarily concerned with-->
+                        <entryRelationship typeCode="SUBJ">
+                          <observation classCode="OBS" moodCode="EVN">
+                            <!--10.20.1.50 is for observation-->
+                            <templateId root="2.16.840.1.113883.10.20.1.28"/>
+                            <!-- Problem observation template -->
+                            <id root="82dd6641-8669-11df-a4ee-0800200c9a66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="19950101"/>
+                            </effectiveTime>
+                            <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 -->
+                            <value xsi:type="CD" code="250.00" codeSystem="2.16.840.1.113883.6.103" displayName="Diabetes Mellitus"/>
+                            <!--REFR is refers to-->
+                             <entryRelationship typeCode="REFR">
+                              <!-- EVN is event or a service that actually happens-->
+                              <observation classCode="OBS" moodCode="EVN">
+                                <!--10.20.1.50 is observation template OID-->
+                                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                                <!-- Problem status observation template -->
+                                <!--33999-4 is for status template-->
+                                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
+                                <statusCode code="completed"/>
+                                <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED  CT-->
+                                <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Chronic"/>
+                              </observation>
+                            </entryRelationship>
+                          </observation>
+                        </entryRelationship>
+                      </act>
+							      </entry>
+                    <!--DRIV is derived from and both source and target are observations Next three lines are WVP-->
+                    <entry typeCode="DRIV">
+                      <act classCode="ACT" moodCode="EVN">
+                        <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                        <!-- Problem act template -->
+                        <!--This is a UID for this problem-->
+                        <id root="82dd6642-8669-11df-a4ee-0800200c9a66"/>
+                        <code nullFlavor="NA"/>
+                        <!--relates an aCT to a subject act that the first act is primarily concerned with-->
+                        <entryRelationship typeCode="SUBJ">
+                          <observation classCode="OBS" moodCode="EVN">
+                            <!--10.20.1.50 is for observation-->
+                            <templateId root="2.16.840.1.113883.10.20.1.28"/>
+                            <!-- Problem observation template -->
+                            <id root="82dd6643-8669-11df-a4ee-0800200c9a66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="20070101"/>
+                            </effectiveTime>
+                            <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 -->
+                            <value xsi:type="CD" code="428.0" codeSystem="2.16.840.1.113883.6.103" displayName="Congestive Heart Failure"/>
+                            <!--REFR is refers to-->
+                            <entryRelationship typeCode="REFR">
+                              <!-- EVN is event or a service that actually happens-->
+                              <observation classCode="OBS" moodCode="EVN">
+                                <!--10.20.1.50 is observation template OID-->
+                                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                                <!-- Problem status observation template -->
+                                <!--33999-4 is for status template-->
+                                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
+                                <statusCode code="completed"/>
+                                <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED  CT-->
+                                <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Chronic"/>
+                              </observation>
+                            </entryRelationship>
+                          </observation>
+                        </entryRelationship>
+                      </act>
+							      </entry>
+                    <entry typeCode="DRIV">
+                      <act classCode="ACT" moodCode="EVN">
+                        <templateId root="2.16.840.1.113883.10.20.1.27"/>
+                        <!-- Problem act template -->
+                        <!--This is a UID for this problem-->
+                        <id root="82dd6640-8669-11df-a4ee-0800200c9a66"/>
+                        <code nullFlavor="NA"/>
+                        <!--relates an aCT to a subject act that the first act is primarily concerned with-->
+                        <entryRelationship typeCode="SUBJ">
+                          <observation classCode="OBS" moodCode="EVN">
+                            <!--10.20.1.50 is for observation-->
+                            <templateId root="2.16.840.1.113883.10.20.1.28"/>
+                            <!-- Problem observation template -->
+                            <id root="82dd6641-8669-11df-a4ee-0800200c9a66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="19960101"/>
+                            </effectiveTime>
+                            <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 -->
+                            <value xsi:type="CD" code="412" codeSystem="2.16.840.1.113883.6.103" displayName="Old Myocardial Infarction"/>
+                            <!--REFR is refers to-->
+                            <entryRelationship typeCode="REFR">
+                              <!-- EVN is event or a service that actually happens-->
+                              <observation classCode="OBS" moodCode="EVN">
+                                <!--10.20.1.50 is observation template OID-->
+                                <templateId root="2.16.840.1.113883.10.20.1.50"/>
+                                <!-- Problem status observation template -->
+                                <!--33999-4 is for status template-->
+                                <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
+                                <statusCode code="completed"/>
+                                <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED  CT-->
+                                <value xsi:type="CE" code="73425007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Inactive"/>
+                              </observation>
+                            </entryRelationship>
+                          </observation>
+                        </entryRelationship>
+                      </act>
+							      </entry>
+                  </section>
+ </component> 
+                <!--
+                *********************************************
+                Medication Section
+                *********************************************
+                -->
+                <component>
+                  <section>
+                  <!--<templateId root="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP/C83"/>-->
+                  <!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19" assigningAuthorityName="IHE PCC"/>-->
+                  <templateId root="2.16.840.1.113883.10.20.1.8" assigningAuthorityName="HL7 CCD"/>
+                  <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
+                  <title>Medications</title>
+                  <text>
+                  <table border="1" width="100%">
+                  <thead>
+                  <tr>
+                  <th>Medication</th>
+                  <th>Date</th>
+                  <th>Status</th>
+                  <th>Form</th>
+                  <th>Strength</th>
+                  <th>Quantity</th>
+                  <th>SIG</th>
+                   <th>Refills</th>
+                  <th>Prescribed by</th>
+                  </tr>
+                  </thead>
+                  <tbody>
+                  <tr>
+                  <td>GLYBURIDE-METFORMIN 2.5 mg-500 mg oral tablet</td>
+                  <td>7-3-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TABLET</td>
+                  <td>2.5/500 MG</td>
+                  <td>90 TAB</td>
+                  <td> ONE BY MOUTH Q12H</td>
+                  <td>two</td> 
+	                <td>Nancy Anthracite, MD</td>
+                  </tr>
+                  <tr>
+                  <td>ATENOLOL 100MG TAB</td>
+                  <td>7-3-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TAB</td>
+                  <td>100 MG</td>
+                  <td>90 TAB</td>
+                  <td>ONE TAB (BY MOUTH) QD</td>
+                  <td>TWO</td>
+                   <td>Nancy Anthracite, MD</td>
+                  </tr>
+                  <tr>
+                  <td>LISINOPRIL 20MG TAB</td>
+                  <td>7-3-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TAB</td>
+                  <td>20 MG</td>
+                  <td>90 TAB</td>
+                  <td>20 MG ORAL (BY MOUTH) QAM</td>
+                  <td>2</td>
+                  <td>Nancy Anthracite, MD</td>
+                  </tr>
+                  </tbody>
+                  </table>
+                  </text>
+                  <entry typeCode="DRIV">
+                  <!-- WVP EVN mood code is for event or a service that actually happens-->
+                  <substanceAdministration classCode="SBADM" moodCode="EVN">
+                  <!--WVP Substance Adminstration Template 10.20.1.24 what is administered but 10.20.1.34 would be for supply activity-->
+                    <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                    <templateId root="2.16.840.1.113883.3.249.19.5.10" extension="10016"/>
+                    <!--<id root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>-->
+                    <!--<id root="MED1" extension="CCRObjectID"/>-->
+                    <id root="2.16.840.1.113883.19.5.10" extension="100016"/>
+                    <statusCode code="completed"/>
+                    <effectiveTime xsi:type="IVL_TS">
+                      <low value="20100703"/>
+                      <high nullFlavor="UNK"/>
+ 
+							        </effectiveTime>
+                     <effectiveTime xsi:type="PIVL_TS" operator="A">
+								          <period value="12" unit="h"/>
+                    </effectiveTime>
+                    <!--SHOULD have this routeOfAdminstartionbut I can't find the codes for it-->
+                    <!--Downloadable resource is missing them-->
+                    <!--<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>-->
+                    <doseQuantity value="1">
+                      <!--Unit was missing from generated CCD MG was added (hope it is right!)-->
+                      <low value="1" unit="TAB"/>
+                      <high value="1" unit="TAB"/>
+                    </doseQuantity>
+                    <consumable>
+                      <manufacturedProduct>
+                        <!--<templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>-->
+                          <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                        <!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>-->
+                        <manufacturedMaterial>
+                        <!--this will be right RxNorm in 2011-->
+                        <!--Other options to use
+                        00087607311 glyBURIDE-metformin 2.5 mg-500 mg oral tablet
+                        00087607411 glyBURIDE-metformin 5 mg-500 mg oral tablet
+                        00087607731 glipiZIDE-metformin 2.5 mg-500 mg oral tablet
+                        00087607831 glipiZIDE-metformin 5 mg-500 mg oral tablet
+                        00087608131 glipiZIDE-metformin 2.5 mg-250 mg oral tablet-->
+
+                          <code code="00087607411" displayName="glyburide-metformin 2.5 mg-500 mg oral tablet" codeSystemName="NDC" codeSystem="2.16.840.1.113883.6.69">
+                          <!--<name/>-->
+                          <originalText>glyburide-metformin</originalText>
+                          </code>
+                        </manufacturedMaterial>
+                      </manufacturedProduct>
+                    </consumable>
+                  </substanceAdministration>
+                  </entry>
+                  <entry typeCode="DRIV">
+                  <substanceAdministration classCode="SBADM" moodCode="EVN">
+                  <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                  <!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>-->
+                  <!--<id root="MED2" extension="CCRObjectID"/>-->
+                  <id root="2.16.840.1.113883.19.5.10" extension="100016"/>
+                  <statusCode code="completed"/>
+                   <effectiveTime xsi:type="IVL_TS">
+                      <low value="20100701"/>
+                      <high nullFlavor="UNK"/>
+ 							        </effectiveTime>
+                     <effectiveTime xsi:type="PIVL_TS" operator="A">
+								          <period value="12" unit="h"/>
+                    </effectiveTime>
+                    <!--SHOULD have this routeOfAdminstartionbut I can't find the codes for it-->
+                    <!--Downloadable resource is missing them-->
+                    <!--<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>-->
+                    <doseQuantity value="1">
+                      <!--Unit was missing from generated CCD MG was added (hope it is right!)-->
+                      <low value="1" unit="TAB"/>
+                      <high value="1" unit="TAB"/>
+                    </doseQuantity>  
+                  <consumable>
+                  <manufacturedProduct>
+                  <!--<templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>-->
+                  <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                  <!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>-->
+                  <manufacturedMaterial>
+                  <!--not valid until 2011-->
+                  <!--<code displayName="ATENOLOL 100MG TAB" code="197379" codeSystemName="RXNORM" codeSystem=""/>-->
+                  <!--Other Options
+                  00005321843	atenolol 25 mg oral tablet	Atenolol
+                  00005321934	atenolol 50 mg oral tablet	Atenolol
+                  00005321943	atenolol 50 mg oral tablet	Atenolol
+                  00005322034	atenolol 100 mg oral tablet	Atenolol
+                  00005322043	atenolol 100 mg oral tablet	Atenolol
+                  -->
+                  <code code="00005322034" displayName="ATENOLOL 100MG TAB" codeSystemName="NDC" codeSystem="2.16.840.1.113883.6.69">
+                  <!--<name/>-->
+                  <originalText>atenolol</originalText>
+                  </code>
+                  </manufacturedMaterial>
+                  </manufacturedProduct>
+                  </consumable>
+                  </substanceAdministration>
+                  </entry>
+                  <entry typeCode="DRIV">
+                  <substanceAdministration classCode="SBADM" moodCode="EVN">
+                  <templateId root="2.16.840.1.113883.10.20.1.24" assigningAuthorityName="CCD"/>
+                  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" assigningAuthorityName="IHE PCC"/>
+                  <id root="2.16.840.1.113883.19.5.10" extension="100016"/>
+                  <statusCode code="completed"/>
+                  <effectiveTime xsi:type="IVL_TS">
+                  <low value="20100703"/>
+                  <high nullFlavor="UNK"/>
+                  </effectiveTime>
+                  <!--<routeCode displayName="" code="" codeSystemName="2.16.840.1.113883.5.112"/>-->
+                  <doseQuantity>
+                  <low value="20" unit="MG"/>
+                  <high value="20" unit="MG"/>
+                  </doseQuantity>
+                  <consumable>
+                  <manufacturedProduct>
+                  <templateId root="2.16.840.1.113883.3.88.11.83.8.2" assigningAuthorityName="HITSP C83"/>
+                  <templateId root="2.16.840.1.113883.10.20.1.53" assigningAuthorityName="CCD"/>
+                  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" assigningAuthorityName="IHE PCC"/>
+                  <!--Other options
+                  00006001528	lisinopril 2.5 mg oral tablet
+                  00006001531	lisinopril 2.5 mg oral tablet
+                  00006001558	lisinopril 2.5 mg oral tablet
+                  00006001928	lisinopril 5 mg oral tablet
+                  00006001954	lisinopril 5 mg oral tablet
+                  00006001958	lisinopril 5 mg oral tablet
+                  00006001972	lisinopril 5 mg oral tablet
+                  00006001982	lisinopril 5 mg oral tablet
+                  00006001987	lisinopril 5 mg oral tablet
+                  00006001994	lisinopril 5 mg oral tablet
+                  00006010628	lisinopril 10 mg oral tablet
+                  00006010631	lisinopril 10 mg oral tablet
+                  00006010654	lisinopril 10 mg oral tablet
+                  00006010658	lisinopril 10 mg oral tablet
+                  00006010672	lisinopril 10 mg oral tablet
+                  00006010682	lisinopril 10 mg oral tablet
+                  00006010686	lisinopril 10 mg oral tablet
+                  00006010687	lisinopril 10 mg oral tablet
+                  00006010694	lisinopril 10 mg oral tablet
+                  -->
+
+                  
+                  <manufacturedMaterial>
+                  <code displayName="LISINOPRIL 10 MG TAB" code="00006010628" codeSystemName="NDC" codeSystem="2.16.840.1.113883.6.69">
+                  <originalText>lisinopril</originalText>
+                  </code>
+                  </manufacturedMaterial>
+                  </manufacturedProduct>
+                  </consumable>
+                  </substanceAdministration>
+                  </entry>
+                  </section>
+                </component>
+<!--
+******************************
+Results Section
+***********************
+-->
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.14"/>
+<code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Relevant diagnostic tests and/or laboratory data"/>
+<title>Results</title>
+<text>
+<table border="1" width="100%">
+<tbody>
+<tr>
+<th>Test</th>
+<th>Date</th>
+<th>Result</th>
+<th>Ref. Range</th>
+
+</tr>
+
+<tr>
+<td>Calculated LDL</td>
+<td>7-3-2010</td>
+<td>LDL CHOLESTEROL 90 MG/DL</td>
+<td>0-130</td>
+
+</tr>
+<tr>
+<td>HEMOGLOBIN A1C 9.1 percent H</td>
+<td>7-3-2010</td>
+<td>A1C 9.1 percent H</td>
+<td>3.5-6.0</td>
+</tr>
+<tr>
+<td>EJECTION FRACTION</td>
+<td>20100210</td>
+<td>39%</td>
+<td>55-75</td>
+</tr>
+
+</tbody>
+</table>
+</text>
+
+<entry contextConductionInd="true" typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32"/>
+<id root="38eb54f1-888c-11df-a4ee-0800200c9a66"/>
+<code code="27571006" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" displayName="chemistry"/>
+<statusCode code="completed"/>
+<effectiveTime value="201007031300"/>
+<!--LDL -->
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<!--WV GUID goes below-->
+<id root="a32801b1-8855-11df-a4ee-0800200c9a66"/>
+<code displayName="CALCULATED LDL IN MG/DL" code="13457-7" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
+<!--WV Some other alternatives-->
+<!--<code displayName="DIRECTLY MEASURED LDL IN MG/DL" code="18262-6" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>-->
+<!--<code displayName="LDL CHOLESTEROL, NO METHOD, MG/DL" code="2089-1" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>-->
+
+<text>
+<reference value="90 mg/dl"/>
+</text>
+<effectiveTime value="201007031300"/>
+<value xsi:type="PQ" value="90" unit="MG/DL"/>
+<referenceRange>
+<observationRange>
+<text>0-130</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</organizer>
+</entry>
+
+<!--
+********************************
+Hemoglobin A1C in Hematology
+***********************************
+-->
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32"/>
+<id root="38eb54f7-888c-11df-a4ee-0800200c9a66"/>
+<code code="272275004" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" displayName="hematology"/>
+<statusCode code="completed"/>
+<effectiveTime value="201007031300"/>
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<!--<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>-->
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>-->
+<id root="a32801b6-8855-11df-a4ee-0800200c9a66"/>
+<code displayName="HEMOGLOBIN A1C By UNKNOWN METHOD" code="4548-4" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
+<text>
+<reference value="9.1 percent"/>
+</text>
+
+
+<value xsi:type="PQ" value="9.1" unit="%"/>
+<interpretationCode displayName="Abnormal High" code="H" codeSystemName="2.16.840.1.113883.5.83"/>
+<referenceRange>
+<observationRange>
+<text>3.5-6.0</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</organizer>
+</entry>
+
+
+<!--
+******************************
+ejection fraction
+*******************************
+THIS IS WHERE THE PROBLEM IS WITH STATUS 
+cvc-complex-type.2.4.a: Invalid content was found starting with element 'observation'. One of '{"urn:hl7-org:v3":statusCode}' is expected.
+-->
+
+<entry contextConductionInd="true" typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32"/>
+<id root="38eb54f1-888c-11df-a4ee-0800200c9a66"/>
+<code code="363679005" codeSystemName="SNOMED CT" displayName="IMAGING"/>
+<statusCode code="completed"/>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<!--<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>-->
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>-->
+<id root="38eb54f2-888c-11df-a4ee-0800200c9a66"/>
+<code code="250908004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="LEFT VERTRICULAR EJECTION FRACTION"/>
+<text>LEFT VERTRICULAR EJECTION FRACTION</text>
+<effectiveTime value="201002101300"/>
+<value xsi:type="PQ" value="39" unit="%"/>
+<referenceRange>
+<observationRange>
+<text>55-75</text>
+</observationRange>
+</referenceRange>
+</observation>
+</component>
+</organizer>
+</entry>
+
+</section>
+</component>
+<!--
+******************************
+Procedures Section
+**********************
+-->
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.12"/>
+<code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of procedures"/>
+<title>Procedures</title>
+<text>
+<table border="1" width="100%">
+<tbody>
+<tr>
+<th>Procedure</th>
+<th>Date </th>
+<th>Ordered By</th>
+<th>Performed By</th>
+</tr>
+<tr>
+<td>Mammogram</td>
+<td>2-10-2010</td>
+<td>Nancy Anthracite, MD</td>
+<td>Grover, Christie &amp; Merritt</td>
+</tr>
+<tr>
+<td>Colonoscopy</td>
+<td>2-18-2010</td>
+<td>Nancy Anthracite, MD</td>
+<td>John Gallager, MD</td>
+</tr>
+</tbody>
+</table>
+</text>
+
+<!--There are three options to choose from here those being Acts, Observations
+or Procedures. Uncomment the one you need.  These are in Tab M of the Downloadable Resource-->
+<!--<entry  typeCode="DRIV"/>
+<procedure classCode="PROC" moodCode="EVN/>"
+<templateId root="2.16.840.1.113883.10.20.1.29"/>-->
+<!-- this is a purpose type of activity and a problem is a Problem Activity with a different template-->
+<!--<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.30"/>-->
+<!--There are lots of observation templates as well. This is the Result observation which I hope is right-->
+<!--<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.31"/>-->
+
+<entry typeCode="DRIV">
+<procedure classCode="PROC" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.29"/>
+<id root="a32801b9-8855-11df-a4ee-0800200c9a66"/>
+<code code="24623002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="SCREENING MAMMOGRAPHY"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100210"/>
+<participant typeCode="DEV">
+<participantRole classCode="MANU">
+<templateId root="2.16.840.1.113883.10.20.1.52"/>
+<id root="7eedbc62-8a15-11df-a4ee-0800200c9a66"/>
+</participantRole>
+</participant>
+</procedure>
+
+
+
+
+</entry>
+</section>
+ </component>
+
+
+                
+              <!--
+              *********************************************
+                       Immunization Section
+              ***********************************************
+              -->
+                <component>
+                  <section>
+                    <templateId root="2.16.840.1.113883.10.20.1.6"/>
+                    <code code="11369-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of immunizations"/>
+                    <title>History of Immunizations</title>
+                    <text>
+                      <table border="1" width="100%">
+                        <thead>
+                          <tr>
+                          <th>Vaccine</th>
+                          <th>Date</th>
+                          <th>Status</th>
+                          </tr>
+                        </thead>
+                        <tbody>
+                          <tr>
+                          <td>Influenza virus vaccine, split</td>
+                          <td>Oct. 15. 2009</td>
+                          <td>Completed</td>
+                          </tr>
+                          <tr>
+                          <td>Pneumococcal vaccine</td>
+                          <td>Jan. 10,2010</td>
+                          <td>Completed</td>
+                          </tr>
+                        </tbody>
+                      </table>
+                    </text>
+                    <entry typeCode="DRIV">
+                      <substanceAdministration classCode="SBADM" moodCode="EVN">
+                        <templateId root="2.16.840.1.113883.10.20.1.24"/>
+                        <!-- WVP Medication activity template -->
+                        <id root="2.16.840.1.113883.3.543" extension="01.02.03.100020"/>
+                        
+                        <statusCode code="completed"/>
+                        <effectiveTime xsi:type="IVL_TS">
+                          <center value="20091015"/>
+                        </effectiveTime>
+                        <routeCode code="IM" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration" displayName="Intramuscular injection"/>
+                        <consumable>
+                          <manufacturedProduct>
+                            <templateId root="2.16.840.1.113883.10.20.1.53"/>
+                            <!-- Product template -->
+                            <manufacturedMaterial>
+                              <!--Code is from table D Downloadabe Resource CVX code system is 6.59-->
+                              <code code="15" codeSystem="2.16.840.1.113883.6.59" displayName="INFLUENZA VIRUS VACCIINE, SPLIT">
+                                <originalText>INFLUENZA VIRUS VACCIINE, SPLIT</originalText>
+                              </code>
+                            </manufacturedMaterial>
+                          </manufacturedProduct>
+                        </consumable>
+                      </substanceAdministration>
+                    </entry>
+                    <entry typeCode="DRIV">
+                      <substanceAdministration classCode="SBADM" moodCode="EVN">
+                        <templateId root="2.16.840.1.113883.10.20.1.24"/>
+                        <!-- WVP Medication activity template -->
+                        <id root="2.16.840.1.113883.3.543" extension="01.02.03.100021"/>
+                        
+                        <statusCode code="completed"/>
+                        <effectiveTime xsi:type="IVL_TS">
+                            <center value="20100110"/>
+                        </effectiveTime>
+                        <routeCode code="IM" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration" displayName="Intramuscular injection"/>		
+                        <consumable>
+                          <manufacturedProduct>
+                            <!-- WVP Product template -->
+                            <templateId root="2.16.840.1.113883.10.20.1.53"/>
+                            <manufacturedMaterial>
+                              <!--Code is from table D Downloadabe Resource CVX code system is 6.59-->
+                              <code code="33" codeSystem="2.16.840.1.113883.6.59" displayName="PNEUMOCCAL VACCINE">
+                              <originalText>PNEUMOCCAL VACCINE</originalText>
+                              </code>
+                            </manufacturedMaterial>
+                          </manufacturedProduct>
+                        </consumable>
+                      </substanceAdministration>
+                    </entry>
+                  </section>
+                </component>
+                <!--
+*****************************************************
+Vital Signs Section
+****************************************
+-->
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.16"/>
+<code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital signs"/>
+<title>Vital Signs</title>
+<text>
+<table border="1" width="100%">
+<tbody>
+<tr>
+<th>Date</th>
+<th>Vital Sign</th>
+<th>Result</th>
+<th>Source</th>
+</tr>
+<tr>
+<td>2-5-2010</td>
+<td>Systolic Blood Pressure</td>
+<td>130</td>
+<td>WorldVistA Test Clinic</td>
+
+</tr>
+<tr>
+<td>2-5-2010</td>
+<td>Diastolic Blood Pressure</td>
+<td>78</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>2-5-2010</td>
+<td>Heart Rate</td>
+<td>55</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>7-3-2010</td>
+<td>Systolic Blood Pressure</td>
+<td>128</td>
+<td>WorldVistA Test Clinic</td>
+
+</tr>
+<tr>
+<td>7-3-2010</td>
+<td>Diastolic Blood Pressure</td>
+<td>80</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>7-3-2010</td>
+<td>Heart Rate</td>
+<td>57</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+</tbody>
+</table>
+</text>
+
+
+<!--Vital Signs from 2-5-2010 under an organizer follow.  Onlty these 3 vistal signs are allowed-->
+<!--WVV Must change the UUIDs for the vital signs and the entries-->
+
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="7eedbc60-8a15-11df-a4ee-0800200c9a66"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="20100205"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="a32801b7-8855-11df-a4ee-0800200c9a66"/>
+<code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="130" unit="MM/HG"/>
+</observation>
+</component>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="a32801b8-8855-11df-a4ee-0800200c9a66"/>
+<code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="78" unit="MM/HG"/>
+</observation>
+</component>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="7eedbc64-8a15-11df-a4ee-0800200c9a66"/>
+<code displayName="HEART RATE" code="364075005" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="55" unit="/min"/>
+</observation>
+</component>
+</organizer>
+</entry>
+
+<!--Vital Signs from 7-3-2010 under an organizer follow.  Onlty these 3 vistal signs are allowed-->
+<!--WVV Must change the UUIDs for the vital signs and the entries-->
+
+<entry typeCode="DRIV">
+<organizer classCode="CLUSTER" moodCode="EVN">
+<templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/>
+<templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/>
+<id root="7eede370-8a15-11df-a4ee-0800200c9a66"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime>
+<low value="20100703"/>
+<high nullFlavor="UNK"/>
+</effectiveTime>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="7eede371-8a15-11df-a4ee-0800200c9a66"/>
+<code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="128" unit="MM/HG"/>
+</observation>
+</component>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="7eede372-8a15-11df-a4ee-0800200c9a66"/>
+<code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="80" unit="MM/HG"/>
+</observation>
+</component>
+
+<component>
+<observation classCode="OBS" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.88.11.83.15" assigningAuthorityName="HITSP C83"/>
+<templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/>
+<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>
+<id root="7eede373-8a15-11df-a4ee-0800200c9a66"/>
+<code displayName="HEART RATE" code="364075005" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<value xsi:type="PQ" value="57" unit="/min"/>
+</observation>
+</component>
+
+</organizer>
+</entry>
+</section>
+</component>
+
+ <!--
+************************
+Structured Data Section
+*************************
+-->
+
+<component>
+<section>
+<!--Template ID is in the downloadable resource bottom of S tab -->
+<templateId root="2.16.840.1.113883.3.249.11.16"/>
+<code code="STRUCT" codeSystem="2.16.840.1.113883.3.249.12"/>
+<title> Structured data section </title>
+<text> 
+<table border="1" width="100%">
+<tbody>
+<tr>
+<td>Certified System Used</td>
+<td>System Type</td>
+<td>Certification Type</td>
+<td>Encounter Date Used</td>
+</tr>
+<tr>
+<td>WorldVistA EHR</td>
+<td> EHR</td>
+<td>CCHIT Certified</td>
+<td>2-5-2010</td>
+</tr>
+<tr>
+<td>WorldVistA EHR</td>
+<td>EHR</td>
+<td>Qualified System</td>
+<td>7-3-2010</td>
+</tr>
+<tr>
+<td>Allscripts</td>
+<td>eRx</td>
+<td>Qualified</td>
+<td>7-3-2010</td>
+</tr>
+</tbody>
+</table>
+</text>
+<entry>
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.249.11.13"/>
+<id root="2.16.840.1.113883.3.543" extension="0.01.02.100000001.1"/>
+<!--WV? this is in downloadable resource R and is the same for eRx and EHR-->
+<!--WV? The G code changes and that is in tab R for 2010 as well-->
+<!--There need to be two face to face encounters so this is one and the next one is one-->
+<!--Also reflected in the documentationOf part at the end of the header-->
+<code code="G8447" codeSystem="2.16.840.1.113883.6.14" displayName="Patient encounter was documented using a CCHIT certified EHR"/>
+<effectiveTime value="20100205"/>
+</act>
+</entry>
+<entry>
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.249.11.13"/>
+<id root="2.16.840.1.113883.3.543" extension="0.01.02.100000001.2"/>
+<code code="G8448" codeSystem="2.16.840.1.113883.6.14" displayName="Patient encounter was documented using a Qualified (Non-CCHIT certified) EHR"/>
+<effectiveTime value="20100703"/>
+</act>
+</entry>
+<entry>
+<act classCode="ACT" moodCode="EVN">
+<templateId root="2.16.840.1.113883.3.249.11.14"/>
+<id root="2.16.840.1.113883.19.5" extension="96756615"/>
+<code code="G8553" codeSystem="2.16.840.1.113883.6.14" displayName="Electronic prescription has been generated using a qualified eRx system"/>
+<effectiveTime value="20100703"/>
+</act>
+</entry>
+</section>
+</component>
+                
+                
+                
+                <component>
+                  <section>
+                    <templateId root="2.16.840.1.113883.10.20.1.1"/>
+                    <code code="42348-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Advance directives"/>
+                    <title/>
+                  </section> 
+                  </component>
+<!--
+ ************************************
+ Payers section
+ 
+ *******************************
+ --> 
+
+<component>
+<section>
+<templateId root="2.16.840.1.113883.10.20.1.9"/>
+<!-- 48768-6 is payment sources -->
+<code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment sources"/>
+<title>Payment Sources</title>
+<text>
+<table border="1" width="100%">
+<tbody>
+<tr>
+<th>Payer name</th>
+<th>Group/Type</th>
+<th>Primary Policy Owner/Responsible Party</th>
+<th>Covered party ID</th>
+<th>Payor Telephone</th>
+<th>Electronic Claims Payor Number</th>
+<th>Authorized</th>
+</tr>
+<tr>
+<td>Mail Handlers Benefit Plan</td>
+<td>454</td>
+<td>Jody Jean Jones</td>
+<td>8888888</td>
+<td>1-800-410-7778</td>
+<td>62413</td>
+<td>Colonoscopy</td>
+</tr>
+<tr>
+<td>Medicare</td>
+<td></td>
+<td>Jody Jean Jones</td>
+<td>002003004</td>
+<td></td>
+<td></td>
+<td>Colonoscopy</td>
+</tr>
+</tbody>
+</table>
+</text>
+
+<!--Mail Handlers-->
+
+<entry typeCode="DRIV">
+<!--WVP moodCode is DEF is definition to describe the characteristics of who must be involved in an act-->
+<act classCode="ACT" moodCode="DEF">
+<!--WVP coverage activity templats is the 10.20.1.20-->
+<templateId root="2.16.840.1.113883.10.20.1.20"/>
+<id root="d5dc6d50-890c-11df-a4ee-0800200c9a66"/>
+<code code="48768-6" codeSystem="2.16.840.1.113883.6.1" displayName="Payment sources"/>
+<statusCode code="completed"/>
+<!--WVP COMP is has component like a sub service to this service-->
+<entryRelationship typeCode="COMP">
+<!-- WVP EVN for the act is event-->
+<act classCode="ACT" moodCode="EVN">
+<!--Policy activity is the 10.20.1.26 template-->
+<templateId root="2.16.840.1.113883.10.20.1.26"/>
+<!-- another random GUID-->
+<id root="d5dc6d51-890c-11df-a4ee-0800200c9a66"/>
+<!--WV variable and display name is in quotes AUTOPOL - "automobile" policy;EHCPOL additional insurance in addition to Medicare in this case-->
+<!--HSAPOL "Health Spending Account";PUBLICPOL "public healthcare" but not Medicare - maybe a state program for example-->
+<!--WBCPOL is "workers compensation"-->
+<code code="EHCPOL" codeSystem="2.16.840.1.113883.5.4" displayName="Extended healthcare"/>
+<!--other statusCode normal, aborted, active, cancelled, completed, held, suspended, nullified, obsolete-->
+<statusCode code="completed"/>
+<!--WVP performer type codes are numerous but PRF is performer or the person who did it-->
+<performer typeCode="PRF">
+<assignedEntity>
+<!--another GUID??-->
+<id root="2.16.840.1.113883.12.86" extension="62413"/>
+<representedOrganization>
+<name>Mail Handler Benefit Plan</name>
+</representedOrganization>
+</assignedEntity>
+</performer>
+<participant typeCode="COV">
+<participantRole>
+<!--Cant find SELF in the reference documents so this might be variable, but I doubt it is-->
+<!-- I suspect this is shat is used whenever the person is the primary policy holder-->
+<!-- service deliver location role type is what the 5.111 code is and it is called a "RoleCode" in the downloadable resource-->
+<!-- in this case theextension is the patients SSN for a medicare patient-->
+<id root="2.16.840.1.113883.4.1" extension="002030004"/>
+<code code="SELF" codeSystem="2.16.840.1.113883.5.111" displayName="Self"/>
+</participantRole>
+</participant>
+<!--WVP REFR is "refers to" target act is refered to by the source act-->
+<entryRelationship typeCode="REFR">
+<act classCode="ACT" moodCode="EVN">
+<!--Authorization activity Template-->
+<templateId root="2.16.840.1.113883.10.20.1.19"/>
+<id root="2.16.840.1.113883.19.5.10" extension="100010"/>
+<code nullFlavor="NA"/>
+<!--WVP SUBJ is "has subject"-->
+<entryRelationship typeCode="SUBJ">
+<!--PROC is "procedure" and PRMS is "promise"-->
+<procedure classCode="PROC" moodCode="PRMS">
+<!--SNOMED code for colonoscopy-->
+<code code="73761001" codeSystem="2.16.840.1.113883.6.96" displayName="Colonoscopy"/>
+</procedure>
+</entryRelationship>
+</act>
+</entryRelationship>
+</act>
+</entryRelationship>
+</act>
+</entry>
+<!--Medicare-->
+
+<!--WVP - DRIV is derived from-->
+<entry typeCode="DRIV">
+<!--WVP moodCode is DEF is definition to describe the characteristics of who must be involved in an act-->
+<act classCode="ACT" moodCode="DEF">
+<!--WVP coverage activity templats is the 10.20.1.20-->
+<templateId root="2.16.840.1.113883.10.20.1.20"/>
+<id root="1751b180-8a54-11df-a4ee-0800200c9a66"/>
+<code code="48768-6" codeSystem="2.16.840.1.113883.6.1" displayName="Payment sources"/>
+<statusCode code="completed"/>
+<!--WVP COMP is has component like a sub service to this service-->
+<entryRelationship typeCode="COMP">
+<!-- WVP EVN for the act is event-->
+<act classCode="ACT" moodCode="EVN">
+<!--Policy activity is the 10.20.1.26 template-->
+<templateId root="2.16.840.1.113883.10.20.1.26"/>
+<!-- another random GUID-->
+<id root="dbbb6311-8a4d-11df-a4ee-0800200c9a66"/>
+<!--WV variable and display name is in quotes AUTOPOL - "automobile" policy;EHCPOL additional insurance in addition to Medicare in this case-->
+<!--HSAPOL "Health Spending Account";PUBLICPOL "public healthcare" but not Medicare - maybe a state program for example-->
+<!--WBCPOL is "workers compensation"-->
+<code code="PUBLICPOL" codeSystem="2.16.840.1.113883.5.4" displayName="Public Healthcare"/>
+<!--other statusCode normal, aborted, active, cancelled, completed, held, suspended, nullified, obsolete-->
+<statusCode code="completed"/>
+<!--WVP performer type codes are numerous but PRF is performer or the person who did it-->
+<performer typeCode="PRF">
+<assignedEntity>
+<!--another GUID??-->
+<id root="2.16.840.1.113883.12.86" extension="MC"/>
+<representedOrganization>
+<name>CMS</name>
+</representedOrganization>
+</assignedEntity>
+</performer>
+<participant typeCode="COV">
+<participantRole>
+<!--Cant find SELF in the reference documents so this might be variable, but I doubt it is-->
+<!-- I suspect this is shat is used whenever the person is the primary policy holder-->
+<!-- service deliver location role type is what the 5.111 code is and it is called a "RoleCode" in the downloadable resource-->
+<id root="1751b180-8a54-11df-a4ee-0800200c9a66"/>
+<!-- in this case theextension is the patients SSN for a medicare patient so it is the same each time for one patient-->
+<id root="2.16.840.1.113883.4.1" extension="002030004"/>
+<code code="SELF" codeSystem="2.16.840.1.113883.5.111" displayName="Self"/>
+</participantRole>
+</participant>
+<!--WVP REFR is "refers to" target act is refered to by the source act-->
+<entryRelationship typeCode="REFR">
+<act classCode="ACT" moodCode="EVN">
+<!--Authorization activity Template-->
+<templateId root="2.16.840.1.113883.10.20.1.19"/>
+<id root="e1e0f7e0-8a53-11df-a4ee-0800200c9a66"/>
+<code nullFlavor="NA"/>
+<!--WVP SUBJ is "has subject"-->
+<entryRelationship typeCode="SUBJ">
+<!--PROC is "procedure" and PRMS is "promise"-->
+<procedure classCode="PROC" moodCode="PRMS">
+<!--SNOMED code for colonoscopy-->
+<code code="73761001" codeSystem="2.16.840.1.113883.6.96" displayName="Colonoscopy"/>
+</procedure>
+</entryRelationship>
+</act>
+</entryRelationship>
+</act>
+</entryRelationship>
+</act>
+</entry>
+
+
+</section>
+</component>
+</section>
+</component>
+</section>
+</component>
+</structuredBody>
+</component>
+</ClinicalDocument>
Index: /ccr2ccd-xslt/trunk/gpl/sample2.xml
===================================================================
--- /ccr2ccd-xslt/trunk/gpl/sample2.xml	(revision 981)
+++ /ccr2ccd-xslt/trunk/gpl/sample2.xml	(revision 981)
@@ -0,0 +1,15573 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet type="text/xsl" href="ccr.xsl"?>
+<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
+  <CCRDocumentObjectID>5e808d26-edbe-473f-be1c-8630d3ea770f</CCRDocumentObjectID>
+  <Language>
+    <Text>English</Text>
+  </Language>
+  <Version>V1.0</Version>
+  <DateTime>
+    <ExactDateTime>2010-06-22T20:55:55-05:00</ExactDateTime>
+  </DateTime>
+  <Patient>
+    <ActorID>ACTORPATIENT_8</ActorID>
+  </Patient>
+  <From>
+    <ActorLink>
+      <ActorID>ACTORPROVIDER_10000000020</ActorID>
+    </ActorLink>
+    <ActorLink>
+      <ActorID>ACTORSYSTEM_1</ActorID>
+    </ActorLink>
+  </From>
+  <To>
+    <ActorLink>
+      <ActorID>ACTORPATIENT_8</ActorID>
+      <ActorRole>
+        <Text>Patient</Text>
+      </ActorRole>
+    </ActorLink>
+  </To>
+  <Purpose>
+    <Description>
+      <Text>CEND PHR</Text>
+    </Description>
+  </Purpose>
+  <Body>
+    <Problems>
+      <Problem>
+        <CCRDataObjectID>PROBLEM1</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2007-04-10T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Problem</Text>
+        </Type>
+        <Description>
+          <Text>Hypertension</Text>
+          <Code>
+            <Value>401.9</Value>
+            <CodingSystem>ICD9CM</CodingSystem>
+          </Code>
+        </Description>
+        <Status>
+          <Text>Active/Chronic</Text>
+        </Status>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_10000000031</ActorID>
+          </Actor>
+        </Source>
+      </Problem>
+      <Problem>
+        <CCRDataObjectID>PROBLEM2</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2007-04-10T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Problem</Text>
+        </Type>
+        <Description>
+          <Text>Hyperlipidemia</Text>
+          <Code>
+            <Value>272.4</Value>
+            <CodingSystem>ICD9CM</CodingSystem>
+          </Code>
+        </Description>
+        <Status>
+          <Text>Active/Chronic</Text>
+        </Status>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_10000000031</ActorID>
+          </Actor>
+        </Source>
+      </Problem>
+      <Problem>
+        <CCRDataObjectID>PROBLEM3</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2005-03-17T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Problem</Text>
+        </Type>
+        <Description>
+          <Text>Acute myocardial infarction, unspecified site, episode of care unspecified</Text>
+          <Code>
+            <Value>410.90</Value>
+            <CodingSystem>ICD9CM</CodingSystem>
+          </Code>
+        </Description>
+        <Status>
+          <Text>Active</Text>
+        </Status>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+      </Problem>
+      <Problem>
+        <CCRDataObjectID>PROBLEM4</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2004-03-09T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Problem</Text>
+        </Type>
+        <Description>
+          <Text>Chronic Systolic Heart failure</Text>
+          <Code>
+            <Value>428.22</Value>
+            <CodingSystem>ICD9CM</CodingSystem>
+          </Code>
+        </Description>
+        <Status>
+          <Text>Active/Chronic</Text>
+        </Status>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11745</ActorID>
+          </Actor>
+        </Source>
+      </Problem>
+      <Problem>
+        <CCRDataObjectID>PROBLEM5</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2004-03-31T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Problem</Text>
+        </Type>
+        <Description>
+          <Text>Diabetes Mellitus Type II or unspecified</Text>
+          <Code>
+            <Value>250.00</Value>
+            <CodingSystem>ICD9CM</CodingSystem>
+          </Code>
+        </Description>
+        <Status>
+          <Text>Active/Chronic</Text>
+        </Status>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+      </Problem>
+    </Problems>
+    <Alerts>
+      <Alert>
+        <CCRDataObjectID>ALERT1</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2005-03-17T20:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Adverse Reaction</Text>
+        </Type>
+        <Description>
+          <Text>Patient has an ADVERSE reaction to PENICILLIN.</Text>
+          <Code>
+            <Value>282100009</Value>
+            <CodingSystem>SNOMED CT</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Agent>
+          <Products>
+            <Product>
+              <CCRDataObjectID>PRODUCT_125</CCRDataObjectID>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORPROVIDER_20012</ActorID>
+                </Actor>
+              </Source>
+              <Product>
+                <ProductName>
+                  <Text>PENICILLIN</Text>
+                </ProductName>
+              </Product>
+            </Product>
+          </Products>
+        </Agent>
+        <Reaction>
+          <Description>
+            <Text>ITCHING,WATERING EYES</Text>
+          </Description>
+        </Reaction>
+      </Alert>
+      <Alert>
+        <CCRDataObjectID>ALERT2</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2007-12-17T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>Allergy</Text>
+        </Type>
+        <Description>
+          <Text>Patient has an ALLERGIC reaction to CHOCOLATE.</Text>
+          <Code>
+            <Value>418634005</Value>
+            <CodingSystem>SNOMED CT</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_983</ActorID>
+          </Actor>
+        </Source>
+        <Agent>
+          <Products>
+            <Product>
+              <CCRDataObjectID>PRODUCT_3</CCRDataObjectID>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORPROVIDER_983</ActorID>
+                </Actor>
+              </Source>
+              <Product>
+                <ProductName>
+                  <Text>CHOCOLATE</Text>
+                  <Code>
+                    <Value>4636681</Value>
+                    <CodingSystem>VUID</CodingSystem>
+                  </Code>
+                </ProductName>
+              </Product>
+            </Product>
+          </Products>
+        </Agent>
+        <Reaction>
+          <Description>
+            <Text>DIARRHEA</Text>
+            <Code>
+              <Value>4637011</Value>
+              <CodingSystem>VUID</CodingSystem>
+            </Code>
+          </Description>
+        </Reaction>
+      </Alert>
+    </Alerts>
+    <Immunizations>
+      <Immunization>
+        <CCRDataObjectID>IMMUNIZATION_1</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Immunization Date</Text>
+          </Type>
+          <ExactDateTime>1995-07-18T09:18:35-05:00</ExactDateTime>
+        </DateTime>
+        <Source>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Source>
+        <Product>
+          <ProductName>
+            <Text>MEASLES,MUMPS,RUBELLA (MMR)</Text>
+          </ProductName>
+        </Product>
+      </Immunization>
+      <Immunization>
+        <CCRDataObjectID>IMMUNIZATION_2</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Immunization Date</Text>
+          </Type>
+          <ExactDateTime>2000-04-05T11:27:29-05:00</ExactDateTime>
+        </DateTime>
+        <Source>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Source>
+        <Product>
+          <ProductName>
+            <Text>PNEUMOCOCCAL</Text>
+          </ProductName>
+        </Product>
+      </Immunization>
+    </Immunizations>
+    <VitalSigns>
+      <Result>
+        <CCRDataObjectID>VITAL1</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST1</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000053</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>175</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL2</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T07:45:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST2</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000053</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>184</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL3</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST3</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000053</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>196</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL4</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST4</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>102.6</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL5</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST5</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>21</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL6</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST6</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL7</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T01:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST7</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>99</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL8</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T01:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST8</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>18</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL9</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-16T01:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST9</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL10</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-15T11:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST10</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>199</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL11</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-15T11:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST11</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.2</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL12</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-15T11:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST12</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>18</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL13</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-15T11:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST13</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL14</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2005-03-15T11:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST14</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>71</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL15</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2004-03-30T21:31:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST15</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11745</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>185</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL16</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2004-03-30T21:31:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST16</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11745</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.6</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL17</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2004-03-30T21:31:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST17</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11745</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>18</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL18</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2004-03-30T21:31:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST18</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11745</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL19</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2004-03-30T21:31:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST19</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11745</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>70</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL20</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-15T16:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST20</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>174</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL21</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-15T16:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST21</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.7</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL22</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-15T16:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST22</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>10</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL23</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-15T16:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST23</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>5</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL24</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:52:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST24</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.8</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL25</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:52:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST25</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>18</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL26</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:51:33-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST26</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.4</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL27</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:51:33-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST27</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>18</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL28</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:50:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST28</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>99.4</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL29</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-07T08:50:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST29</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20391</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>22</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL30</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-05T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST30</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>172</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL31</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-05T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST31</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.4</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL32</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-05T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST32</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL33</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-05T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST33</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL34</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2003-04-05T15:15:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST34</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>70</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL35</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-10-31T16:49:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST35</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>167</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL36</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-08-24T16:48:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST36</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>172</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL37</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-07-27T16:47:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST37</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_10000000002</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>165</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL38</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-17T10:06:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST38</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>160</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL39</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-17T10:06:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST39</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>102</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL40</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-17T10:06:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST40</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>15</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL41</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-17T10:06:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST41</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL42</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-17T10:06:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST42</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>70</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL43</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-10T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST43</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>130</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL44</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-10T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST44</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.3</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL45</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-10T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST45</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>20</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL46</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-10T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST46</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>0</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL47</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-10T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST47</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>66</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL48</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-01T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST48</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>300</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL49</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-01T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST49</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL50</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-01T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST50</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>40</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL51</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-01T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST51</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL52</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>2000-05-01T10:05:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>HEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST52</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>HEIGHT</Text>
+            <Code>
+              <Value>248327008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_20079</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>75</Value>
+            <Units>
+              <Unit>in</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL53</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1999-05-28T09:26:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>WEIGHT</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST53</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>WEIGHT</Text>
+            <Code>
+              <Value>107647005</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11710</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>190</Value>
+            <Units>
+              <Unit>lbs</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL54</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1999-05-28T09:26:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST54</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11710</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.7</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL55</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1999-05-28T09:26:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST55</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11710</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>65</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL56</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1999-05-28T09:26:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>PAIN</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST56</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>PAIN</Text>
+            <Code>
+              <Value>22253000</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_11710</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4</Value>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL57</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1997-10-07T14:56:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>TEMPERATURE</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST57</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>TEMPERATURE</Text>
+            <Code>
+              <Value>309646008</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_755</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>98.6</Value>
+            <Units>
+              <Unit>F</Unit>
+            </Units>
+          </TestResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>VITAL58</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <ExactDateTime>1997-10-07T14:56:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RESPIRATION</Text>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORSYSTEM_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>VITALTEST58</CCRDataObjectID>
+          <Type>
+            <Text>OBSERVED</Text>
+          </Type>
+          <Description>
+            <Text>RESPIRATION</Text>
+            <Code>
+              <Value>366147009</Value>
+              <CodingSystem>SNOMED</CodingSystem>
+            </Code>
+          </Description>
+          <Source>
+            <Actor>
+              <ActorID>ACTORPROVIDER_755</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>35</Value>
+          </TestResult>
+        </Test>
+      </Result>
+    </VitalSigns>
+    <Results>
+      <Result>
+        <CCRDataObjectID>RESULT_1</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:09-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calculation</Text>
+          <Code>
+            <Value>82350.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_1_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:09-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDL CHOLESTEROL</Text>
+            <Code>
+              <Value>CH291</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>129</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-130</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_2</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:08-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_2_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:08-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TRIGLYCERIDE</Text>
+            <Code>
+              <Value>CH47</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>185</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-249</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_3</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:07-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol HDL</Text>
+          <Code>
+            <Value>83013.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_3_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:07-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HDL</Text>
+            <Code>
+              <Value>CH80</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>44</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>40-60</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_4</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:06-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol Total</Text>
+          <Code>
+            <Value>82466.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_4_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:06-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHOLESTEROL</Text>
+            <Code>
+              <Value>CH12</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>188</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-199</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_5</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_5_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>95</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_6</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:04-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_6_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:04-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>26</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_7</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:03-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_7_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:03-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_8</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_8_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:02-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3.8</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_9</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:30:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_9_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:30:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>135</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_10</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-24T07:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_10_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-24T07:03:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.1</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_11</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:09-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calculation</Text>
+          <Code>
+            <Value>82350.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_11_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:09-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDL CHOLESTEROL</Text>
+            <Code>
+              <Value>CH291</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>175</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-130</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_12</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:08-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_12_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:08-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TRIGLYCERIDE</Text>
+            <Code>
+              <Value>CH47</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>261</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-249</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_13</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:07-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol HDL</Text>
+          <Code>
+            <Value>83013.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_13_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:07-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HDL</Text>
+            <Code>
+              <Value>CH80</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>36</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>40-60</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_14</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:06-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol Total</Text>
+          <Code>
+            <Value>82466.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_14_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:06-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHOLESTEROL</Text>
+            <Code>
+              <Value>CH12</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>215</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-199</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_15</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_15_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>155</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_16</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:04-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_16_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:04-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>27</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_17</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:03-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_17_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:03-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>103</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_18</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_18_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:02-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>5.2</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_19</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_19_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>140</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_20</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-04-11T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_20_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-04-11T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.3</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_21</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:09-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calculation</Text>
+          <Code>
+            <Value>82350.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_21_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:09-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDL CHOLESTEROL</Text>
+            <Code>
+              <Value>CH291</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>168</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-130</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_22</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:08-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_22_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:08-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TRIGLYCERIDE</Text>
+            <Code>
+              <Value>CH47</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>250</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-249</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_23</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:07-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol HDL</Text>
+          <Code>
+            <Value>83013.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_23_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:07-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HDL</Text>
+            <Code>
+              <Value>CH80</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>38</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>40-60</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_24</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:06-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol Total</Text>
+          <Code>
+            <Value>82466.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_24_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:06-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHOLESTEROL</Text>
+            <Code>
+              <Value>CH12</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>205</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-199</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_25</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_25_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>135</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_26</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:04-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_26_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:04-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>24</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_27</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:03-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_27_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:03-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>99</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_28</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_28_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:02-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>5.1</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_29</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_29_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>137</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_30</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2007-03-15T07:45:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20364</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_30_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2007-03-15T07:45:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.2</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_31</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2006-06-01T23:57:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Prothrombin Time+PTT</Text>
+          <Code>
+            <Value>85613.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_31_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2006-06-01T23:57:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PROTHROMBIN TIME</Text>
+            <Code>
+              <Value>CH430</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>14</Value>
+            <Units>
+              <Unit>SEC.</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>10-13</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_31_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2006-06-01T23:57:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PARTIAL THROMBOPLASTIN TIME</Text>
+            <Code>
+              <Value>CH431</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>26</Value>
+            <Units>
+              <Unit>SEC.</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>18-25</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_32</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2006-06-01T01:58:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_32_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2006-06-01T01:58:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HEMOGLOBIN A1C</Text>
+            <Code>
+              <Value>CH462</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>6.1</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.5-6</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_33</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-07-07T10:35:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_33_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-07-07T10:35:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>350</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_34</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:59-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_34_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:59-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HEMOGLOBIN A1C</Text>
+            <Code>
+              <Value>CH462</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>8.2</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_35</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:58-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_35_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:58-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>INR</Text>
+            <Code>
+              <Value>CH500046</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.6</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>1.0-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_36</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:58-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Prothrombin Time</Text>
+          <Code>
+            <Value>85610.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_36_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:58-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PROTHROMBIN TIME</Text>
+            <Code>
+              <Value>CH430</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>17.5</Value>
+            <Units>
+              <Unit>SEC.</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>10-13</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_37</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_37_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPKWNY</Text>
+            <Code>
+              <Value>CH500038</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>250</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>21-235</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_37_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB</Text>
+            <Code>
+              <Value>CH132</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>17.5</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-8.9</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_37_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB/CPK</Text>
+            <Code>
+              <Value>CH133</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>7</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-6</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_38</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_38_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_39</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol Total</Text>
+          <Code>
+            <Value>82466.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_39_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHOLESTEROL</Text>
+            <Code>
+              <Value>CH12</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>245</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-199</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_40</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_40_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.1</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_41</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_41_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>30</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_42</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol HDL</Text>
+          <Code>
+            <Value>83013.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_42_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HDL</Text>
+            <Code>
+              <Value>CH80</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>41</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>40-60</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_43</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Troponin I</Text>
+          <Code>
+            <Value>83191.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_43_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TROPONIN I.CARDIAC:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>10839-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.8</Value>
+            <Units>
+              <Unit>ug/mL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-0.5</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_44</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Lactate Dehydrogenase Isoenz</Text>
+          <Code>
+            <Value>83625.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_44_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDH</Text>
+            <Code>
+              <Value>CH18</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>190</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>128-227</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_45</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_45_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>5.2</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_46</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_46_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>144</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_47</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_47_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>310</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_48</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Urea Nitrogen</Text>
+          <Code>
+            <Value>84520.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20354</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_48_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2005-03-17T02:30:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>UREA NITROGEN/CREATININE:MCRTO:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>3097-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>15</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>5-24</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_49</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_49_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>101</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>100-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_50</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_50_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.2</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_51</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_51_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>29</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_52</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_52_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_53</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_53_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>135</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_54</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_54_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>85</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_55</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Urea Nitrogen</Text>
+          <Code>
+            <Value>84520.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_55_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-28T22:52:05-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>UREA NITROGEN/CREATININE:MCRTO:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>3097-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>19</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>11-24</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_56</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2004-03-25T22:22:42-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_56_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2004-03-25T22:22:42-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>225</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_57</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-05-21T09:57:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_57_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-05-21T09:57:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>350</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_58</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-05-18T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_58_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-05-18T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>90</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_59</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-05-16T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_20012</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_59_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-05-16T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_60</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_60_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>BILIRUBIN,TOTAL</Text>
+            <Code>
+              <Value>CH15</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2.1</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.3-1.7</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_60_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB</Text>
+            <Code>
+              <Value>CH132</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>0</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-&lt;8.9</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_60_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB/CPK</Text>
+            <Code>
+              <Value>CH133</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>0</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-2.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_60_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPKWNY</Text>
+            <Code>
+              <Value>CH500038</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1.2</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>21-235</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_61</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Lactate Dehydrogenase Isoenz</Text>
+          <Code>
+            <Value>83625.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_61_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDH</Text>
+            <Code>
+              <Value>CH18</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>128-227</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_62</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Transferase Alanine Amino  SGPT</Text>
+          <Code>
+            <Value>84465.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_62_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-26T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>ALANINE AMINOTRANSFERASE:CCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>1742-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3000126.132913-66</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_63</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_63_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.SITE OF ORIGIN:ANAT:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22633-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>ear\</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_64</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_64_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.SITE OF ORIGIN:ANAT:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22633-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>eye\</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_65</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_65_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.SITE OF ORIGIN:ANAT:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22633-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>LE\</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_66</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_66_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.SITE OF ORIGIN:ANAT:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22633-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>bone marrow\</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_67</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-26T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Source>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_68</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>2000-01-10T07:00:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_68_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>2000-01-10T07:00:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>ESTROGEN</Text>
+            <Code>
+              <Value>CH53</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>X</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>canc</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_69</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Amylase</Text>
+          <Code>
+            <Value>82150.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_10958</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_69_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMYLASE:CCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>1798-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>123</Value>
+            <Units>
+              <Unit>IU/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_70</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calcium</Text>
+          <Code>
+            <Value>82310.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_10958</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_70_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CALCIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2000-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>9.9</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>9-11</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_71</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_10958</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_71_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-11-26T12:03:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>111</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-123</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_72</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-08-18T14:18:22-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calcium</Text>
+          <Code>
+            <Value>82310.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_72_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-08-18T14:18:22-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CALCIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2000-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>8.1</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>9-11</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_73</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Micro Bacteriology Culture</Text>
+          <Code>
+            <Value>87993.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_73_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROORGANISM IDENTIFIED:PRID:PT:XXX:NOM:CULTURE</Text>
+            <Code>
+              <Value>11475-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2441^STAPHYLOCOCCUS AUREUS^SNM</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>A</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_73_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>COLONY COUNT:NUM:PT:XXX:QN:VC</Text>
+            <Code>
+              <Value>564-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3+</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_74</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Bacteriology Susc</Text>
+          <Code>
+            <Value>87565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PENICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>13968-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CLINDAMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>194-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>VANCOMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>525-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GENTAMICIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>268-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_5</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORAMPHENICOL:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>174-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_6</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>Tetracycline NOS</Text>
+            <Code>
+              <Value>81946.0000</Value>
+              <CodingSystem>99VA64</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_7</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_8</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMPICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>29-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_9</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>ERYTHROMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>234-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_10</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>NITROFURANTOIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>364-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_11</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>OXACILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>384-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_74_12</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEPHALOTHIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>162-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_75</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Micro Bacteriology Culture</Text>
+          <Code>
+            <Value>87993.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_75_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROORGANISM IDENTIFIED:PRID:PT:XXX:NOM:CULTURE</Text>
+            <Code>
+              <Value>11475-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2441^STAPHYLOCOCCUS AUREUS^SNM</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>A</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_75_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>COLONY COUNT:NUM:PT:XXX:QN:VC</Text>
+            <Code>
+              <Value>564-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3+</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_76</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Bacteriology Susc</Text>
+          <Code>
+            <Value>87565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_813</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PENICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>13968-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CLINDAMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>194-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>VANCOMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>525-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GENTAMICIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>268-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_5</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORAMPHENICOL:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>174-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_6</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>Tetracycline NOS</Text>
+            <Code>
+              <Value>81946.0000</Value>
+              <CodingSystem>99VA64</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_7</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_8</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMPICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>29-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_9</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>ERYTHROMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>234-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_10</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>NITROFURANTOIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>364-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_11</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>OXACILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>384-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_76_12</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-06-08T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEPHALOTHIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>162-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>R</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>R</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_77</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1999-02-23T15:03:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calcium</Text>
+          <Code>
+            <Value>82310.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11710</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_77_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1999-02-23T15:03:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CALCIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2000-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>9.3</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>9-11</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_78</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T01:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_78_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T01:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB</Text>
+            <Code>
+              <Value>CH132</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>11</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-&lt;8.9</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_78_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T01:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB/CPK</Text>
+            <Code>
+              <Value>CH133</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>23</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-2.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_79</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T01:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Lactate Dehydrogenase Isoenz</Text>
+          <Code>
+            <Value>83625.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_79_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T01:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDH</Text>
+            <Code>
+              <Value>CH18</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>23</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>128-227</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_80</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_81</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Lactate Dehydrogenase Isoenz</Text>
+          <Code>
+            <Value>83625.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_81_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDH</Text>
+            <Code>
+              <Value>CH18</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>56</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>128-227</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_82</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T08:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_82_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB</Text>
+            <Code>
+              <Value>CH132</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>11</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-&lt;8.9</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_82_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T08:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB/CPK</Text>
+            <Code>
+              <Value>CH133</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-2.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_83</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-03-17T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_83_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB</Text>
+            <Code>
+              <Value>CH132</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>10</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-&lt;8.9</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_83_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-03-17T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CPK-MB/CPK</Text>
+            <Code>
+              <Value>CH133</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-2.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_84</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RBC</Text>
+            <Code>
+              <Value>CH385</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3.33</Value>
+            <Units>
+              <Unit>M/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>4.7-6.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HGB</Text>
+            <Code>
+              <Value>CH386</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>11.1</Value>
+            <Units>
+              <Unit>g/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-18</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PLT</Text>
+            <Code>
+              <Value>CH392</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>234</Value>
+            <Units>
+              <Unit>K/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>140-420</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SEGS</Text>
+            <Code>
+              <Value>CH394</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>23</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>34-74</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_5</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LYMPHS</Text>
+            <Code>
+              <Value>CH396</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>34</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>10-49</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_84_6</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>BLAST</Text>
+            <Code>
+              <Value>CH403</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>0</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_85</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>White Blood Cell Count</Text>
+          <Code>
+            <Value>85030.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_85_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>WBC</Text>
+            <Code>
+              <Value>CH384</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>8.5</Value>
+            <Units>
+              <Unit>k/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.5-8.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_86</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Hematocrit Macro or Micro</Text>
+          <Code>
+            <Value>85055.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_86_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HEMATOCRIT:VFR:PT:BLD:QN:SPUN</Text>
+            <Code>
+              <Value>4545-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>33.4</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>42-52</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_87</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCH</Text>
+          <Code>
+            <Value>85088.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_87_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCH</Text>
+            <Code>
+              <Value>CH389</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>32.1</Value>
+            <Units>
+              <Unit>uug</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>27-35</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_88</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCHC</Text>
+          <Code>
+            <Value>85089.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_88_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCHC</Text>
+            <Code>
+              <Value>CH390</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>33.1</Value>
+            <Units>
+              <Unit>gm/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>33-36</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_89</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCV</Text>
+          <Code>
+            <Value>85090.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_89_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MEAN CORPUSCULAR VOLUME:ENTVOL:PT:RBC:QN:AUTOMATED COUNT</Text>
+            <Code>
+              <Value>787-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>89.0</Value>
+            <Units>
+              <Unit>cmu</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>80-94</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_90</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RDW</Text>
+          <Code>
+            <Value>85114.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_90_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T11:52:16-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RDW</Text>
+            <Code>
+              <Value>CH391</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12.1</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>11-14</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_91</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_91_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RBC</Text>
+            <Code>
+              <Value>CH385</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4.67</Value>
+            <Units>
+              <Unit>M/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>4.7-6.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_91_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HGB</Text>
+            <Code>
+              <Value>CH386</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12.1</Value>
+            <Units>
+              <Unit>g/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-18</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_91_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PLT</Text>
+            <Code>
+              <Value>CH392</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>234</Value>
+            <Units>
+              <Unit>K/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>140-420</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_91_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SEGS</Text>
+            <Code>
+              <Value>CH394</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>56</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>34-74</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_91_5</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>BLAST</Text>
+            <Code>
+              <Value>CH403</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>0</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_92</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>White Blood Cell Count</Text>
+          <Code>
+            <Value>85030.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_92_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>WBC</Text>
+            <Code>
+              <Value>CH384</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4.6</Value>
+            <Units>
+              <Unit>k/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.5-8.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_93</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Hematocrit Macro or Micro</Text>
+          <Code>
+            <Value>85055.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_93_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HEMATOCRIT:VFR:PT:BLD:QN:SPUN</Text>
+            <Code>
+              <Value>4545-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>36.3</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>42-52</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_94</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCH</Text>
+          <Code>
+            <Value>85088.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_94_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCH</Text>
+            <Code>
+              <Value>CH389</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>32.1</Value>
+            <Units>
+              <Unit>uug</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>27-35</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_95</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCHC</Text>
+          <Code>
+            <Value>85089.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_95_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCHC</Text>
+            <Code>
+              <Value>CH390</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>33.4</Value>
+            <Units>
+              <Unit>gm/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>33-36</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_96</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCV</Text>
+          <Code>
+            <Value>85090.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_96_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MEAN CORPUSCULAR VOLUME:ENTVOL:PT:RBC:QN:AUTOMATED COUNT</Text>
+            <Code>
+              <Value>787-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>89.5</Value>
+            <Units>
+              <Unit>cmu</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>80-94</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_97</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RDW</Text>
+          <Code>
+            <Value>85114.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_97_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1998-01-29T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RDW</Text>
+            <Code>
+              <Value>CH391</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12.1</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>11-14</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_98</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-10-23T11:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Micro Bacteriology Culture</Text>
+          <Code>
+            <Value>87993.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_98_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-23T11:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROSCOPIC OBSERVATION:PRID:PT:XXX:NOM:GRAM STAIN</Text>
+            <Code>
+              <Value>664-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4+ COCCI IN CLUSTERS</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_98_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-23T11:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROSCOPIC OBSERVATION:PRID:PT:XXX:NOM:GRAM STAIN</Text>
+            <Code>
+              <Value>664-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>***GRAM STAIN</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_99</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-10-23T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Micro Bacteriology Culture</Text>
+          <Code>
+            <Value>87993.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_99_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-23T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROSCOPIC OBSERVATION:PRID:PT:XXX:NOM:GRAM STAIN</Text>
+            <Code>
+              <Value>664-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4+ GRAM NEGATIVE RODS</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_100</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-10-23T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Surgical Pathology Procedures NOS</Text>
+          <Code>
+            <Value>88515.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11531</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_100_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.SITE OF ORIGIN:ANAT:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22633-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>SPUTUM\SALIVA\</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_100_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1700--T00:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PATH REPORT.GROSS OBSERVATION:FIND:PT:SPECIMEN:NAR</Text>
+            <Code>
+              <Value>22634-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>P</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>Specimen consists of * ml of * fluid.  </Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_101</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Micro Bacteriology Culture</Text>
+          <Code>
+            <Value>87993.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_101_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROSCOPIC OBSERVATION:PRID:PT:XXX:NOM:GRAM STAIN</Text>
+            <Code>
+              <Value>664-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4 + CC, MANU SPUTUM, 4+GNR</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_101_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROSCOPIC OBSERVATION:PRID:PT:XXX:NOM:GRAM STAIN</Text>
+            <Code>
+              <Value>664-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>***GRAM STAIN</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_101_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MICROORGANISM IDENTIFIED:PRID:PT:XXX:NOM:CULTURE</Text>
+            <Code>
+              <Value>11475-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2305^PSEUDOMONAS AUREOFACIENS^SNM</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>A</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_101_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>COLONY COUNT:NUM:PT:XXX:QN:VC</Text>
+            <Code>
+              <Value>564-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>3+</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_102</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Bacteriology Susc</Text>
+          <Code>
+            <Value>87565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>NEOMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>356-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>BACITRACIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>10868-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PENICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>13968-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_4</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CLINDAMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>194-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_5</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>METHICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>324-4</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_6</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>VANCOMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>525-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_7</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GENTAMICIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>268-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_8</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORAMPHENICOL:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>174-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_9</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>KANAMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>292-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_10</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEFAZOLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>77-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_11</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>Tetracycline NOS</Text>
+            <Code>
+              <Value>81946.0000</Value>
+              <CodingSystem>99VA64</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_12</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMPICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>29-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_13</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBENICILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>61-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_14</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TOBRAMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>509-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_15</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_16</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMIKACIN~S~RANDOM:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>3320-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_17</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEFAMANDOLE:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>69-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_18</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEFOXITIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>117-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_19</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>ERYTHROMYCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>234-5</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_20</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEFOTAXIME:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>109-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_21</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>NITROFURANTOIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>364-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_22</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_23</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RIFAMPIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>429-1</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_24</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>NOVOBIOCIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>372-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_25</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CEFOPERAZONE:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>101-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_26</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MEZLOCILLIN:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>332-7</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_102_27</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-10-21T06:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MOXALACTAM:SUSC:PT:ISLT:ORDQN:AGAR DIFFUSION</Text>
+            <Code>
+              <Value>344-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>S</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>S</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_103</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-15T09:00:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Magnesium</Text>
+          <Code>
+            <Value>83735.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_103_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-15T09:00:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MAGNESIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2601-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2.1</Value>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_104</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-15T09:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calcium</Text>
+          <Code>
+            <Value>82310.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_104_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-15T09:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CALCIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2000-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>9.8</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>9-11</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_105</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-15T07:00:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_105_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-15T07:00:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>125</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>84-128</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_106</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-15T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Amylase</Text>
+          <Code>
+            <Value>82150.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_106_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-15T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMYLASE:CCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>1798-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2.5</Value>
+            <Units>
+              <Unit>IU/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>LL</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_107</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-15T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Lipase Blood</Text>
+          <Code>
+            <Value>83690.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_107_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-15T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LIPASE</Text>
+            <Code>
+              <Value>CH43</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>12.3</Value>
+            <Units>
+              <Unit>U/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>4-24</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_108</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1997-09-03T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_108_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1997-09-03T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>250</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>84-128</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_109</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:03-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Ammonia</Text>
+          <Code>
+            <Value>82140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_109_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:03-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMMONIA:SCNC:PT:SER:QN</Text>
+            <Code>
+              <Value>1841-6</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>1</Value>
+            <Units>
+              <Unit>umol/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>11-35</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_110</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:02-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calcium</Text>
+          <Code>
+            <Value>82310.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_110_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:02-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CALCIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2000-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>17.1</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>9-11</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_111</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Amylase</Text>
+          <Code>
+            <Value>82150.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_111_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMYLASE:CCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>1798-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>2</Value>
+            <Units>
+              <Unit>IU/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>LL</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_112</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_112_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_113</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_113_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>7.7</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_114</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_114_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>30</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_115</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Magnesium</Text>
+          <Code>
+            <Value>83735.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_115_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MAGNESIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2601-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>8.8</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>2-2.6</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_116</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_116_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>7.7</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_117</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_117_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>129</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_118</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_118_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>145</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_119</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Urea Nitrogen</Text>
+          <Code>
+            <Value>84520.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_119_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:21:01-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>UREA NITROGEN/CREATININE:MCRTO:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>3097-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>25</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>5-24</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_120</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:57-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Prothrombin Time</Text>
+          <Code>
+            <Value>85610.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_120_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:57-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PROTHROMBIN TIME</Text>
+            <Code>
+              <Value>CH430</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>99.9</Value>
+            <Units>
+              <Unit>SEC.</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>10-13</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_121</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_121_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RBC</Text>
+            <Code>
+              <Value>CH385</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4.56</Value>
+            <Units>
+              <Unit>M/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>4.7-6.1</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_121_2</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HGB</Text>
+            <Code>
+              <Value>CH386</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>14.3</Value>
+            <Units>
+              <Unit>g/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-18</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_121_3</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>PLT</Text>
+            <Code>
+              <Value>CH392</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>400</Value>
+            <Units>
+              <Unit>K/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>140-420</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_122</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>White Blood Cell Count</Text>
+          <Code>
+            <Value>85030.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_122_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>WBC</Text>
+            <Code>
+              <Value>CH384</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>77.9</Value>
+            <Units>
+              <Unit>k/cmm</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.5-8.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_123</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Hematocrit Macro or Micro</Text>
+          <Code>
+            <Value>85055.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_123_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HEMATOCRIT:VFR:PT:BLD:QN:SPUN</Text>
+            <Code>
+              <Value>4545-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>44</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>42-52</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_124</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCH</Text>
+          <Code>
+            <Value>85088.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_124_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCH</Text>
+            <Code>
+              <Value>CH389</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>33.1</Value>
+            <Units>
+              <Unit>uug</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>27-35</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_125</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCHC</Text>
+          <Code>
+            <Value>85089.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_125_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MCHC</Text>
+            <Code>
+              <Value>CH390</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>32.1</Value>
+            <Units>
+              <Unit>gm/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>33-36</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>L</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_126</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>MCV</Text>
+          <Code>
+            <Value>85090.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_126_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>MEAN CORPUSCULAR VOLUME:ENTVOL:PT:RBC:QN:AUTOMATED COUNT</Text>
+            <Code>
+              <Value>787-2</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>89.9</Value>
+            <Units>
+              <Unit>cmu</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>80-94</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_127</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>RDW</Text>
+          <Code>
+            <Value>85114.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_127_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:47-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>RDW</Text>
+            <Code>
+              <Value>CH391</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>14</Value>
+            <Units>
+              <Unit>%</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>11-14</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_128</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Chloride</Text>
+          <Code>
+            <Value>82435.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_128_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHLORIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2075-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>95-108</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_129</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Creatinine</Text>
+          <Code>
+            <Value>82565.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_129_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CREATININE:MCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2160-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>6.6</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>.9-1.4</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>HH</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_130</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Carbon Dioxide Content</Text>
+          <Code>
+            <Value>82830.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_130_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CARBON DIOXIDE:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2028-9</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>30</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>23-31</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_131</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Potassium</Text>
+          <Code>
+            <Value>84140.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_131_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>POTASSIUM:SCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>2823-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>4.4</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>3.8-5.3</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_132</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Sodium</Text>
+          <Code>
+            <Value>84295.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_132_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>SODIUM:SCNC:PT:BLD:QN</Text>
+            <Code>
+              <Value>2947-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>144</Value>
+            <Units>
+              <Unit>meq/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>135-145</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_133</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Glucose Quant</Text>
+          <Code>
+            <Value>84330.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_133_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>GLUCOSE:MCNC:PT:FLU:QN</Text>
+            <Code>
+              <Value>2344-0</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>144</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>60-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_134</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Urea Nitrogen</Text>
+          <Code>
+            <Value>84520.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_755</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_134_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-24T10:11:37-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>UREA NITROGEN/CREATININE:MCRTO:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>3097-3</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>25</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>5-24</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+          <Flag>
+            <Text>H</Text>
+          </Flag>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_135</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Gen Chem Specimen</Text>
+          <Code>
+            <Value>81323.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_135_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>TRIGLYCERIDE</Text>
+            <Code>
+              <Value>CH47</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>100</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-249</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_136</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Amylase</Text>
+          <Code>
+            <Value>82150.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_136_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>AMYLASE:CCNC:PT:SER/PLAS:QN</Text>
+            <Code>
+              <Value>1798-8</Value>
+              <CodingSystem>LOINC</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>56</Value>
+            <Units>
+              <Unit>IU/L</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>14-110</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_137</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Calculation</Text>
+          <Code>
+            <Value>82350.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_137_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>LDL CHOLESTEROL</Text>
+            <Code>
+              <Value>CH291</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>I</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>pending</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-130</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_138</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol Total</Text>
+          <Code>
+            <Value>82466.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_138_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>CHOLESTEROL</Text>
+            <Code>
+              <Value>CH12</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>F</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>200</Value>
+            <Units>
+              <Unit>mg/dL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>0-199</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+      <Result>
+        <CCRDataObjectID>RESULT_139</CCRDataObjectID>
+        <DateTime>
+          <Type>
+            <Text>Assessment Time</Text>
+          </Type>
+          <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Description>
+          <Text>Cholesterol HDL</Text>
+          <Code>
+            <Value>83013.0000</Value>
+            <CodingSystem>99VA64</CodingSystem>
+          </Code>
+        </Description>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_923</ActorID>
+          </Actor>
+        </Source>
+        <Test>
+          <CCRDataObjectID>RESULTTEST_139_1</CCRDataObjectID>
+          <DateTime>
+            <Type>
+              <Text>Assessment Time</Text>
+            </Type>
+            <ExactDateTime>1996-12-20T07:00:00-05:00</ExactDateTime>
+          </DateTime>
+          <Description>
+            <Text>HDL</Text>
+            <Code>
+              <Value>CH80</Value>
+              <CodingSystem>99VA63</CodingSystem>
+            </Code>
+          </Description>
+          <Status>
+            <Text>I</Text>
+          </Status>
+          <Source>
+            <Actor>
+              <ActorID>ACTORORGANIZATION_500</ActorID>
+            </Actor>
+          </Source>
+          <TestResult>
+            <Value>pending</Value>
+            <Units>
+              <Unit>MG/DL</Unit>
+            </Units>
+          </TestResult>
+          <NormalResult>
+            <Normal>
+              <Description>
+                <Text>40-60</Text>
+              </Description>
+              <Source>
+                <Actor>
+                  <ActorID>ACTORORGANIZATION_500</ActorID>
+                </Actor>
+              </Source>
+            </Normal>
+          </NormalResult>
+        </Test>
+      </Result>
+    </Results>
+    <Encounters>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_3855</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2007-05-16T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADVANCE DIRECTIVE</Text>
+        </Type>
+        <Description>
+          <Text>ADVANCE DIRECTIVE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_3114</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2004-04-01T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CONSULTS</Text>
+        </Type>
+        <Description>
+          <Text>CONSULTS</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_2890</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2004-03-31T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>PATIENT EDUCATION</Text>
+        </Type>
+        <Description>
+          <Text>PATIENT EDUCATION</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_2769</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>2004-03-31T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>MEDICINE</Text>
+        </Type>
+        <Description>
+          <Text>MEDICINE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1990</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADMISSION ASSESSMENT</Text>
+        </Type>
+        <Description>
+          <Text>ADMISSION ASSESSMENT</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1827</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CAMP 2000</Text>
+        </Type>
+        <Description>
+          <Text>CAMP 2000</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1781</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADVANCE DIRECTIVE</Text>
+        </Type>
+        <Description>
+          <Text>ADVANCE DIRECTIVE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1687</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1606</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1561</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1506</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1298</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADDENDUM</Text>
+        </Type>
+        <Description>
+          <Text>ADDENDUM</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1297</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADDENDUM</Text>
+        </Type>
+        <Description>
+          <Text>ADDENDUM</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1296</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1292</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1231</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1225</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1999-12-10T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text> Ultrasound Procedure</Text>
+        </Type>
+        <Description>
+          <Text> Ultrasound Procedure</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+        <Practioner>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Practioner>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+        <CommentID>NOTE_1225</CommentID>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1220</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>JEANIE'S TITLES</Text>
+        </Type>
+        <Description>
+          <Text>JEANIE'S TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1219</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>JEANIE'S TITLES</Text>
+        </Type>
+        <Description>
+          <Text>JEANIE'S TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1199</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1999-11-12T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+        <Practioner>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Practioner>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPROVIDER_11712</ActorID>
+          </Actor>
+        </Source>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1131</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1090</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CONSULTS</Text>
+        </Type>
+        <Description>
+          <Text>CONSULTS</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_1079</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CONSULTS</Text>
+        </Type>
+        <Description>
+          <Text>CONSULTS</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_852</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1997-12-03T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADDICTION SEVERITY INDEX</Text>
+        </Type>
+        <Description>
+          <Text>ADDICTION SEVERITY INDEX</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_696</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-07-18T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>IRMFO TITLES</Text>
+        </Type>
+        <Description>
+          <Text>IRMFO TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_168</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-08-31T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_161</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-08-09T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>CRISIS NOTE</Text>
+        </Type>
+        <Description>
+          <Text>CRISIS NOTE</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_160</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-08-09T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>HISTORICAL TITLES</Text>
+        </Type>
+        <Description>
+          <Text>HISTORICAL TITLES</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_145</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-05-23T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Type>
+        <Description>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_144</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-05-23T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Type>
+        <Description>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+      <Encounter>
+        <CCRDataObjectID>ENCOUNTER_143</CCRDataObjectID>
+        <DateTime>
+          <ExactDateTime>1995-05-23T00:00:00-05:00</ExactDateTime>
+        </DateTime>
+        <Type>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Type>
+        <Description>
+          <Text>ADVERSE REACTION/ALLERGY</Text>
+        </Description>
+        <Location>
+          <Actor>
+            <ActorID>ACTORORGANIZATION_1</ActorID>
+          </Actor>
+        </Location>
+      </Encounter>
+    </Encounters>
+  </Body>
+  <Actors>
+    <Actor>
+      <ActorObjectID>ACTORORGANIZATION_1</ActorObjectID>
+      <Organization>
+        <Name>ZZ ALBANY-PRRTP</Name>
+      </Organization>
+      <Address>
+        <Type>
+          <Text>Office</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NEW YORK</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORORGANIZATION_500</ActorObjectID>
+      <Organization>
+        <Name>ZZ ALBANY-PRRTP</Name>
+      </Organization>
+      <Address>
+        <Type>
+          <Text>Office</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NEW YORK</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPATIENT_8</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>PATIENT</Given>
+            <Family>TEN</Family>
+          </CurrentName>
+        </Name>
+        <DateOfBirth>
+          <ExactDateTime>1935-04-07</ExactDateTime>
+        </DateOfBirth>
+        <Gender>
+          <Text>MALE</Text>
+          <Code>
+            <Value>M</Value>
+            <CodingSystem>HL7 AdministrativeGender</CodingSystem>
+          </Code>
+        </Gender>
+      </Person>
+      <IDs>
+        <Type>
+          <Text>SSN</Text>
+        </Type>
+        <ID>666000010</ID>
+        <Source>
+          <Actor>
+            <ActorID>ACTORPATIENT_8</ActorID>
+          </Actor>
+        </Source>
+      </IDs>
+      <Address>
+        <Type>
+          <Text>Home</Text>
+        </Type>
+        <Line1>1312 Ashton Place</Line1>
+        <City>Rowling</City>
+        <State>WEST VIRGINIA</State>
+        <PostalCode>99998</PostalCode>
+      </Address>
+      <Telephone>
+        <Value>222-555-8235</Value>
+        <Type>
+          <Text>Residential Telephone</Text>
+        </Type>
+      </Telephone>
+      <Telephone>
+        <Value>222-555-7720</Value>
+        <Type>
+          <Text>Work Telephone</Text>
+        </Type>
+      </Telephone>
+      <Source>
+        <Actor>
+          <ActorID>ACTORPATIENT_8</ActorID>
+        </Actor>
+      </Source>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_10000000002</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>THIRTY</Given>
+            <Family>LABTECH</Family>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_10000000020</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>SYSTEM</Given>
+            <Family>MANAGER</Family>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Telephone>
+        <Value>509.989.3732</Value>
+        <Type>
+          <Text>Office</Text>
+        </Type>
+      </Telephone>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_10000000031</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>ONEHUNDRED</Given>
+            <Family>VEHU</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_10000000053</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWO</Given>
+            <Family>LABTECH</Family>
+            <Title>COMPUTER SPECIALIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_10958</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>FIFTYTHREE</Given>
+            <Family>WARDCLERK</Family>
+            <Title>COMPUTER SPECIALIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath-Critical Care Medicine: Anesthesiology</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_11531</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>ONEHUNDREDNINETYONE</Given>
+            <Family>PROVIDER</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_11710</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWOHUNDREDNINETYFIVE</Given>
+            <Family>PROVIDER</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_11712</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWOHUNDREDNINETYSEVEN</Given>
+            <Family>PROVIDER</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_11745</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>SPECIAL</Given>
+            <Family>LABTECH</Family>
+            <Title>COMPUTER SPECIALIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_20012</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TEN</Given>
+            <Family>VEHU</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_20079</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>SEVENTYNINE</Given>
+            <Family>VEHU</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_20354</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWO</Given>
+            <Family>VEHU</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_20364</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>SEVENTEEN</Given>
+            <Family>LABTECH</Family>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_20391</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWENTYFOUR</Given>
+            <Family>LABTECH</Family>
+            <Title>PHYSICIAN</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_755</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWENTY</Given>
+            <Family>PROGRAMMER</Family>
+            <Title>COMPUTER SPECIALIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_813</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWENTYTWO</Given>
+            <Family>PROGRAMMER</Family>
+            <Title>COMPUTER SPECIALIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_923</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>TWENTYEIGHT</Given>
+            <Family>PROGRAMMER</Family>
+            <Title>PHARMACIST</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORPROVIDER_983</ActorObjectID>
+      <Person>
+        <Name>
+          <CurrentName>
+            <Given>ONE</Given>
+            <Family>PROVIDER</Family>
+            <Title>Scholar Extraordinaire</Title>
+          </CurrentName>
+        </Name>
+      </Person>
+      <Specialty>
+        <Text>Physicians (M.D. and D.O.)-Physician/Osteopath</Text>
+      </Specialty>
+      <Address>
+        <Type>
+          <Text>Work</Text>
+        </Type>
+        <Line1>123 MAIN</Line1>
+        <City>ALBANY</City>
+        <State>NY</State>
+        <PostalCode>12180</PostalCode>
+      </Address>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+      <InternalCCRLink>
+        <LinkID>ACTORORGANIZATION_1</LinkID>
+        <LinkRelationship>representedOrganization</LinkRelationship>
+      </InternalCCRLink>
+    </Actor>
+    <Actor>
+      <ActorObjectID>ACTORSYSTEM_1</ActorObjectID>
+      <InformationSystem>
+        <Name>WorldVistA EHR/VOE</Name>
+        <Version>1.0</Version>
+      </InformationSystem>
+      <Source>
+        <Actor>
+          <ActorID>ACTORSYSTEM_1</ActorID>
+        </Actor>
+      </Source>
+    </Actor>
+  </Actors>
+  <Comments>
+    <Comment>
+      <CommentObjectID>NOTE_1225</CommentObjectID>
+      <DateTime>
+        <ExactDateTime>1999-12-10T00:00:00-05:00</ExactDateTime>
+      </DateTime>
+      <Description>
+        <Text>
+testing workload
+</Text>
+      </Description>
+      <Source>
+        <Actor>
+          <ActorID>ACTORPROVIDER_11712</ActorID>
+        </Actor>
+      </Source>
+    </Comment>
+  </Comments>
+</ContinuityOfCareRecord>
Index: /ccr2ccd-xslt/trunk/make/ccr-template.xml
===================================================================
--- /ccr2ccd-xslt/trunk/make/ccr-template.xml	(revision 981)
+++ /ccr2ccd-xslt/trunk/make/ccr-template.xml	(revision 981)
@@ -0,0 +1,851 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="ccr.xsl"?>
+<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
+<CCRDocumentObjectID>@@CCRDOCOBJECTID@@</CCRDocumentObjectID>
+<Language>
+<Text>English</Text>
+</Language>
+<Version>V1.0</Version>
+<DateTime>
+<ExactDateTime>@@DATETIME@@</ExactDateTime>
+</DateTime>
+<Patient>
+<ActorID>@@ACTORPATIENT@@</ActorID>
+</Patient>
+<From>
+<ActorLink>
+<ActorID>@@ACTORFROM@@</ActorID>
+</ActorLink>
+<ActorLink>
+<ActorID>@@ACTORFROM2@@</ActorID>
+</ActorLink>
+</From>
+<To>
+<ActorLink>
+<ActorID>@@ACTORTO@@</ActorID>
+<ActorRole>
+<Text>@@ACTORTOTEXT@@</Text>
+</ActorRole>
+</ActorLink>
+</To>
+<Purpose>
+<Description>
+<Text>@@PURPOSEDESCRIPTION@@</Text>
+</Description>
+</Purpose>
+<Body>
+<Problems>
+<Problem>
+<CCRDataObjectID>@@PROBLEMOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<ExactDateTime>@@PROBLEMDATEMOD@@</ExactDateTime>
+</DateTime>
+<Type>
+<Text>Problem</Text>
+</Type>
+<Description>
+<Text>@@PROBLEMDESCRIPTION@@</Text>
+<Code>
+<Value>@@PROBLEMCODEVALUE@@</Value>
+<CodingSystem>ICD9CM</CodingSystem>
+<Version>@@PROBLEMCODINGVERSION@@</Version>
+</Code>
+</Description>
+<Status>
+<Text>@@PROBLEMSTATUS@@</Text>
+</Status>
+<Source>
+<Actor>
+<ActorID>@@PROBLEMSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+</Problem>
+</Problems>
+<Immunizations>
+<Immunization>
+<CCRDataObjectID>@@IMMUNEOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>@@IMMUNEDATETIMETYPETEXT@@</Text>
+</Type>
+<ExactDateTime>@@IMMUNEDATETIME@@</ExactDateTime>
+</DateTime>
+<Source>
+<Actor>
+<ActorID>@@IMMUNESOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<Product>
+<ProductName>
+<Text>@@IMMUNEPRODUCTNAMETEXT@@</Text>
+<Code>
+<Value>@@IMMUNEPRODUCTCODE@@</Value>
+<CodingSystem>@@IMMUNEPRODUCTCODESYSTEM@@</CodingSystem>
+</Code>
+</ProductName>
+</Product>
+</Immunization>
+</Immunizations>
+<FamilyHistory>
+<FamilyProblemHistory>
+<CCRDataObjectID>@@FAMILYHISTORYOBJECTID@@</CCRDataObjectID>
+<Source>
+<Actor>
+<ActorID>@@FAMILYHISTORYACTORID@@</ActorID>
+</Actor>
+</Source>
+<FamilyMember>
+<ActorID>@@FAMILYMEMBERACTORID@@</ActorID>
+<ActorRole>
+<Text>@@FAMILYMEMBERACTORROLETEXT@@</Text>
+</ActorRole>
+<Source>
+<Actor>
+<ActorID>@@FAMILYMEMBERSOURCACTORID@@</ActorID>
+</Actor>
+</Source>
+</FamilyMember>
+<Problem>
+<Type>
+<Text>Problem</Text>
+</Type>
+<Description>
+<Text>@@FAMILYMEMBERPROBLEMDESCRIPTION@@</Text>
+<Code>
+<Value>@@FAMILYMEMBERPROBLEMCODE@@</Value>
+<CodingSystem>@@FAMILYMEMBERCODESYSTEM@@</CodingSystem>
+<Version>@@FAMILYMEMBERCODEVERSION@@</Version>
+</Code>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@FAMILYMEMBERPROBLEMSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Problem>
+</FamilyProblemHistory>
+</FamilyHistory>
+<SocialHistory>
+<SocialHistoryElement>
+<CCRDataObjectID>@@SOCIALHISTORYOBJECTID@@</CCRDataObjectID>
+<Type>
+<Text>@@SOCIALHISTORYTYPETEXT@@</Text>
+</Type>
+<Description>
+<Text>@@SOCIALHISTORYDESCRIPTIONTEXT@@</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@SOCIALHISTORYSOURCACTORID@@</ActorID>
+</Actor>
+</Source>
+</SocialHistoryElement>
+<SocialHistoryElement>
+<CCRDataObjectID>BB0005</CCRDataObjectID>
+<Type>
+<Text>Ethnic Origin</Text>
+</Type>
+<Description>
+<Text>Not Hispanic or Latino</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>AA0001</ActorID>
+</Actor>
+</Source>
+</SocialHistoryElement>
+<SocialHistoryElement>
+<CCRDataObjectID>BB0006</CCRDataObjectID>
+<Type>
+<Text>Race</Text>
+</Type>
+<Description>
+<Text>White</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>AA0001</ActorID>
+</Actor>
+</Source>
+</SocialHistoryElement>
+<SocialHistoryElement>
+<CCRDataObjectID>BB0007</CCRDataObjectID>
+<Type>
+<Text>Occupation</Text>
+</Type>
+<Description>
+<Text>Physician</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>AA0001</ActorID>
+</Actor>
+</Source>
+</SocialHistoryElement>
+</SocialHistory>
+<Alerts>
+<Alert>
+<CCRDataObjectID>@@ALERTOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<ExactDateTime>@@ALERTDATETIME@@</ExactDateTime>
+</DateTime>
+<Type>
+<Text>@@ALERTTYPE@@</Text>
+</Type>
+<Status>
+<Text>@@ALERTSTATUSTEXT@@</Text>
+</Status>
+<Description>
+<Text>@@ALERTDESCRIPTIONTEXT@@</Text>
+<Code>
+<Value>@@ALERTCODEVALUE@@</Value>
+<CodingSystem>@@ALERTCODESYSTEM@@</CodingSystem>
+</Code>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@ALERTSOURCEID@@</ActorID>
+</Actor>
+</Source>
+<Agent>
+<Products>
+<Product>
+<CCRDataObjectID>@@ALERTAGENTPRODUCTOBJECTID@@</CCRDataObjectID>
+<Source>
+<Actor>
+<ActorID>@@ALERTSOURCEID@@</ActorID>
+</Actor>
+</Source>
+<Product>
+<ProductName>
+<Text>@@ALERTAGENTPRODUCTNAMETEXT@@</Text>
+<Code>
+<Value>@@ALERTAGENTPRODUCTCODEVALUE@@</Value>
+<CodingSystem>@@ALERTAGENTPRODUCTCODESYSTEM@@</CodingSystem>
+</Code>
+</ProductName>
+</Product>
+</Product>
+</Products>
+</Agent>
+<Reaction>
+<Description>
+<Text>@@ALERTREACTIOINDESCRIPTIONTEXT@@</Text>
+<Code>
+<Value>@@ALERTREACTIONCODEVALUE@@</Value>
+<CodingSystem>@@ALERTREACTIONCODESYSTEM@@</CodingSystem>
+</Code>
+</Description>
+</Reaction>
+</Alert>
+</Alerts>
+<Medications>
+<Medication>
+<CCRDataObjectID>@@MEDOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>@@MEDISSUEDATETXT@@</Text>
+</Type>
+<ExactDateTime>@@MEDISSUEDATE@@</ExactDateTime>
+</DateTime>
+<DateTime>
+<Type>
+<Text>@@MEDLASTFILLDATETXT@@</Text>
+</Type>
+<ExactDateTime>@@MEDLASTFILLDATE@@</ExactDateTime>
+</DateTime>
+<IDs>
+<Type>
+<Text>@@MEDRXNOTXT@@</Text>
+</Type>
+<ID>@@MEDRXNO@@</ID>
+</IDs>
+<Type>
+<Text>@@MEDTYPETEXT@@</Text>
+</Type>
+<Description>
+<Text>@@MEDDETAILUNADORNED@@</Text>
+</Description>
+<Status>
+<Text>@@MEDSTATUSTEXT@@</Text>
+</Status>
+<Source>
+<Actor>
+<ActorID>@@MEDSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<Product>
+<ProductName>
+<Text>@@MEDPRODUCTNAMETEXT@@</Text>
+<Code>
+<Value>@@MEDPRODUCTNAMECODEVALUE@@</Value>
+<CodingSystem>@@MEDPRODUCTNAMECODINGINGSYSTEM@@</CodingSystem>
+<Version>@@MEDPRODUCTNAMECODEVERSION@@</Version>
+</Code>
+</ProductName>
+<BrandName>
+<Text>@@MEDBRANDNAMETEXT@@</Text>
+</BrandName>
+<Strength>
+<Value>@@MEDSTRENGTHVALUE@@</Value>
+<Units>
+<Unit>@@MEDSTRENGTHUNIT@@</Unit>
+</Units>
+</Strength>
+<Form>
+<Text>@@MEDFORMTEXT@@</Text>
+</Form>
+<Concentration>
+<Value>@@MEDCONCVALUE@@</Value>
+<Units>
+<Unit>@@MEDCONCUNIT@@</Unit>
+</Units>
+</Concentration>
+</Product>
+<Quantity>
+<Value>@@MEDQUANTITYVALUE@@</Value>
+<Units>
+<Unit>@@MEDQUANTITYUNIT@@</Unit>
+</Units>
+</Quantity>
+<Directions>
+<Direction>
+<Description>
+<Text>@@MEDDIRECTIONDESCRIPTIONTEXT@@</Text>
+</Description>
+<DoseIndicator>
+<Text>@@MEDDOSEINDICATOR@@</Text>
+</DoseIndicator>
+<DeliveryMethod>
+<Text>@@MEDDELIVERYMETHOD@@</Text>
+</DeliveryMethod>
+<Dose>
+<Value>@@MEDDOSEVALUE@@</Value>
+<Units>
+<Unit>@@MEDDOSEUNIT@@</Unit>
+</Units>
+<Rate>
+<Value>@@MEDRATEVALUE@@</Value>
+<Units>
+<Unit>@@MEDRATEUNIT@@</Unit>
+</Units>
+</Rate>
+</Dose>
+<Vehicle>
+<Text>@@MEDVEHICLETEXT@@</Text>
+</Vehicle>
+<Route>
+<Text>@@MEDDIRECTIONROUTETEXT@@</Text>
+</Route>
+<Frequency>
+<Value>@@MEDFREQUENCYVALUE@@</Value>
+</Frequency>
+<Interval>
+<Value>@@MEDINTERVALVALUE@@</Value>
+<Units>
+<Unit>@@MEDINTERVALUNIT@@</Unit>
+</Units>
+</Interval>
+<Duration>
+<Value>@@MEDDURATIONVALUE@@</Value>
+<Units>
+<Unit>@@MEDDURATIONUNIT@@</Unit>
+</Units>
+</Duration>
+<Indication>
+<PRNFlag>
+<Text>@@MEDPRNFLAG@@</Text>
+</PRNFlag>
+<Problem>
+<CCRDataObjectID>@@MEDPROBLEMOBJECTID@@</CCRDataObjectID>
+<Type>
+<Text>@@MEDPROBLEMTYPETXT@@</Text>
+</Type>
+<Description>
+<Text>@@MEDPROBLEMDESCRIPTION@@</Text>
+<Code>
+<Value>@@MEDPROBLEMCODEVALUE@@</Value>
+<CodingSystem>@@MEDPROBLEMCODINGSYSTEM@@</CodingSystem>
+<Version>@@MEDPROBLEMCODINGVERSION@@</Version>
+</Code>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@MEDPROBLEMSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+</Problem>
+</Indication>
+<StopIndicator>
+<Text>@@MEDSTOPINDICATOR@@</Text>
+</StopIndicator>
+<DirectionSequenceModifier>@@MEDDIRSEQ@@</DirectionSequenceModifier>
+<MultipleDirectionModifier>
+<Text>@@MEDMULDIRMOD@@</Text>
+</MultipleDirectionModifier>
+</Direction>
+</Directions>
+<PatientInstructions>
+<Instruction>
+<Text>@@MEDPTINSTRUCTIONS@@</Text>
+</Instruction>
+</PatientInstructions>
+<FullfillmentInstructions>
+<Text>@@MEDFULLFILLMENTINSTRUCTIONS@@</Text>
+</FullfillmentInstructions>
+<Refills>
+<Refill>
+<Number>@@MEDRFNO@@</Number>
+</Refill>
+</Refills>
+</Medication>
+</Medications>
+<VitalSigns>
+<Result>
+<CCRDataObjectID>@@VITALSIGNSDATAOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>@@VITALSIGNSDATETIMETYPETEXT@@</Text>
+</Type>
+<ExactDateTime>@@VITALSIGNSEXACTDATETIME@@</ExactDateTime>
+</DateTime>
+<Description>
+<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@VITALSIGNSSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<Test>
+<CCRDataObjectID>@@VITALSIGNSTESTOBJECTID@@</CCRDataObjectID>
+<Type>
+<Text>@@VITALSIGNSTESTTYPETEXT@@</Text>
+</Type>
+<Description>
+<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
+<Code>
+<Value>@@VITALSIGNSDESCCODEVALUE@@</Value>
+<CodingSystem>@@VITALSIGNSDESCCODINGSYSTEM@@</CodingSystem>
+<Version>@@VITALSIGNSCODEVERSION@@</Version>
+</Code>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@VITALSIGNSTESTSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<TestResult>
+<Value>@@VITALSIGNSTESTRESULTVALUE@@</Value>
+<Units>
+<Unit>@@VITALSIGNSTESTRESULTUNIT@@</Unit>
+</Units>
+</TestResult>
+</Test>
+</Result>
+</VitalSigns>
+<Results>
+<Result>
+<CCRDataObjectID>@@RESULTOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>Assessment Time</Text>
+</Type>
+<ExactDateTime>@@RESULTASSESSMENTDATETIME@@</ExactDateTime>
+</DateTime>
+<Description>
+<Text>@@RESULTDESCRIPTIONTEXT@@</Text>
+<Code>
+<Value>@@RESULTCODE@@</Value>
+<CodingSystem>@@RESULTCODINGSYSTEM@@</CodingSystem>
+</Code>
+</Description>
+<Status>
+<Text>@@RESULTSTATUS@@</Text>
+</Status>
+<Source>
+<Actor>
+<ActorID>@@RESULTSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<Test>
+<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>Assessment Time</Text>
+</Type>
+<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
+</DateTime>
+<Description>
+<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
+<Code>
+<Value>@@RESULTTESTCODEVALUE@@</Value>
+<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
+</Code>
+</Description>
+<Status>
+<Text>@@RESULTTESTSTATUSTEXT@@</Text>
+</Status>
+<Source>
+<Actor>
+<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+<TestResult>
+<Value>@@RESULTTESTVALUE@@</Value>
+<Units>
+<Unit>@@RESULTTESTUNITS@@</Unit>
+</Units>
+</TestResult>
+<NormalResult>
+<Normal>
+<Description>
+<Text>@@RESULTTESTNORMALDESCTEXT@@</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
+</Actor>
+</Source>
+</Normal>
+</NormalResult>
+<Flag>
+<Text>@@RESULTTESTFLAG@@</Text>
+</Flag>
+</Test>
+</Result>
+</Results>
+<Procedures>
+<Procedure>
+<CCRDataObjectID>@@PROCOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<Type>
+<Text>@@PROCDATETEXT@@</Text>
+</Type>
+<ExactDateTime>@@PROCDATETIME@@</ExactDateTime>
+</DateTime>
+<Description>
+<Text>@@PROCDESCTEXT@@</Text>
+<ObjectAttribute>
+<Attribute>@@PROCDESCOBJATTR@@</Attribute>
+<AttributeValue>
+<Value>@@PROCDESCOBJATTRVAL@@</Value>
+<Code>
+<Value>@@PROCDESCOBJATTRCODE@@</Value>
+<CodingSystem>@@PROCDESCOBJATTRCODESYS@@</CodingSystem>
+</Code>
+</AttributeValue>
+</ObjectAttribute>
+<Code>
+<Value>@@PROCCODE@@</Value>
+<CodingSystem>@@PROCCODESYS@@</CodingSystem>
+</Code>
+</Description>
+<Status>
+<Text>@@PROCSTATUS@@</Text>
+</Status>
+<Source>
+<Actor>
+<ActorID>@@PROCACTOROBJID@@</ActorID>
+</Actor>
+</Source>
+<InternalCCRLink>
+<LinkID>@@PROCLINKID@@</LinkID>
+<LinkRelationship>@@PROCLINKREL@@</LinkRelationship>
+</InternalCCRLink>
+</Procedure>
+</Procedures>
+<Encounters>
+<Encounter>
+<CCRDataObjectID>@@ENCOBJECTID@@</CCRDataObjectID>
+<DateTime>
+<ExactDateTime>@@ENCDATETIME@@</ExactDateTime>
+</DateTime>
+<Type>
+<Text>@@ENCTYPETXT@@</Text>
+<Code>
+<Value>@@ENCTYPECODE@@</Value>
+<CodingSystem>@@ENCTYPECODESYS@@</CodingSystem>
+</Code>
+</Type>
+<Description>
+<Text>@@ENCDESCTXT@@</Text>
+<Code>
+<Value>@@ENCDESCCODE@@</Value>
+<CodingSystem>@@ENCDESCCODESYS@@</CodingSystem>
+</Code>
+</Description>
+<Location>
+<Actor>
+<ActorID>@@ENCLOCACTORID@@</ActorID>
+</Actor>
+</Location>
+<Practioner>
+<Actor>
+<ActorID>@@ENCPRVACTORID@@</ActorID>
+</Actor>
+</Practioner>
+<Indication>
+<Text>@@ENCINDTXT@@</Text>
+<Code>
+<Value>@@ENCINDCODE@@</Value>
+<CodingSystem>@@ENCINDCODESYS@@</CodingSystem>
+</Code>
+</Indication>
+<Source>
+<Actor>
+<ActorID>@@ENCACTORID@@</ActorID>
+</Actor>
+</Source>
+<CommentID>@@ENCCOMMENTID@@</CommentID>
+</Encounter>
+</Encounters>
+<HealthCareProviders>
+<Provider>
+<ActorID>AA0005</ActorID>
+<ActorRole>
+<Text>Primary Provider</Text>
+</ActorRole>
+</Provider>
+</HealthCareProviders>
+</Body>
+<Actors>
+<ACTOR-PATIENT>
+<Actor>
+<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
+<Person>
+<Name>
+<CurrentName>
+<Given>@@ACTORGIVENNAME@@</Given>
+<Middle>@@ACTORMIDDLENAME@@</Middle>
+<Family>@@ACTORFAMILYNAME@@</Family>
+</CurrentName>
+</Name>
+<DateOfBirth>
+<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
+</DateOfBirth>
+<Gender>
+<Text>@@ACTORGENDER@@</Text>
+<Code>
+<Value>@@ACTORGENDERCODE@@</Value>
+<CodingSystem>HL7 AdministrativeGender</CodingSystem>
+</Code>
+</Gender>
+</Person>
+<IDs>
+<Type>
+<Text>@@ACTORSSNTEXT@@</Text>
+</Type>
+<ID>@@ACTORSSN@@</ID>
+<Source>
+<Actor>
+<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</IDs>
+<Address>
+<Type>
+<Text>@@ACTORADDRESSTYPE@@</Text>
+</Type>
+<Line1>@@ACTORADDRESSLINE1@@</Line1>
+<Line2>@@ACTORADDRESSLINE2@@</Line2>
+<City>@@ACTORADDRESSCITY@@</City>
+<State>@@ACTORADDRESSSTATE@@</State>
+<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
+</Address>
+<Telephone>
+<Value>@@ACTORRESTEL@@</Value>
+<Type>
+<Text>@@ACTORRESTELTEXT@@</Text>
+</Type>
+</Telephone>
+<Telephone>
+<Value>@@ACTORWORKTEL@@</Value>
+<Type>
+<Text>@@ACTORWORKTELTEXT@@</Text>
+</Type>
+</Telephone>
+<Telephone>
+<Value>@@ACTORCELLTEL@@</Value>
+<Type>
+<Text>@@ACTORCELLTELTEXT@@</Text>
+</Type>
+</Telephone>
+<EMail>
+<Value>@@ACTOREMAIL@@</Value>
+</EMail>
+<Source>
+<Actor>
+<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Actor>
+</ACTOR-PATIENT>
+<ACTOR-SYSTEM>
+<Actor>
+<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
+<InformationSystem>
+<Name>@@ACTORINFOSYSNAME@@</Name>
+<Version>@@ACTORINFOSYSVER@@</Version>
+</InformationSystem>
+<Source>
+<Actor>
+<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Actor>
+</ACTOR-SYSTEM>
+<ACTOR-NOK>
+<Actor>
+<ActorObjectID>AA0003</ActorObjectID>
+<Person>
+<Name>
+<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
+</Name>
+</Person>
+<Relation>
+<Text>@@ACTORRELATION@@</Text>
+</Relation>
+<Source>
+<Actor>
+<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Actor>
+</ACTOR-NOK>
+<ACTOR-PROVIDER>
+<Actor>
+<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
+<Person>
+<Name>
+<CurrentName>
+<Given>@@ACTORGIVENNAME@@</Given>
+<Middle>@@ACTORMIDDLENAME@@</Middle>
+<Family>@@ACTORFAMILYNAME@@</Family>
+<Title>@@ACTORTITLE@@</Title>
+</CurrentName>
+</Name>
+</Person>
+<IDs>
+<Type>
+<Text>@@IDTYPE@@</Text>
+</Type>
+<ID>@@ID@@</ID>
+<IssuedBy>
+<Description>
+<Text>@@IDDESC@@</Text>
+</Description>
+</IssuedBy>
+</IDs>
+<Specialty>
+<Text>@@ACTORSPECIALITY@@</Text>
+</Specialty>
+<Address>
+<Type>
+<Text>@@ACTORADDRESSTYPE@@</Text>
+</Type>
+<Line1>@@ACTORADDRESSLINE1@@</Line1>
+<City>@@ACTORADDRESSCITY@@</City>
+<State>@@ACTORADDRESSSTATE@@</State>
+<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
+</Address>
+<Telephone>
+<Value>@@ACTORTELEPHONE@@</Value>
+<Type>
+<Text>@@ACTORTELEPHONETYPE@@</Text>
+</Type>
+</Telephone>
+<Email>
+<Value>@@ACTOREMAIL@@</Value>
+</Email>
+<Source>
+<Actor>
+<ActorID>@@ACTORSOURCEID@@</ActorID>
+</Actor>
+</Source>
+<InternalCCRLink>
+<LinkID>@@ACTORORGLINK@@</LinkID>
+<LinkRelationship>representedOrganization</LinkRelationship>
+</InternalCCRLink>
+</Actor>
+</ACTOR-PROVIDER>
+<ACTOR-ORG>
+<Actor>
+<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
+<Organization>
+<Name>@@ORGANIZATIONNAME@@</Name>
+</Organization>
+<Address>
+<Type>
+<Text>@@ACTORADDRESSTYPE@@</Text>
+</Type>
+<Line1>@@ACTORADDRESSLINE1@@</Line1>
+<City>@@ACTORADDRESSCITY@@</City>
+<State>@@ACTORADDRESSSTATE@@</State>
+<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
+</Address>
+<Telephone>
+<Value>@@ACTORTELEPHONE@@</Value>
+<Type>
+<Text>@@ACTORTELEPHONETYPE@@</Text>
+</Type>
+</Telephone>
+<Source>
+<Actor>
+<ActorID>@@ACTORSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Actor>
+</ACTOR-ORG>
+</Actors>
+<Signatures>
+<CCRSignature>
+<SignatureObjectID>S0001</SignatureObjectID>
+<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
+<Source>
+<ActorID>AA0001</ActorID>
+</Source>
+<Signature>
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+<Reference URI="">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
+<KeyInfo>
+<KeyValue>
+<RSAKeyValue>
+<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
+<Exponent>AQAB</Exponent>
+</RSAKeyValue>
+</KeyValue>
+</KeyInfo>
+</Signature>
+</Signature>
+</CCRSignature>
+</Signatures>
+<Comments>
+<Comment>
+<CommentObjectID>@@COMMENTOBJECTID@@</CommentObjectID>
+<DateTime>
+<ExactDateTime>@@CMTDATETIME@@</ExactDateTime>
+</DateTime>
+<Description>
+<Text>
+</Text>
+</Description>
+<Source>
+<Actor>
+<ActorID>@@ACTORSOURCEID@@</ActorID>
+</Actor>
+</Source>
+</Comment>
+</Comments>
+</ContinuityOfCareRecord>
Index: /ccr2ccd-xslt/trunk/make/ccr_qrda.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/make/ccr_qrda.xsl	(revision 980)
+++ /ccr2ccd-xslt/trunk/make/ccr_qrda.xsl	(revision 981)
@@ -67,6 +67,9 @@
 	<templateId root="2.16.840.1.113883.3.249.11.100.1"/>
 	<!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
-	<!-- WV? for this group of 10 documents we are submitting-->
-	<id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
+	<id>
+                <xsl:attribute name="root">
+                    <xsl:value-of select="/a:ContinuityOfCareRecord/a:CCRDocumentObjectID"></xsl:value-of>
+                </xsl:attribute>
+            </id>
 		 <!--WVP next two lines fixed-->
 	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
@@ -89,55 +92,9 @@
 	<!-- This is the patient for which the report is describing. -->
 	<recordTarget>
-		<patientRole>
-		  <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
-		  <!--Can't change during the reporting period-->
-			<id root="2.16.840.1.113883.4.1" extension="002386407"/>
-      <!--WVV address is not required-->
-			<addr>
-			  <streetAddressLine>1200 Sanders Lane</streetAddressLine>
-			  <city>Rockville</city>
-			  <state>MD</state>
-			  <postalCode>20850</postalCode>
-			</addr>
-			<patient>
-<!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
-				<name>
-				  <!-- WV Edit -->
-					<given>Jody</given>
-					<family>Jones</family>
-				</name >
-
-				<!--VV Gender code can be M, F  or UN for undifferentiated-->
-				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
-      <!--WVV  Birth Time at least to the day-->
-        <birthTime value="19450101"/>
-        <!--WVV Edit-->
-				<!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
-				<!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
-				<raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
-        <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
-				<!--WV 2186-5 is Not Hispanic or Latino -->
-				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
-      </patient>
-      <!--WV Added to sample document and required NPI as extension and root is permanent-->
-      <providerOrganization>
-      <id root="2.16.840.1.113883.4.6" extension="6558574524" />
-        <name>WorldVistA Test Clinic</name>
-        <!--WVV address of organization which must have NPI is optional-->
-        <addr>
-          <streetAddressLine>123 Maple Ave</streetAddressLine>
-          <city>Gaithersburg</city>
-          <state>MD</state>
-          <postalCode>20877</postalCode>
-        </addr>
-      <!--WVP required asOrganizationPartOf added to sample-->
-        <asOrganizationPartOf>
-          <wholeOrganization>
-            <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
-            <id root="2.16.840.1.113883.4.2" extension="002345678"/>
-          </wholeOrganization> 
-        </asOrganizationPartOf>
-      </providerOrganization>
-		</patientRole>
+<patientRole>
+                <xsl:call-template name="ccdPatientRole">
+                    <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Patient[1]/a:ActorID"/>
+                </xsl:call-template>
+                </patientRole>
 	</recordTarget>
 
Index: /ccr2ccd-xslt/trunk/make/qrda-header.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/make/qrda-header.xsl	(revision 980)
+++ /ccr2ccd-xslt/trunk/make/qrda-header.xsl	(revision 981)
@@ -67,6 +67,9 @@
 	<templateId root="2.16.840.1.113883.3.249.11.100.1"/>
 	<!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
-	<!-- WV? for this group of 10 documents we are submitting-->
-	<id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
+	<id>
+                <xsl:attribute name="root">
+                    <xsl:value-of select="/a:ContinuityOfCareRecord/a:CCRDocumentObjectID"></xsl:value-of>
+                </xsl:attribute>
+            </id>
 		 <!--WVP next two lines fixed-->
 	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
@@ -89,55 +92,9 @@
 	<!-- This is the patient for which the report is describing. -->
 	<recordTarget>
-		<patientRole>
-		  <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
-		  <!--Can't change during the reporting period-->
-			<id root="2.16.840.1.113883.4.1" extension="002386407"/>
-      <!--WVV address is not required-->
-			<addr>
-			  <streetAddressLine>1200 Sanders Lane</streetAddressLine>
-			  <city>Rockville</city>
-			  <state>MD</state>
-			  <postalCode>20850</postalCode>
-			</addr>
-			<patient>
-<!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
-				<name>
-				  <!-- WV Edit -->
-					<given>Jody</given>
-					<family>Jones</family>
-				</name >
-
-				<!--VV Gender code can be M, F  or UN for undifferentiated-->
-				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
-      <!--WVV  Birth Time at least to the day-->
-        <birthTime value="19450101"/>
-        <!--WVV Edit-->
-				<!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
-				<!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
-				<raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
-        <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
-				<!--WV 2186-5 is Not Hispanic or Latino -->
-				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
-      </patient>
-      <!--WV Added to sample document and required NPI as extension and root is permanent-->
-      <providerOrganization>
-      <id root="2.16.840.1.113883.4.6" extension="6558574524" />
-        <name>WorldVistA Test Clinic</name>
-        <!--WVV address of organization which must have NPI is optional-->
-        <addr>
-          <streetAddressLine>123 Maple Ave</streetAddressLine>
-          <city>Gaithersburg</city>
-          <state>MD</state>
-          <postalCode>20877</postalCode>
-        </addr>
-      <!--WVP required asOrganizationPartOf added to sample-->
-        <asOrganizationPartOf>
-          <wholeOrganization>
-            <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
-            <id root="2.16.840.1.113883.4.2" extension="002345678"/>
-          </wholeOrganization> 
-        </asOrganizationPartOf>
-      </providerOrganization>
-		</patientRole>
+<patientRole>
+                <xsl:call-template name="ccdPatientRole">
+                    <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Patient[1]/a:ActorID"/>
+                </xsl:call-template>
+                </patientRole>
 	</recordTarget>
 
Index: /ccr2ccd-xslt/trunk/make/qrda-measures.xsl
===================================================================
--- /ccr2ccd-xslt/trunk/make/qrda-measures.xsl	(revision 981)
+++ /ccr2ccd-xslt/trunk/make/qrda-measures.xsl	(revision 981)
@@ -0,0 +1,266 @@
+                ***************************************************
+                Measure Section
+                ***************************************************
+                -->
+           <component>
+            <section>
+              <!--template ID for each measure being reported-->
+              <templateId root="2.16.840.1.113883.3.249.11.2" />
+              <templateId root="2.16.840.1.113883.3.249.11.3" />
+              <templateId root="2.16.840.1.113883.3.249.11.4" />
+              <templateId root="2.16.840.1.113883.3.249.11.5" />
+              <templateId root="2.16.840.1.113883.3.249.11.6" />
+              <templateId root="2.16.840.1.113883.3.249.11.7" />
+              <templateId root="2.16.840.1.113883.3.249.11.8" />
+              <templateId root="2.16.840.1.113883.3.249.11.9" />
+              <templateId root="2.16.840.1.113883.3.249.11.10" />
+              <templateId root="2.16.840.1.113883.3.249.11.11" />
+              <templateId root="2.16.840.1.113883.3.249.11.15" />
+             <!--New for 2011--> 
+              <templateId root="2.16.840.1.113883.3.249.11.51" />
+              <templateId root="2.16.840.1.113883.3.249.11.52" />
+              <templateId root="2.16.840.1.113883.3.249.11.53" />
+              <templateId root="2.16.840.1.113883.3.249.11.54" />
+              <templateId root="2.16.840.1.113883.3.249.11.55" />
+              <templateId root="2.16.840.1.113883.3.249.11.56" />
+              <templateId root="2.16.840.1.113883.3.249.11.57" />
+              <templateId root="2.16.840.1.113883.3.249.11.58" />
+              <templateId root="2.16.840.1.113883.3.249.11.59" />
+              <templateId root="2.16.840.1.113883.3.249.11.60" />
+              <code code="55186-1" codeSystem="2.16.840.1.113883.6.1" />
+        
+              <title>Measure Section</title>
+              <!--Here is where the HTML begins for the above and it is optional-->
+              <text>
+                <list>
+                  <item>CMS Measure #1: Diabetes Mellitus: Hemoglobin A1c Poor Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #2: Diabetes Mellitus: Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #3: Diabetes Mellitus: High Blood Pressure Control in Diabetes Mellitus</item>
+                  <item>CMS Measure #5: Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)</item>
+                  <item>CMS Measure #7: Coronary Artery Disease (CAD): Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction (MI)</item>
+                  <item>CMS Measure #110: Preventive Care and Screening: Influenza Immunization for Patients >= 50 Years</item>
+                  <item>CMS Measure #111: Preventive Care and Screening: Pneumonia Vaccination for Patients 65 Years and Older</item>
+                  <item>CMS Measure #112: Preventive Care and Screening: Screening Mammography</item>
+                  <item>CMS Measure #113: Preventive Care and Screening: Colorectal Cancer Screening</item>
+                  <item>CMS Measure #124: Health Information Technology (HIT): Adoption/Use of Electronic Health Records (EHR)</item>
+                  <item>CMS Measure eRx:Adoption/Use of Medication Electronic Prescribing Measure</item>
+                  <!--added 2011 measures-->
+                  <item>CMS Measure #39: Screening or Therapy for Osteoporosis for Women Aged 65 Years and Older</item>
+                  <item>CMS Measure #47: Advance Care Plan </item>
+                  <item>CMS Measure #48: Urinary Incontinence: Assessment of Presence or Absence of Urinary Incontinence in Women Aged 65 Years and Older</item>
+                  <item>CMS Measure #128: Preventive Care and Screening: Body Mass Index (BMI) Screening and Follow-Up </item>
+                  <item>CMS Measure #173: Preventive Care and Screening: Unhealthy Alcohol Use - Screening</item>
+                  <item>CMS Measure #0013: Hypertension (HTN): Blood Pressure Measurement - QRDA Cat I template </item>
+                  <item>CMS Measure #0022: Drugs to be avoided in the Elderly </item>
+                  <item>CMS Measure #0024: Body Mass Index (BMI) 2 through 18 years of age </item>
+                  <item>CMS Measure #0028: Preventive Care and Screening: Tobacco Use: Screening and Cessation Intervention</item>
+                  <item>CMS Measure #0038: Childhood Immunization Status - QRDA Cat I template</item>
+                </list>
+              </text>
+              <!--Begin listing of acts-->
+             <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-1" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent hemoglobin A1C greater than 9.0%</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-2" codeSystem="2.16.840.1.113883.3.249.12" displayName="Low Density Lipoprotein (LDL-C) Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent LDL-C level in control (less than 100 mg./dL)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-3" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hemoglobin A1c Poor Control in Diabetes Mellitus"/>
+                  <text>Percentage of patients 18 through 75 years with diabetes mellitus who had most recent blood pressure in control (less than 140/80 mmHg)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-5" codeSystem="2.16.840.1.113883.3.249.12" displayName="Heart Failure: Angiotensin-Converting Enzyme (ACE) Inhibitor or Angiotensin Receptor Blocker (ARB) Therapy for Left Ventricular Systolic Dysfunction (LVSD)"/>
+                  <text>Percentage of patients 18 years and older with a diagnosis of heart frilure and LVSD who were prescribed ACE inhibitor or ARB therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-7" codeSystem="2.16.840.1.113883.3.249.12" displayName="Beta-Blocker Therapy for CAD Patients with Prior Myocardial Infarction"/>
+                  <text>Percentage of patients 18 aged 18 years and older wit a diagnosis of CAD and prior MI who were prescribed beta-blocker therapy</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-110" codeSystem="2.16.840.1.113883.3.249.12" displayName="Influenza Immunization for Patients >= 50 Years"/>
+                  <text>Percentage of patients aged 50 years and older who received an influenza immunization during the flu season (September through February)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-111" codeSystem="2.16.840.1.113883.3.249.12" displayName="Pneumonia Vaccination for Patients 65 Years and Older"/>
+                  <text>Percentage of patients afed 65 years and older who have ever received a pneumoccal vaccine</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-112" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening Mammography"/>
+                  <text>Percentage of womaen aged 40 through 69 years who had a mammogram to screen for breast cancer within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-113" codeSystem="2.16.840.1.113883.3.249.12" displayName="Colorectal Cancer Screening"/>
+                  <text>Percentage of patients aged 50 through 80 who received the appropriate colorectal cancer screening</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-124" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Electronic Health Records (EHR)"/>
+                  <text>Documents whether provider has adopted and is using health information technology. To qualify, the provider must havea adopted and be using a certified/qualified electronic health record (EHR)</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="eRx" codeSystem="2.16.840.1.113883.3.249.12" displayName="Adoption/Use of Medication Electronic Prescribing Measure"/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+                </entry>
+                
+ <!--******************************************
+               Begin 2011 measures
+ ********************************************-->
+                <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-39" codeSystem="2.16.840.1.113883.3.249.12" displayName="Screening or Therapy for Osteoporosis for Women Aged 65 Years and Older"/>
+                  <text>Percentage of patients who had a DXA measurement ordered or performed at least once since age 60 or pharmacologic therapy prescribed within 12 months before the end of the measurement period</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-47" codeSystem="2.16.840.1.113883.3.249.12" displayName="Advance Care Plan"/>
+                  <text>Percentage of patients age 65 and older who have an advanced care plan or surrogate decision maker documented in the medical record or documented in the medical record that an advance care plan was discussed but the patient did not wish or was not able to name a surrogate decision maker or provide an advance care plan.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-48" codeSystem="2.16.840.1.113883.3.249.12" displayName="Urinary Incontinence: Assessment of Presence or Absence of Urinary Incontinence in Women Aged 65 Years and Older"/>
+                  <text>Percentage of patients equal to or older than 65 years of age at the beginning of the measurement perion who were assesed for the presence or absence of urinary incontinence within 12 months.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-128" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive Care and Screening: Body Mass Index (BMI) Screening and Follow-Up"/>
+                  <text>Percentage of patients aged 18 yesrs and older with a calculate BMI in the past 6 months or during the current visit documented in the medical record and if the most recent BMI is ourtide parameters, a follow-up plan is documented. Ages 65 and older BMI equal to or greater than 30 or less than 22 and ages 18-64, BMI greater than or equal to 25 or less than 18.5</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-173" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive Care and Screening: Unhealthy Alcohol Use - Screening"/>
+                  <text>Percentage of patients aged 18 years and older who were screened for unhealthy alcohol use using a systematic method within 24 months</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-13" codeSystem="2.16.840.1.113883.3.249.12" displayName="Hypertension (HTN): Blood Pressure Measurement"/>
+                  <text>Percentage of patients aged 18 years and older with a diagnosis of hypertension in the beginning of the measurement period with a blood pressure recoreded.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-22" codeSystem="2.16.840.1.113883.3.249.12" displayName="Drugs to be avoided in the elderly"/>
+                  <text>Percentage of patients aged 65 years and older who received at least one drug to be acoided in the elderly and/or two different drugs to be avoided in the elderly in the measurement period</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                
+                  <code code="PQRI-24" codeSystem="2.16.840.1.113883.3.249.12" displayName="BMI age 2-18 years of age"/>
+                  <text>Percentage of children 2-18 years of age at the beginning of the measurement period whose weight is classified based on BMI percentile for age and gender.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                 
+                  <code code="PQRI-28" codeSystem="2.16.840.1.113883.3.249.12" displayName="Preventive care and Screening: Tobacco Use: Screening and Cessation Intervention"/>
+                  <text>Percentage of patients aged 18 years of older who were screened about tobacco use at least once during the two year measurement preoid AND who received cessation counseling if identified as a tobacco user.</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="PQRI-38" codeSystem="2.16.840.1.113883.3.249.12" displayName="Childhood immumnization status"/>
+                  <text>Percentage of children who turn two years of age during the measurement period who have had four DTaP/DT, three IPV, one MMR and three H influenza type B, three hepatitis B, one chicken pox vaccine (VZV) and four pneumococcal conjugate vaccines by their second birthday</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+              <entry typeCode="DRIV">
+                <act classCode="ACT" moodCode="DEF">
+                  
+                  <code code="" codeSystem="2.16.840.1.113883.3.249.12" displayName=""/>
+                  <text>Documents whether provider has adopted and is using ePrescribing</text>
+                  <statusCode code="completed"/>
+                </act>
+              </entry>
+                  <!--
+                  *******************************
+                  Reporting Parameters Section
+                  *****************************
+                   -->
+              <component>
+                  <section>
+                      <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
+                      <title>Reporting Parameters</title>
+                      <text>
+                        <list>
+                          <item>Reporting Period Jan 1, 2010 to Dec 31, 2010</item>
+                        </list>
+                      </text>
+                      <entry>
+                        <act classCode="ACT" moodCode="EVN">
+                        <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
+                        <effectiveTime>
+                          <low value="20100101"/>
+                          <high value="20101231"/>
+                        </effectiveTime>
+                      </act>
+                    </entry>
+                  </section>
+                </component>
+                  <!-- 
Index: /ccr2ccd-xslt/trunk/make/qrda2.sh
===================================================================
--- /ccr2ccd-xslt/trunk/make/qrda2.sh	(revision 981)
+++ /ccr2ccd-xslt/trunk/make/qrda2.sh	(revision 981)
@@ -0,0 +1,4 @@
+xalan -in PAT_100855_CCR_V1_0_0.xml -xsl ccr_qrda.xsl -out PAT_100855_QRDA_V1_0_0.xml
+xalan -in PAT_100849_CCR_V1_0_0.xml -xsl ccr_qrda.xsl -out PAT_100849_QRDA_V1_0_0.xml
+xalan -in PAT_100848_CCR_V1_0_0.xml -xsl ccr_qrda.xsl -out PAT_100848_QRDA_V1_0_0.xml
+xalan -in PAT_100146_CCR_V1_0_0.xml -xsl ccr_qrda.xsl -out PAT_100146_QRDA_V1_0_0.xml
Index: /ccr2ccd-xslt/trunk/make/qrda2.sh~
===================================================================
--- /ccr2ccd-xslt/trunk/make/qrda2.sh~	(revision 981)
+++ /ccr2ccd-xslt/trunk/make/qrda2.sh~	(revision 981)
@@ -0,0 +1,1 @@
+xalan -in ccr-template.xml -xsl ccr_qrda.xsl -out qrdaout2.xml
