Index: qrda/schematron/QRDA_CategoryI_2011-Test.xml
===================================================================
--- qrda/schematron/QRDA_CategoryI_2011-Test.xml	(revision 914)
+++ qrda/schematron/QRDA_CategoryI_2011-Test.xml	(revision 921)
@@ -73,5 +73,5 @@
 					<given>Nancy</given>
 					<family>Nightingale</family>
-					<suffix>N</suffix>
+					<suffix>MD</suffix>
 				</name>
 			</assignedPerson>
@@ -112,5 +112,5 @@
 					<given>Nancy</given>
 					<family>Nightingale</family>
-					<suffix>N</suffix>
+					<suffix>MD</suffix>
 				</name>
 			</assignedPerson>
@@ -122,4 +122,46 @@
 	</legalAuthenticator>
 	<!--The whole paricipatant and docuemantationOf goes here before the Header is complete -->
+	<participant typeCode="PRF">
+		<functionCode code="PCP" codeSystem="2.16.840.1.113883.5.88"/>
+	  <!--WVP Associated Entity is required to be there with this PROV-->
+		<associatedEntity classCode="PROV">
+			  <id root="bc01a5d1-3a34-4286-82cc-43eb04c972a7"/>
+			  <associatedPerson>
+				  <name>
+					  <given>Nancy</given>
+					  <family>Nightengale</family>
+					   <suffix>MD</suffix>
+				   </name>
+			  </associatedPerson>
+		  </associatedEntity>
+	</participant>
+	<documentationOf>
+		<serviceEvent>
+			<code codeSystem="2.16.840.1.113883.6.12" code="99202"/>
+			<effectiveTime>
+				 <low value="20100210"/>
+				 <high value="20100210"/>
+			</effectiveTime>
+			<performer typeCode="PRF">
+				<assignedEntity>
+					<id root="2.16.840.1.113883.4.6" extension="1558574525"/>
+					<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>Nightengald</family>
+							<suffix>MD</suffix>
+						</name>
+					</assignedPerson>
+				</assignedEntity>
+			</performer>
+		 </serviceEvent>
+	</documentationOf>
 	<!-- 
 ********************************************************
@@ -134,4 +176,5 @@
 ********************************************************
 -->
+
 			<component>
 				<section>
Index: qrda/schematron/QRDA_CategoryI_WorldVistAH-2011-Working.xml
===================================================================
--- qrda/schematron/QRDA_CategoryI_WorldVistAH-2011-Working.xml	(revision 921)
+++ qrda/schematron/QRDA_CategoryI_WorldVistAH-2011-Working.xml	(revision 921)
@@ -0,0 +1,1712 @@
+﻿<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="cda.xsl"?>
+<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">
+
+<!--
+********************************************************
+CDA Header
+********************************************************
+-->
+
+<!--
+******************
+Document Information
+**********************
+-->
+	<realmCode code="US" />
+	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040" />
+	<!--QRDA Category I generic template ID. -->
+	<templateId root="2.16.840.1.113883.10.20.12" />
+	
+	<id root="88414c01-715a-45bb-83bb-db7ac860fe9d" />
+	<!-- PQRI QRDA Template ID -->
+	<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.122207000.1"/>
+		<!-- QRDA document type code (yet to be created). -->
+	<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report" />
+	<title>QRDA Incidence Report</title>
+	<effectiveTime value="20100701" />
+	<confidentialityCode codeSystem="2.16.840.1.113883.5.25" code="N" />
+	<!-- setId is not fixed by PQRI - probably from an OID with the extension unique-->
+	<setId root="2.16.840.1.113883.3.543" extension="01.01.01.122700971"/>
+	<!-- versionNumber is not fixed by PQRI except must be an integer - probably sequential integer as this document is changed -->
+	<versionNumber value="1"/>
+	<languageCode code="en-US" />
+	<!-- This is the patient for which the report is describing. -->
+ <!--
+ *******************
+ Patient Information
+ ****************
+ -->
+	<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="0023167537"/>
+
+			<patient>
+				<name>
+				  <!-- WV Edit -->
+					<given>Landy</given>
+					<family>Ford</family>
+				</name >
+			      <!--WV address is not require and is not in the specifications at all -->
+				<addr>
+				  <streetAddressLine>45 Easter Ave.</streetAddressLine>
+				  <city>Rockville</city>
+				  <state>MD</state>
+				  <postalCode>20850</postalCode>
+				</addr>
+				<!--WV 2186-5 is Not Hispanic or Latino -->				
+				<ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
+				<!--VV Gender code can be M, F  or UN for undifferentiated-->
+				<administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
+      				<!--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="2054-5" codeSystem="2.16.840.1.113883.5.104"/>
+				<!--WVV  Birth Time at least to the day-->
+				<birthTime value="19430518"/>
+			</patient>
+      <!--WV Added to sample document and required NPI as extension and root is permanent Infomation about the NPI in the submission specs is wrong-->
+       <providerOrganization>
+       <!--This is the providers NPI number that can be validated with a checksum check algorithm-->
+       <!-- the 2.16.840.1.113883.4.6 is fixed and the extension the NPI number-->
+       <id root="2.16.840.1.113883.4.6" extension="1558574525" />
+       <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 is 2.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="20100701" />
+		<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="100001" />
+				<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="20100701" />
+		<!--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="20100210"/>
+        <high value="20100210"/>
+      </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.4.6" 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="20100701"/>
+        <high value="20100701"/>
+      </effectiveTime>
+      <performer typeCode="PRF">
+        <assignedEntity>
+        <!--WVP  2.16.840.1.113883.4.6 for assigned entity with NPI extension-->
+        <id root="2.16.840.1.113883.4.6" 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.50" />
+        <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" />
+             <!--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>
+                  <!-- 
+                  ********************************************************
+                  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>2001</td>
+                            <td>Active/Chronic</td>
+                          </tr>
+                          <tr>
+                            <td>Congestive Heart Failure</td>
+                            <td>2003</td>
+                            <td>Active/Chronic</td>
+                          </tr>
+                          <tr>
+                            <td>Myocardial Infactioon</td>
+                            <td>2003</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="82826640-8669-11df-a4ee-0800200c9c66"/>
+                        <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="82826641-8669-11df-a4ee-0800200c9c66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="20010101"/>
+                            </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-0800200c9c66"/>
+                        <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="82826643-8669-11df-a4ee-0800200c9c66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="20030101"/>
+                            </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="82826640-8669-11df-a4ee-0800200c9c66"/>
+                        <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="82826641-8669-11df-a4ee-0800200c9c66"/>
+                            <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
+                            <statusCode code="completed"/>
+                            <effectiveTime>
+                              <low value="20030101"/>
+                            </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 5.0 mg-500 mg oral tablet</td>
+                  <td>7-1-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TABLET</td>
+                  <td>5.0/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 50MG TAB</td>
+                  <td>7-1-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TAB</td>
+                  <td>50 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 10MG TAB</td>
+                  <td>7-1-2010</td>
+                  <td>ACTIVE</td>
+                  <td>TAB</td>
+                  <td>10 MG</td>
+                  <td>90 TAB</td>
+                  <td>ONE TAB 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="100020"/>
+                    <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>
+                        <!--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 50MG 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="10" unit="MG"/>
+                  <high value="10" 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-1-2010</td>
+<td>LDL CHOLESTEROL 95 MG/DL</td>
+<td>0-130</td>
+
+</tr>
+<tr>
+<td>HEMOGLOBIN A1C </td>
+<td>7-1-2010</td>
+<td>A1C 9.3 percent H</td>
+<td>3.5-6.0</td>
+</tr>
+<tr>
+<td>EJECTION FRACTION</td>
+<td>20100207</td>
+<td>38%</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-0800200c9c66"/>
+<code code="27571006" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" displayName="chemistry"/>
+<statusCode code="completed"/>
+<effectiveTime value="201007011300"/>
+
+<!--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-0800200c9c66"/>
+<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"/>-->
+<statusCode code="completed"/>
+<effectiveTime value="201007011300"/>
+<value xsi:type="PQ" value="95" 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-0800200c9c66"/>
+<code code="272275004" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" displayName="hematology"/>
+<statusCode code="completed"/>
+<effectiveTime value="201007011300"/>
+
+<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-0800200c9c66"/>
+<code displayName="HEMOGLOBIN A1C By UNKNOWN METHOD" code="4548-4" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
+<statusCode code="completed"/>
+<effectiveTime value="201007011300"/>
+<value xsi:type="PQ" value="9.3" 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-0800200c9c66"/>
+<code code="363679005" codeSystemName="SNOMED CT" displayName="IMAGING"/>
+<statusCode code="completed"/>
+<effectiveTime value="201002071300"/>
+<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-0800200c9c66"/>
+<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>
+<statusCode code="completed"/>
+<effectiveTime value="201002071300"/>
+<value xsi:type="PQ" value="38" 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-07-2010</td>
+<td>Nancy Anthracite, MD</td>
+<td>Grover, Christie &amp; Merritt</td>
+</tr>
+<tr>
+<td>Colonoscopy</td>
+<td>3-17-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-0800200c9c66"/>
+<code code="24623002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="SCREENING MAMMOGRAPHY"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100207"/>
+<participant typeCode="DEV">
+<participantRole classCode="MANU">
+<templateId root="2.16.840.1.113883.10.20.1.52"/>
+<id root="7eedbc62-8a15-11df-a4ee-0800200c9c66"/>
+</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>Nov 2 2009</td>
+                          <td>Completed</td>
+                          </tr>
+                          <tr>
+                          <td>Pneumococcal vaccine</td>
+                          <td>Feb 7,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.100025"/>
+                        
+                        <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.100026"/>
+                        
+                        <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-10-2010</td>
+<td>Systolic Blood Pressure</td>
+<td>115</td>
+<td>WorldVistA Test Clinic</td>
+
+</tr>
+<tr>
+<td>2-10-2010</td>
+<td>Diastolic Blood Pressure</td>
+<td>78</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>2-10-2010</td>
+<td>Heart Rate</td>
+<td>64</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>7-1-2010</td>
+<td>Systolic Blood Pressure</td>
+<td>117</td>
+<td>WorldVistA Test Clinic</td>
+
+</tr>
+<tr>
+<td>7-1-2010</td>
+<td>Diastolic Blood Pressure</td>
+<td>79</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+<tr>
+<td>7-1-2010</td>
+<td>Heart Rate</td>
+<td>67</td>
+<td>WorldVistA Test Clinic</td>
+</tr>
+</tbody>
+</table>
+</text>
+
+
+<!--Vital Signs from 2-10-2010 under an organizer follow.  Only these 3 vital 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-0800200c9c66"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100210"/>
+<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-0800200c9c66"/>
+<code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100210"/>
+<value xsi:type="PQ" value="115" 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-0800200c9c66"/>
+<code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100210"/>
+<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-0800200c9c66"/>
+<code displayName="HEART RATE" code="364075005" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100210"/>
+<value xsi:type="PQ" value="64" unit="/min"/>
+</observation>
+</component>
+</organizer>
+</entry>
+
+<!--Vital Signs from 7-1-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-0800200c9c66"/>
+<code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNOMED CT"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100701"/>
+<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-0800200c9c66"/>
+<code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100701"/>
+<value xsi:type="PQ" value="117" 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-0800200c9c66"/>
+<code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100701"/>
+<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="7eede373-8a15-11df-a4ee-0800200c9c66"/>
+<code displayName="HEART RATE" code="364075005" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
+<statusCode code="completed"/>
+<effectiveTime value="20100701"/>
+<value xsi:type="PQ" value="67" 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-10-2010</td>
+</tr>
+<tr>
+<td>WorldVistA EHR</td>
+<td>EHR</td>
+<td>Qualified System</td>
+<td>7-1-2010</td>
+</tr>
+<tr>
+<td>Allscripts</td>
+<td>eRx</td>
+<td>Qualified</td>
+<td>7-1-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="20100210"/>
+</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="20100701"/>
+</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="20100701"/>
+</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>
+</tbody>
+</table>
+</text>
+<!--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="d5dc6d50-890c-11df-a4ee-0800200c9c66"/>
+<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-0800200c9c66"/>
+<!--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>
+<!--Not another GUID??-->
+<id root="2.16.840.1.113883.12.86" extension="PI"/>
+<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-->
+<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-0800200c9c66"/>
+<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-0800200c9c66"/>
+<!--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-0800200c9c66"/>
+<!-- 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="002030399"/>
+<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-0800200c9c66"/>
+<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: qrda/schematron/templates/2.16.840.1.113883.10.20.12.ent
===================================================================
--- qrda/schematron/templates/2.16.840.1.113883.10.20.12.ent	(revision 914)
+++ qrda/schematron/templates/2.16.840.1.113883.10.20.12.ent	(revision 921)
@@ -1,25 +1,25 @@
+<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by David Mishler (Medrad) -->
 <!--  HL7 QRDA Category I Header (Section 2) -->
-<!-- This document provides errors and edits pertinent to the header section of the QRDA files. It is assumed that the QRDA files are VALID CDA release 2 files.--> 
+<!-- This document provides errors and edits pertinent to the header section of the QRDA files. It is assumed that the QRDA files are VALID CDA release 2 files.-->
 <!-- errors -->
-    <pattern id="p-2.16.840.1.113883.10.20.12-errors">
-    <title>HL7 QRDA Category I Header (Section 2) - errors validation phase</title>
-  <rule context='/'>
-    <assert test='.//cda:realmCode[@code = "US"]'>
+<pattern id="p-2.16.840.1.113883.10.20.12-errors">
+	<title>HL7 QRDA Category I Header (Section 2) - errors validation phase</title>
+	<rule context="/">
+		<assert test='.//cda:realmCode[@code = "US"]'>
        Error: CONF-QRDA1-I: The realmCode element SHALL be present where the value of @code is US.
     </assert>
-    <assert test='.//cda:typeId[@root = "2.16.840.1.113883.1.3" and @extension = "POCD_HD000040"]'>
+		<assert test='.//cda:typeId[@root = "2.16.840.1.113883.1.3" and @extension = "POCD_HD000040"]'>
        Error: CONF-QRDA1-2: The value of typeId/@root SHALL be 2.16.840.1.113883.1.3 and value of 
        typeId/@extension SHALL be POCD_HD000040.
     </assert>
-    <assert test='not(cda:ClinicalDocument/cda:templateId) = 0'>
+		<assert test="not(cda:ClinicalDocument/cda:templateId) = 0">
       Error: CONF-QRDA1-3 The CMS EHR QRDA Report SHALL contain at least one ClincalDocument/templateId element
     </assert>
-    <assert test='.//cda:templateId/@root="2.16.840.1.113883.10.20.12" and .//cda:templateId/@root="2.16.840.1.113883.3.249.11.100.1"'>
+		<assert test='.//cda:templateId/@root="2.16.840.1.113883.10.20.12" and .//cda:templateId/@root="2.16.840.1.113883.3.249.11.100.1"'>
        Error: CONF-QRDA-I-4: The value of one ClinicalDocument/templateId/@root SHALL be
        2.16.840.1.113883.10.20.12 and PQRI QRDA category I templateId 'root' value SHALL be 2.16.840.1.113883.3.249.11.100.1.
     </assert>
-    </rule>
-
-<!--    <assert test='.//cda:templateId/@root="2.16.840.1.113883.10.20.12"'>
+	</rule>
+	<!--    <assert test='.//cda:templateId/@root="2.16.840.1.113883.10.20.12"'>
        Error: CONF-QRDA-I-5: The value of one ClinicalDocument/templateId/@root SHALL be
        2.16.840.1.113883.10.20.12 representing conformance to the generic
@@ -27,12 +27,11 @@
     </assert>
     </rule> -->
-    
-    <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
-    <assert test='count(cda:code) = 1 and cda:code[@code="55182-0" and @codeSystem="2.16.840.1.113883.6.1"]'>
+	<rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
+		<assert test='count(cda:code) = 1 and cda:code[@code="55182-0" and @codeSystem="2.16.840.1.113883.6.1"]'>
        Error: CONF-QRDA1-7: A QRDA Category I report SHALL contain exactly one
        ClinicalDocument/code with a value of 55182-0 2.16.840.1.113883.6.1
        LOINC STATIC.
     </assert>
-    <assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'qrda incidence report') or
+		<assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'qrda incidence report') or
                   contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'quality measure report')">
        Error: CONF-QRDA1-8: A QRDA Category I report SHALL contain exactly one
@@ -41,206 +40,199 @@
        Report".
     </assert>
-    <assert test='string-length(cda:effectiveTime/@value) &gt;= 8'>
+		<assert test="string-length(cda:effectiveTime/@value) &gt;= 8">
        Error: CONF-QRDA1-10 The effectiveTime value attribute value SHALL be at least precise to the day YYYYMMDD.
     </assert>
-    <assert test='cda:confidentialityCode[@code="N" and @codeSystem="2.16.840.1.113883.5.25"]'>
+		<assert test='cda:confidentialityCode[@code="N" and @codeSystem="2.16.840.1.113883.5.25"]'>
       Error: CONF-QRDA1-12: The confidentialityCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.25. The confidentialityCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.25
     </assert>
-    <assert test='not(cda:setId) = 0'>
+		<assert test="not(cda:setId) = 0">
       Error: CONF-QRDA1-13: setId element is missing. The 'setId' element SHALL be present.
     </assert>
-    <assert test='not(cda:versionNumber) = 0'>
+		<assert test="not(cda:versionNumber) = 0">
       Error: CONF-QRDA1-16  versionNumber element is missing. The 'versionNumber' element SHALL be present. 
     </assert>
-    
-    <assert test='cda:versionNumber/@value castable as xs:integer' >
+		<assert test="cda:versionNumber/@value castable as xs:integer">
       Error: CONF-QRDA1-17: versionNumber/@value SHALL be an integer
      </assert>
-    <!--  This did not work with type xsi or type xsd
+		<!--  This did not work with type xsi or type xsd
     <assert test='cda:versionNumber/value/@xsi:type = "int"' >
       Error: CONF-QRDA1-17: versionNumber/@value SHALL be an integer
      </assert> -->
-    <!-- 2010 entry below -->
-
-    <assert test='count(cda:recordTarget/cda:patientRole) = 1'>
+		<!-- 2010 entry below -->
+		<assert test="count(cda:recordTarget/cda:patientRole) = 1">
        Error: CONF-QRDA1-18: A QRDA Category I report SHALL contain exactly one
        ClinicalDocument/recordTarget/PatientRole.
     </assert>
-    
-    <assert test='cda:recordTarget/cda:patientRole/cda:id[@root = "2.16.840.1.113883.4.1" or @root = "2.16.840.1.113883.4.2" or @root = "2.16.840.1.113883.4.3.40" or @root = "2.16.840.1.113883.4.3.49" or @root = "2.16.840.1.113883.4.3.38" or @root = "2.16.840.1.113883.4.3.37" or @root = "2.16.840.1.113883.4.3.36" or @root = "2.16.840.1.113883.4.3.35" or @root = "2.16.840.1.113883.4.3.34" or @root = "2.16.840.1.113883.4.3.48" or @root = "2.16.840.1.113883.4.3.32" or @root = "2.16.840.1.113883.4.3.39" or @root = "2.16.840.1.113883.4.3.15" or @root = "2.16.840.1.113883.4.3.51" or @root = "2.16.840.1.113883.4.3.53" or @root = "2.16.840.1.113883.4.3.54" or @root = "2.16.840.1.113883.4.3.55" or @root = "2.16.840.1.113883.4.3.56" or @root = "2.16.840.1.113883.4.3.42" or @root = "2.16.840.1.113883.4.3.47" or @root = "2.16.840.1.113883.4.3.41" or @root = "2.16.840.1.113883.4.3.46" or @root = "2.16.840.1.113883.4.3.45" or @root = "2.16.840.1.113883.4.3.31" or @root = "2.16.840.1.113883.4.3.50" or @root = "2.16.840.1.113883.4.3.30" or @root = "2.16.840.1.113883.4.3.44" or @root = "2.16.840.1.113883.4.3.16" or @root = "2.16.840.1.113883.4.3.5" or @root = "2.16.840.1.113883.4.3.9" or @root = "2.16.840.1.113883.4.3.8" or @root = "2.16.840.1.113883.4.3.6" or @root = "2.16.840.1.113883.4.3.33" or @root = "2.16.840.1.113883.4.3.11" or @root = "2.16.840.1.113883.4.3.10" or @root = "2.16.840.1.113883.4.3.12" or @root = "2.16.840.1.113883.4.3.4" or @root = "2.16.840.1.113883.4.3.2" or @root = "2.16.840.1.113883.4.3.1" or @root = "2.16.840.1.113883.4.3" or @root = "2.16.840.1.113883.4.3.17" or @root = "2.16.840.1.113883.4.3.26" or @root = "2.16.840.1.113883.4.3.29" or @root = "2.16.840.1.113883.4.3.18" or @root = "2.16.840.1.113883.4.3.28" or @root = "2.16.840.1.113883.4.3.25" or @root = "2.16.840.1.113883.4.3.24" or @root = "2.16.840.1.113883.4.3.23" or @root = "2.16.840.1.113883.4.3.13" or @root = "2.16.840.1.113883.4.3.22" or @root = "2.16.840.1.113883.4.3.21" or @root = "2.16.840.1.113883.4.3.20" or @root = "2.16.840.1.113883.4.3.19" or @root = "2.16.840.1.113883.4.3.27" or @root = "2.16.840.1.113883.4.4" or @root = "2.16.840.1.113883.4.5" and @extension = "*"]'>
+		<assert test='cda:recordTarget/cda:patientRole/cda:id[@root = "2.16.840.1.113883.4.1" or @root = "2.16.840.1.113883.4.2" or @root = "2.16.840.1.113883.4.3.40" or @root = "2.16.840.1.113883.4.3.49" or @root = "2.16.840.1.113883.4.3.38" or @root = "2.16.840.1.113883.4.3.37" or @root = "2.16.840.1.113883.4.3.36" or @root = "2.16.840.1.113883.4.3.35" or @root = "2.16.840.1.113883.4.3.34" or @root = "2.16.840.1.113883.4.3.48" or @root = "2.16.840.1.113883.4.3.32" or @root = "2.16.840.1.113883.4.3.39" or @root = "2.16.840.1.113883.4.3.15" or @root = "2.16.840.1.113883.4.3.51" or @root = "2.16.840.1.113883.4.3.53" or @root = "2.16.840.1.113883.4.3.54" or @root = "2.16.840.1.113883.4.3.55" or @root = "2.16.840.1.113883.4.3.56" or @root = "2.16.840.1.113883.4.3.42" or @root = "2.16.840.1.113883.4.3.47" or @root = "2.16.840.1.113883.4.3.41" or @root = "2.16.840.1.113883.4.3.46" or @root = "2.16.840.1.113883.4.3.45" or @root = "2.16.840.1.113883.4.3.31" or @root = "2.16.840.1.113883.4.3.50" or @root = "2.16.840.1.113883.4.3.30" or @root = "2.16.840.1.113883.4.3.44" or @root = "2.16.840.1.113883.4.3.16" or @root = "2.16.840.1.113883.4.3.5" or @root = "2.16.840.1.113883.4.3.9" or @root = "2.16.840.1.113883.4.3.8" or @root = "2.16.840.1.113883.4.3.6" or @root = "2.16.840.1.113883.4.3.33" or @root = "2.16.840.1.113883.4.3.11" or @root = "2.16.840.1.113883.4.3.10" or @root = "2.16.840.1.113883.4.3.12" or @root = "2.16.840.1.113883.4.3.4" or @root = "2.16.840.1.113883.4.3.2" or @root = "2.16.840.1.113883.4.3.1" or @root = "2.16.840.1.113883.4.3" or @root = "2.16.840.1.113883.4.3.17" or @root = "2.16.840.1.113883.4.3.26" or @root = "2.16.840.1.113883.4.3.29" or @root = "2.16.840.1.113883.4.3.18" or @root = "2.16.840.1.113883.4.3.28" or @root = "2.16.840.1.113883.4.3.25" or @root = "2.16.840.1.113883.4.3.24" or @root = "2.16.840.1.113883.4.3.23" or @root = "2.16.840.1.113883.4.3.13" or @root = "2.16.840.1.113883.4.3.22" or @root = "2.16.840.1.113883.4.3.21" or @root = "2.16.840.1.113883.4.3.20" or @root = "2.16.840.1.113883.4.3.19" or @root = "2.16.840.1.113883.4.3.27" or @root = "2.16.840.1.113883.4.4" or @root = "2.16.840.1.113883.4.5" and @extension = "*"]'>
     Error:  CONF-QRDA1-19 @root contains OID for the coding system used to identify the patient.  The value of @extension is the unique patient identifier the EHR sysetm uses fo record activity on a patient.  Commonly used OIDs for entries to identify patient sucha as SSN, TIN, DLN, etc. are available at Appendix_L-OIDs tab of the Downloadable Resources table.
     </assert>
-    <!--<assert test='count(cda:recordTarget/cda:patientRole/cda:patient) = 1'>
+		<!--<assert test='count(cda:recordTarget/cda:patientRole/cda:patient) = 1'>
        Error:  CONF-QRDA1-22  patientRole 'patient' element is missing. The 'patient' element SHALL be submitted exactly once.
     </assert> -->
-    <!--<assert test='cda:recordTarget/cda:patientRole/cda:patient/id' >
+		<!--<assert test='cda:recordTarget/cda:patientRole/cda:patient/id' >
       Error:  CONF-QRDA1-19 @root contains OID for the coding system used to identify the patient.  The value of @extension is the unique patient identifier the EHR sysetm uses fo record activity on a patient.  Commoly used OIDs for entries to identify patient sucha as SSN, TIN, DLN, etc. are avaialbe at Appendix_L-OIDs tab of the Downloadable Resources table.
       </assert> -->
-    <assert test='count(cda:recordTarget/cda:patientRole/cda:patient/cda:name) &gt;= 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:patient/cda:name) &gt;= 1">
        Error:  CONF-QRDA1-23 patient's legal 'name' element is expected at least once. The patient's legal 'name' element SHALL be submitted at least exactly once.
     </assert>
-    <assert test='count(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:given) &gt;= 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:given) &gt;= 1">
        Error:  CONF-QRDA1-24 patient's legal name 'given' (first name) element is expected at least once. The patient's legal 'given' (first name) element SHALL be submitted at least exactly once.
     </assert>
-    <!-- This restriction for length is not in the specification, only in the error table.-->
-    <assert test='string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:given/@value) &lt;= 30'>
+		<!-- This restriction for length is not in the specification, only in the error table.-->
+		<assert test="string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:given/@value) &lt;= 30">
        Error:  CONF-QRDA1-24 patient's legal name 'given' (first name) element value length SHALL not be more than 30 characters. patient's legal name 'given' (first name) element value length SHALL not be more than 30 characters.
     </assert>
-    <!-- This restriction for length is not in the specification, only in the error table.-->
-    <assert test='count(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family) &gt;= 1'>
+		<!-- This restriction for length is not in the specification, only in the error table.-->
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family) &gt;= 1">
        Error:  CONF-QRDA1-25 patient's legal name 'family' (last name) element is expected at least once. The patient's legal 'family' (last name) element SHALL be submitted at least exactly once.
     </assert>
-    
-    <assert test='string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family/@value) &lt;= 30'>
+		<assert test="string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family/@value) &lt;= 30">
        Error:  CONF-QRDA1-25 patient's legal name 'family' (last name) element value length SHALL not be more than 30 characters. patient's legal name 'family' (last name) element value length SHALL not be more than 30 characters.
     </assert>
-    <assert test='cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode[@codeSystem="2.16.840.1.113883.5.50"]'>
+		<assert test='cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode[@codeSystem="2.16.840.1.113883.5.50"]'>
     Error:  CONF-QRDA1-26 The patient's ethnic group code 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.50'.
     </assert>
-    <assert test='cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode[@code = "2135-2" or @code = "2137-8" or @code = "2138-6" or @code = "2139-4" or @code = "2140-2" or @code = "2141-0" or @code = "2142-8" or @code = "2143-6" or @code = "2144-4" or @code = "2145-1" or @code = "2146-9" or @code = "2148-5" or @code = "2149-3" or @code = "2150-1" or @code = "2151-9" or @code = "2152-7" or @code = "2153-5" or @code = "2155-0" or @code = "2156-8" or @code = "2157-6" or @code = "2158-4" or @code = "2159-2" or @code = "2160-0" or @code = "2161-8" or @code = "2162-6" or @code = "2163-4" or @code = "2165-9" or @code = "2166-7" or @code = "2167-5" or @code = "2168-3" or @code = "2169-1" or @code = "2170-9" or @code = "2171-7" or @code = "2172-5" or @code = "2173-3" or @code = "2174-1" or @code = "2175-8" or @code = "2176-6" or @code = "2178-2" or @code = "2180-8" or @code = "2182-4" or @code = "2184-0" or @code = "2186-5"]'>
+		<assert test='cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode[@code = "2135-2" or @code = "2137-8" or @code = "2138-6" or @code = "2139-4" or @code = "2140-2" or @code = "2141-0" or @code = "2142-8" or @code = "2143-6" or @code = "2144-4" or @code = "2145-1" or @code = "2146-9" or @code = "2148-5" or @code = "2149-3" or @code = "2150-1" or @code = "2151-9" or @code = "2152-7" or @code = "2153-5" or @code = "2155-0" or @code = "2156-8" or @code = "2157-6" or @code = "2158-4" or @code = "2159-2" or @code = "2160-0" or @code = "2161-8" or @code = "2162-6" or @code = "2163-4" or @code = "2165-9" or @code = "2166-7" or @code = "2167-5" or @code = "2168-3" or @code = "2169-1" or @code = "2170-9" or @code = "2171-7" or @code = "2172-5" or @code = "2173-3" or @code = "2174-1" or @code = "2175-8" or @code = "2176-6" or @code = "2178-2" or @code = "2180-8" or @code = "2182-4" or @code = "2184-0" or @code = "2186-5"]'>
     Error:  CONF-QRDA1-26  The patient's ethnic group 'code' value SHALL be valid according to Appendix_M-Ethnicity in the posted Downloadable Resource table.
     </assert>
-    <!-- above two asserts combined into one.  It is separate in the error sheets 
+		<!-- above two asserts combined into one.  It is separate in the error sheets 
     <assert test='cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode[@codeSystem="2.16.840.1.113883.5.50" and @code = "2135-2" or @code = "2137-8" or @code = "2138-6" or @code = "2139-4" or @code = "2140-2" or @code = "2141-0" or @code = "2142-8" or @code = "2143-6" or @code = "2144-4" or @code = "2145-1" or @code = "2146-9" or @code = "2148-5" or @code = "2149-3" or @code = "2150-1" or @code = "2151-9" or @code = "2152-7" or @code = "2153-5" or @code = "2155-0" or @code = "2156-8" or @code = "2157-6" or @code = "2158-4" or @code = "2159-2" or @code = "2160-0" or @code = "2161-8" or @code = "2162-6" or @code = "2163-4" or @code = "2165-9" or @code = "2166-7" or @code = "2167-5" or @code = "2168-3" or @code = "2169-1" or @code = "2170-9" or @code = "2171-7" or @code = "2172-5" or @code = "2173-3" or @code = "2174-1" or @code = "2175-8" or @code = "2176-6" or @code = "2178-2" or @code = "2180-8" or @code = "2182-4" or @code = "2184-0" or @code = "2186-5"]'>
     Error:  CONF-QRDA1-26 The patient's ethnic group code 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.50'. The patient's ethnic group 'code' value SHALL be valid according to Appendix_M-Ethnicity in the posted Downloadable Resource table.
     </assert> -->
-    <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode)">
     Error:  CONF-QRDA1-27 The 'administrativeGenderCode' element SHALL be present.
     </assert>
-    <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode[@codeSystem = "2.16.840.1.113883.5.1"])'>
+		<assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode[@codeSystem = "2.16.840.1.113883.5.1"])'>
     Error:  CONF-QRDA1-27 The patient's administrativeGenderCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.1'.
     </assert>
-    <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode[@code="M" or @code="F" or @code="UN"])'>
+		<assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode[@code="M" or @code="F" or @code="UN"])'>
     Error:  CONF-QRDA1-27 The patient's administrative gender 'code'  value SHALL be valid according to Appendix_N-Gender in the posted Downloadable Resource table.
     </assert>
-    <!-- Combining the previous three asserts and using language from the specs document 
+		<!-- Combining the previous three asserts and using language from the specs document 
     <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:administrativeGenderCode[@codeSystem = "2.16.840.1.113883.5.1" and @code="M" or @code="F" or @code="UN"])'>
       Error:  CONF-QRDA1-27 Code element SHALL be present where the value of the @codeSystem SHALL be 2.16.840.1.113883.5.1 and the value of @code SHALL be from the Appendix_N-Gender tab of the Downloadable Resources Table.
      </assert> -->
-     <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode)">
     Error:  CONF-QRDA1-28 The 'raceCode' element SHALL be present.
     </assert>
-    <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode[@codeSystem = "2.16.840.1.113883.5.104"])'>
+		<assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode[@codeSystem = "2.16.840.1.113883.5.104"])'>
     Error:  CONF-QRDA1-28 The patient's raceCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.104'.
     </assert>
-     <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode[@code = "1002-5" or @code = "1004-1" or @code = "1006-6" or @code = "1008-2" or @code = "1010-8" or @code = "1011-6" or @code = "1012-4" or @code = "1013-2" or @code = "1014-0" or @code = "1015-7" or @code = "1016-5" or @code = "1017-3" or @code = "1018-1" or @code = "1019-9" or @code = "1021-5" or @code = "1022-3" or @code = "1023-1" or @code = "1024-9" or @code = "1026-4" or @code = "1028-0" or @code = "1030-6" or @code = "1031-4" or @code = "1033-0" or @code = "1035-5" or @code = "1037-1" or @code = "1039-7" or @code = "1041-3" or @code = "1042-1" or @code = "1044-7" or @code = "1045-4" or @code = "1046-2" or @code = "1047-0" or @code = "1048-8" or @code = "1049-6" or @code = "1050-4" or @code = "1051-2" or @code = "1053-8" or @code = "1054-6" or @code = "1055-3" or @code = "1056-1" or @code = "1057-9" or @code = "1058-7" or @code = "1059-5" or @code = "1060-3" or @code = "1061-1" or @code = "1062-9" or @code = "1063-7" or @code = "1064-5" or @code = "1065-2" or @code = "1066-0" or @code = "1068-6" or @code = "1069-4" or @code = "1070-2" or @code = "1071-0" or @code = "1072-8" or @code = "1073-6" or @code = "1074-4" or @code = "1076-9" or @code = "1078-5" or @code = "1080-1" or @code = "1082-7" or @code = "1083-5" or @code = "1084-3" or @code = "1086-8" or @code = "1088-4" or @code = "1089-2" or @code = "1090-0" or @code = "1091-8" or @code = "1092-6" or @code = "1093-4" or @code = "1094-2" or @code = "1095-9" or @code = "1096-7" or @code = "1097-5" or @code = "1098-3" or @code = "1100-7" or @code = "1102-3" or @code = "1103-1" or @code = "1104-9" or @code = "1106-4" or @code = "1108-0" or @code = "1109-8" or @code = "1110-6" or @code = "1112-2" or @code = "1114-8" or @code = "1115-5" or @code = "1116-3" or @code = "1117-1" or @code = "1118-9" or @code = "1119-7" or @code = "1120-5" or @code = "1121-3" or @code = "1123-9" or @code = "1124-7" or @code = "1125-4" or @code = "1126-2" or @code = "1127-0" or @code = "1128-8" or @code = "1129-6" or @code = "1130-4" or @code = "1131-2" or @code = "1132-0" or @code = "1133-8" or @code = "1134-6" or @code = "1135-3" or @code = "1136-1" or @code = "1137-9" or @code = "1138-7" or @code = "1139-5" or @code = "1140-3" or @code = "1141-1" or @code = "1142-9" or @code = "1143-7" or @code = "1144-5" or @code = "1145-2" or @code = "1146-0" or @code = "1147-8" or @code = "1148-6" or @code = "1150-2" or @code = "1151-0" or @code = "1153-6" or @code = "1155-1" or @code = "1156-9" or @code = "1157-7" or @code = "1158-5" or @code = "1159-3" or @code = "1160-1" or @code = "1162-7" or @code = "1163-5" or @code = "1165-0" or @code = "1167-6" or @code = "1169-2" or @code = "1171-8" or @code = "1173-4" or @code = "1175-9" or @code = "1176-7" or @code = "1178-3" or @code = "1180-9" or @code = "1182-5" or @code = "1184-1" or @code = "1186-6" or @code = "1187-4" or @code = "1189-0" or @code = "1191-6" or @code = "1193-2" or @code = "1194-0" or @code = "1195-7" or @code = "1196-5" or @code = "1197-3" or @code = "1198-1" or @code = "1199-9" or @code = "1200-5" or @code = "1201-3" or @code = "1202-1" or @code = "1203-9" or @code = "1204-7" or @code = "1205-4" or @code = "1207-0" or @code = "1209-6" or @code = "1211-2" or @code = "1212-0" or @code = "1214-6" or @code = "1215-3" or @code = "1216-1" or @code = "1217-9" or @code = "1218-7" or @code = "1219-5" or @code = "1220-3" or @code = "1222-9" or @code = "1223-7" or @code = "1224-5" or @code = "1225-2" or @code = "1226-0" or @code = "1227-8" or @code = "1228-6" or @code = "1229-4" or @code = "1230-2" or @code = "1231-0" or @code = "1233-6" or @code = "1234-4" or @code = "1235-1" or @code = "1236-9" or @code = "1237-7" or @code = "1238-5" or @code = "1239-3" or @code = "1240-1" or @code = "1241-9" or @code = "1242-7" or @code = "1243-5" or @code = "1244-3" or @code = "1245-0" or @code = "1246-8" or @code = "1247-6" or @code = "1248-4" or @code = "1250-0" or @code = "1252-6" or @code = "1254-2" or @code = "1256-7" or @code = "1258-3" or @code = "1260-9" or @code = "1262-5" or @code = "1264-1" or @code = "1265-8" or @code = "1267-4" or @code = "1269-0" or @code = "1271-6" or @code = "1272-4" or @code = "1273-2" or @code = "1275-7" or @code = "1277-3" or @code = "1279-9" or @code = "1281-5" or @code = "1282-3" or @code = "1283-1" or @code = "1285-6" or @code = "1286-4" or @code = "1287-2" or @code = "1288-0" or @code = "1289-8" or @code = "1290-6" or @code = "1291-4" or @code = "1292-2" or @code = "1293-0" or @code = "1294-8" or @code = "1295-5" or @code = "1297-1" or @code = "1299-7" or @code = "1301-1" or @code = "1303-7" or @code = "1305-2" or @code = "1306-0" or @code = "1307-8" or @code = "1309-4" or @code = "1310-2" or @code = "1312-8" or @code = "1313-6" or @code = "1314-4" or @code = "1315-1" or @code = "1317-7" or @code = "1319-3" or @code = "1321-9" or @code = "1323-5" or @code = "1325-0" or @code = "1326-8" or @code = "1327-6" or @code = "1328-4" or @code = "1329-2" or @code = "1331-8" or @code = "1332-6" or @code = "1333-4" or @code = "1334-2" or @code = "1335-9" or @code = "1336-7" or @code = "1337-5" or @code = "1338-3" or @code = "1340-9" or @code = "1342-5" or @code = "1344-1" or @code = "1345-8" or @code = "1346-6" or @code = "1348-2" or @code = "1350-8" or @code = "1352-4" or @code = "1354-0" or @code = "1356-5" or @code = "1358-1" or @code = "1359-9" or @code = "1360-7" or @code = "1361-5" or @code = "1363-1" or @code = "1365-6" or @code = "1366-4" or @code = "1368-0" or @code = "1370-6" or @code = "1372-2" or @code = "1374-8" or @code = "1376-3" or @code = "1378-9" or @code = "1380-5" or @code = "1382-1" or @code = "1383-9" or @code = "1384-7" or @code = "1385-4" or @code = "1387-0" or @code = "1389-6" or @code = "1391-2" or @code = "1392-0" or @code = "1393-8" or @code = "1394-6" or @code = "1395-3" or @code = "1396-1" or @code = "1397-9" or @code = "1398-7" or @code = "1399-5" or @code = "1400-1" or @code = "1401-9" or @code = "1403-5" or @code = "1405-0" or @code = "1407-6" or @code = "1409-2" or @code = "1411-8" or @code = "1412-6" or @code = "1413-4" or @code = "1414-2" or @code = "1416-7" or @code = "1417-5" or @code = "1418-3" or @code = "1419-1" or @code = "1420-9" or @code = "1421-7" or @code = "1422-5" or @code = "1423-3" or @code = "1424-1" or @code = "1425-8" or @code = "1426-6" or @code = "1427-4" or @code = "1428-2" or @code = "1429-0" or @code = "1430-8" or @code = "1431-6" or @code = "1432-4" or @code = "1433-2" or @code = "1434-0" or @code = "1435-7" or @code = "1436-5" or @code = "1437-3" or @code = "1439-9" or @code = "1441-5" or @code = "1442-3" or @code = "1443-1" or @code = "1445-6" or @code = "1446-4" or @code = "1448-0" or @code = "1450-6" or @code = "1451-4" or @code = "1453-0" or @code = "1454-8" or @code = "1456-3" or @code = "1457-1" or @code = "1458-9" or @code = "1460-5" or @code = "1462-1" or @code = "1464-7" or @code = "1465-4" or @code = "1466-2" or @code = "1467-0" or @code = "1468-8" or @code = "1469-6" or @code = "1470-4" or @code = "1471-2" or @code = "1472-0" or @code = "1474-6" or @code = "1475-3" or @code = "1476-1" or @code = "1478-7" or @code = "1479-5" or @code = "1480-3" or @code = "1481-1" or @code = "1482-9" or @code = "1483-7" or @code = "1484-5" or @code = "1485-2" or @code = "1487-8" or @code = "1489-4" or @code = "1490-2" or @code = "1491-0" or @code = "1492-8" or @code = "1493-6" or @code = "1494-4" or @code = "1495-1" or @code = "1496-9" or @code = "1497-7" or @code = "1498-5" or @code = "1499-3" or @code = "1500-8" or @code = "1501-6" or @code = "1502-4" or @code = "1503-2" or @code = "1504-0" or @code = "1505-7" or @code = "1506-5" or @code = "1507-3" or @code = "1508-1" or @code = "1509-9" or @code = "1510-7" or @code = "1511-5" or @code = "1512-3" or @code = "1513-1" or @code = "1514-9" or @code = "1515-6" or @code = "1516-4" or @code = "1518-0" or @code = "1519-8" or @code = "1520-6" or @code = "1521-4" or @code = "1522-2" or @code = "1523-0" or @code = "1524-8" or @code = "1525-5" or @code = "1526-3" or @code = "1527-1" or @code = "1528-9" or @code = "1529-7" or @code = "1530-5" or @code = "1531-3" or @code = "1532-1" or @code = "1533-9" or @code = "1534-7" or @code = "1535-4" or @code = "1536-2" or @code = "1537-0" or @code = "1538-8" or @code = "1539-6" or @code = "1541-2" or @code = "1543-8" or @code = "1545-3" or @code = "1547-9" or @code = "1549-5" or @code = "1551-1" or @code = "1552-9" or @code = "1553-7" or @code = "1554-5" or @code = "1556-0" or @code = "1558-6" or @code = "1560-2" or @code = "1562-8" or @code = "1564-4" or @code = "1566-9" or @code = "1567-7" or @code = "1568-5" or @code = "1569-3" or @code = "1570-1" or @code = "1571-9" or @code = "1573-5" or @code = "1574-3" or @code = "1576-8" or @code = "1578-4" or @code = "1579-2" or @code = "1580-0" or @code = "1582-6" or @code = "1584-2" or @code = "1586-7" or @code = "1587-5" or @code = "1588-3" or @code = "1589-1" or @code = "1590-9" or @code = "1591-7" or @code = "1592-5" or @code = "1593-3" or @code = "1594-1" or @code = "1595-8" or @code = "1596-6" or @code = "1597-4" or @code = "1598-2" or @code = "1599-0" or @code = "1600-6" or @code = "1602-2" or @code = "1603-0" or @code = "1604-8" or @code = "1605-5" or @code = "1607-1" or @code = "1609-7" or @code = "1610-5" or @code = "1611-3" or @code = "1612-1" or @code = "1613-9" or @code = "1614-7" or @code = "1615-4" or @code = "1616-2" or @code = "1617-0" or @code = "1618-8" or @code = "1619-6" or @code = "1620-4" or @code = "1621-2" or @code = "1622-0" or @code = "1623-8" or @code = "1624-6" or @code = "1625-3" or @code = "1626-1" or @code = "1627-9" or @code = "1628-7" or @code = "1629-5" or @code = "1630-3" or @code = "1631-1" or @code = "1632-9" or @code = "1633-7" or @code = "1634-5" or @code = "1635-2" or @code = "1636-0" or @code = "1637-8" or @code = "1638-6" or @code = "1639-4" or @code = "1640-2" or @code = "1641-0" or @code = "1643-6" or @code = "1645-1" or @code = "1647-7" or @code = "1649-3" or @code = "1651-9" or @code = "1653-5" or @code = "1654-3" or @code = "1655-0" or @code = "1656-8" or @code = "1657-6" or @code = "1659-2" or @code = "1661-8" or @code = "1663-4" or @code = "1665-9" or @code = "1667-5" or @code = "1668-3" or @code = "1670-9" or @code = "1671-7" or @code = "1672-5" or @code = "1673-3" or @code = "1675-8" or @code = "1677-4" or @code = "1679-0" or @code = "1680-8" or @code = "1681-6" or @code = "1683-2" or @code = "1685-7" or @code = "1687-3" or @code = "1688-1" or @code = "1689-9" or @code = "1690-7" or @code = "1692-3" or @code = "1694-9" or @code = "1696-4" or @code = "1697-2" or @code = "1698-0" or @code = "1700-4" or @code = "1702-0" or @code = "1704-6" or @code = "1705-3" or @code = "1707-9" or @code = "1709-5" or @code = "1711-1" or @code = "1712-9" or @code = "1713-7" or @code = "1715-2" or @code = "1717-8" or @code = "1718-6" or @code = "1719-4" or @code = "1720-2" or @code = "1722-8" or @code = "1724-4" or @code = "1725-1" or @code = "1726-9" or @code = "1727-7" or @code = "1728-5" or @code = "1729-3" or @code = "1730-1" or @code = "1731-9" or @code = "1732-7" or @code = "1733-5" or @code = "1735-0" or @code = "1737-6" or @code = "1739-2" or @code = "1740-0" or @code = "1741-8" or @code = "1742-6" or @code = "1743-4" or @code = "1744-2" or @code = "1745-9" or @code = "1746-7" or @code = "1747-5" or @code = "1748-3" or @code = "1749-1" or @code = "1750-9" or @code = "1751-7" or @code = "1752-5" or @code = "1753-3" or @code = "1754-1" or @code = "1755-8" or @code = "1756-6" or @code = "1757-4" or @code = "1758-2" or @code = "1759-0" or @code = "1760-8" or @code = "1761-6" or @code = "1762-4" or @code = "1763-2" or @code = "1764-0" or @code = "1765-7" or @code = "1766-5" or @code = "1767-3" or @code = "1768-1" or @code = "1769-9" or @code = "1770-7" or @code = "1771-5" or @code = "1772-3" or @code = "1773-1" or @code = "1774-9" or @code = "1775-6" or @code = "1776-4" or @code = "1777-2" or @code = "1778-0" or @code = "1779-8" or @code = "1780-6" or @code = "1781-4" or @code = "1782-2" or @code = "1783-0" or @code = "1784-8" or @code = "1785-5" or @code = "1786-3" or @code = "1787-1" or @code = "1788-9" or @code = "1789-7" or @code = "1790-5" or @code = "1791-3" or @code = "1792-1" or @code = "1793-9" or @code = "1794-7" or @code = "1795-4" or @code = "1796-2" or @code = "1797-0" or @code = "1798-8" or @code = "1799-6" or @code = "1800-2" or @code = "1801-0" or @code = "1802-8" or @code = "1803-6" or @code = "1804-4" or @code = "1805-1" or @code = "1806-9" or @code = "1807-7" or @code = "1808-5" or @code = "1809-3" or @code = "1811-9" or @code = "1813-5" or @code = "1814-3" or @code = "1815-0" or @code = "1816-8" or @code = "1817-6" or @code = "1818-4" or @code = "1819-2" or @code = "1820-0" or @code = "1821-8" or @code = "1822-6" or @code = "1823-4" or @code = "1824-2" or @code = "1825-9" or @code = "1826-7" or @code = "1827-5" or @code = "1828-3" or @code = "1829-1" or @code = "1830-9" or @code = "1831-7" or @code = "1832-5" or @code = "1833-3" or @code = "1834-1" or @code = "1835-8" or @code = "1837-4" or @code = "1838-2" or @code = "1840-8" or @code = "1842-4" or @code = "1844-0" or @code = "1845-7" or @code = "1846-5" or @code = "1847-3" or @code = "1848-1" or @code = "1849-9" or @code = "1850-7" or @code = "1851-5" or @code = "1852-3" or @code = "1853-1" or @code = "1854-9" or @code = "1855-6" or @code = "1856-4" or @code = "1857-2" or @code = "1858-0" or @code = "1859-8" or @code = "1860-6" or @code = "1861-4" or @code = "1862-2" or @code = "1863-0" or @code = "1864-8" or @code = "1865-5" or @code = "1866-3" or @code = "1867-1" or @code = "1868-9" or @code = "1869-7" or @code = "1870-5" or @code = "1871-3" or @code = "1872-1" or @code = "1873-9" or @code = "1874-7" or @code = "1875-4" or @code = "1876-2" or @code = "1877-0" or @code = "1878-8" or @code = "1879-6" or @code = "1880-4" or @code = "1881-2" or @code = "1882-0" or @code = "1883-8" or @code = "1884-6" or @code = "1885-3" or @code = "1886-1" or @code = "1887-9" or @code = "1888-7" or @code = "1889-5" or @code = "1891-1" or @code = "1892-9" or @code = "1893-7" or @code = "1894-5" or @code = "1896-0" or @code = "1897-8" or @code = "1898-6" or @code = "1899-4" or @code = "1900-0" or @code = "1901-8" or @code = "1902-6" or @code = "1903-4" or @code = "1904-2" or @code = "1905-9" or @code = "1906-7" or @code = "1907-5" or @code = "1908-3" or @code = "1909-1" or @code = "1910-9" or @code = "1911-7" or @code = "1912-5" or @code = "1913-3" or @code = "1914-1" or @code = "1915-8" or @code = "1916-6" or @code = "1917-4" or @code = "1918-2" or @code = "1919-0" or @code = "1920-8" or @code = "1921-6" or @code = "1922-4" or @code = "1923-2" or @code = "1924-0" or @code = "1925-7" or @code = "1926-5" or @code = "1927-3" or @code = "1928-1" or @code = "1929-9" or @code = "1930-7" or @code = "1931-5" or @code = "1932-3" or @code = "1933-1" or @code = "1934-9" or @code = "1935-6" or @code = "1936-4" or @code = "1937-2" or @code = "1938-0" or @code = "1939-8" or @code = "1940-6" or @code = "1941-4" or @code = "1942-2" or @code = "1943-0" or @code = "1944-8" or @code = "1945-5" or @code = "1946-3" or @code = "1947-1" or @code = "1948-9" or @code = "1949-7" or @code = "1950-5" or @code = "1951-3" or @code = "1952-1" or @code = "1953-9" or @code = "1954-7" or @code = "1955-4" or @code = "1956-2" or @code = "1957-0" or @code = "1958-8" or @code = "1959-6" or @code = "1960-4" or @code = "1961-2" or @code = "1962-0" or @code = "1963-8" or @code = "1964-6" or @code = "1966-1" or @code = "1968-7" or @code = "1969-5" or @code = "1970-3" or @code = "1972-9" or @code = "1973-7" or @code = "1974-5" or @code = "1975-2" or @code = "1976-0" or @code = "1977-8" or @code = "1978-6" or @code = "1979-4" or @code = "1980-2" or @code = "1981-0" or @code = "1982-8" or @code = "1984-4" or @code = "1985-1" or @code = "1986-9" or @code = "1987-7" or @code = "1988-5" or @code = "1990-1" or @code = "1992-7" or @code = "1993-5" or @code = "1994-3" or @code = "1995-0" or @code = "1996-8" or @code = "1997-6" or @code = "1998-4" or @code = "1999-2" or @code = "2000-8" or @code = "2002-4" or @code = "2004-0" or @code = "2006-5" or @code = "2007-3" or @code = "2008-1" or @code = "2009-9" or @code = "2010-7" or @code = "2011-5" or @code = "2012-3" or @code = "2013-1" or @code = "2014-9" or @code = "2015-6" or @code = "2016-4" or @code = "2017-2" or @code = "2018-0" or @code = "2019-8" or @code = "2020-6" or @code = "2021-4" or @code = "2022-2" or @code = "2023-0" or @code = "2024-8" or @code = "2025-5" or @code = "2026-3" or @code = "2028-9" or @code = "2029-7" or @code = "2030-5" or @code = "2031-3" or @code = "2032-1" or @code = "2033-9" or @code = "2034-7" or @code = "2035-4" or @code = "2036-2" or @code = "2037-0" or @code = "2038-8" or @code = "2039-6" or @code = "2040-4" or @code = "2041-2" or @code = "2042-0" or @code = "2043-8" or @code = "2044-6" or @code = "2045-3" or @code = "2046-1" or @code = "2047-9" or @code = "2048-7" or @code = "2049-5" or @code = "2050-3" or @code = "2051-1" or @code = "2052-9" or @code = "2054-5" or @code = "2056-0" or @code = "2058-6" or @code = "2060-2" or @code = "2061-0" or @code = "2062-8" or @code = "2063-6" or @code = "2064-4" or @code = "2065-1" or @code = "2066-9" or @code = "2067-7" or @code = "2068-5" or @code = "2069-3" or @code = "2070-1" or @code = "2071-9" or @code = "2072-7" or @code = "2073-5" or @code = "2074-3" or @code = "2075-0" or @code = "2076-8" or @code = "2078-4" or @code = "2079-2" or @code = "2080-0" or @code = "2081-8" or @code = "2082-6" or @code = "2083-4" or @code = "2085-9" or @code = "2086-7" or @code = "2087-5" or @code = "2088-3" or @code = "2089-1" or @code = "2090-9" or @code = "2091-7" or @code = "2092-5" or @code = "2093-3" or @code = "2094-1" or @code = "2095-8" or @code = "2096-6" or @code = "2097-4" or @code = "2098-2" or @code = "2100-6" or @code = "2101-4" or @code = "2102-2" or @code = "2103-0" or @code = "2104-8" or @code = "2106-3" or @code = "2108-9" or @code = "2109-7" or @code = "2110-5" or @code = "2111-3" or @code = "2112-1" or @code = "2113-9" or @code = "2114-7" or @code = "2115-4" or @code = "2116-2" or @code = "2118-8" or @code = "2119-6" or @code = "2120-4" or @code = "2121-2" or @code = "2122-0" or @code = "2123-8" or @code = "2124-6" or @code = "2125-3" or @code = "2126-1" or @code = "2127-9" or @code = "2129-5" or @code = "2131-1" or @code = "2500-7"])'>
+		<assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode[@code = "1002-5" or @code = "1004-1" or @code = "1006-6" or @code = "1008-2" or @code = "1010-8" or @code = "1011-6" or @code = "1012-4" or @code = "1013-2" or @code = "1014-0" or @code = "1015-7" or @code = "1016-5" or @code = "1017-3" or @code = "1018-1" or @code = "1019-9" or @code = "1021-5" or @code = "1022-3" or @code = "1023-1" or @code = "1024-9" or @code = "1026-4" or @code = "1028-0" or @code = "1030-6" or @code = "1031-4" or @code = "1033-0" or @code = "1035-5" or @code = "1037-1" or @code = "1039-7" or @code = "1041-3" or @code = "1042-1" or @code = "1044-7" or @code = "1045-4" or @code = "1046-2" or @code = "1047-0" or @code = "1048-8" or @code = "1049-6" or @code = "1050-4" or @code = "1051-2" or @code = "1053-8" or @code = "1054-6" or @code = "1055-3" or @code = "1056-1" or @code = "1057-9" or @code = "1058-7" or @code = "1059-5" or @code = "1060-3" or @code = "1061-1" or @code = "1062-9" or @code = "1063-7" or @code = "1064-5" or @code = "1065-2" or @code = "1066-0" or @code = "1068-6" or @code = "1069-4" or @code = "1070-2" or @code = "1071-0" or @code = "1072-8" or @code = "1073-6" or @code = "1074-4" or @code = "1076-9" or @code = "1078-5" or @code = "1080-1" or @code = "1082-7" or @code = "1083-5" or @code = "1084-3" or @code = "1086-8" or @code = "1088-4" or @code = "1089-2" or @code = "1090-0" or @code = "1091-8" or @code = "1092-6" or @code = "1093-4" or @code = "1094-2" or @code = "1095-9" or @code = "1096-7" or @code = "1097-5" or @code = "1098-3" or @code = "1100-7" or @code = "1102-3" or @code = "1103-1" or @code = "1104-9" or @code = "1106-4" or @code = "1108-0" or @code = "1109-8" or @code = "1110-6" or @code = "1112-2" or @code = "1114-8" or @code = "1115-5" or @code = "1116-3" or @code = "1117-1" or @code = "1118-9" or @code = "1119-7" or @code = "1120-5" or @code = "1121-3" or @code = "1123-9" or @code = "1124-7" or @code = "1125-4" or @code = "1126-2" or @code = "1127-0" or @code = "1128-8" or @code = "1129-6" or @code = "1130-4" or @code = "1131-2" or @code = "1132-0" or @code = "1133-8" or @code = "1134-6" or @code = "1135-3" or @code = "1136-1" or @code = "1137-9" or @code = "1138-7" or @code = "1139-5" or @code = "1140-3" or @code = "1141-1" or @code = "1142-9" or @code = "1143-7" or @code = "1144-5" or @code = "1145-2" or @code = "1146-0" or @code = "1147-8" or @code = "1148-6" or @code = "1150-2" or @code = "1151-0" or @code = "1153-6" or @code = "1155-1" or @code = "1156-9" or @code = "1157-7" or @code = "1158-5" or @code = "1159-3" or @code = "1160-1" or @code = "1162-7" or @code = "1163-5" or @code = "1165-0" or @code = "1167-6" or @code = "1169-2" or @code = "1171-8" or @code = "1173-4" or @code = "1175-9" or @code = "1176-7" or @code = "1178-3" or @code = "1180-9" or @code = "1182-5" or @code = "1184-1" or @code = "1186-6" or @code = "1187-4" or @code = "1189-0" or @code = "1191-6" or @code = "1193-2" or @code = "1194-0" or @code = "1195-7" or @code = "1196-5" or @code = "1197-3" or @code = "1198-1" or @code = "1199-9" or @code = "1200-5" or @code = "1201-3" or @code = "1202-1" or @code = "1203-9" or @code = "1204-7" or @code = "1205-4" or @code = "1207-0" or @code = "1209-6" or @code = "1211-2" or @code = "1212-0" or @code = "1214-6" or @code = "1215-3" or @code = "1216-1" or @code = "1217-9" or @code = "1218-7" or @code = "1219-5" or @code = "1220-3" or @code = "1222-9" or @code = "1223-7" or @code = "1224-5" or @code = "1225-2" or @code = "1226-0" or @code = "1227-8" or @code = "1228-6" or @code = "1229-4" or @code = "1230-2" or @code = "1231-0" or @code = "1233-6" or @code = "1234-4" or @code = "1235-1" or @code = "1236-9" or @code = "1237-7" or @code = "1238-5" or @code = "1239-3" or @code = "1240-1" or @code = "1241-9" or @code = "1242-7" or @code = "1243-5" or @code = "1244-3" or @code = "1245-0" or @code = "1246-8" or @code = "1247-6" or @code = "1248-4" or @code = "1250-0" or @code = "1252-6" or @code = "1254-2" or @code = "1256-7" or @code = "1258-3" or @code = "1260-9" or @code = "1262-5" or @code = "1264-1" or @code = "1265-8" or @code = "1267-4" or @code = "1269-0" or @code = "1271-6" or @code = "1272-4" or @code = "1273-2" or @code = "1275-7" or @code = "1277-3" or @code = "1279-9" or @code = "1281-5" or @code = "1282-3" or @code = "1283-1" or @code = "1285-6" or @code = "1286-4" or @code = "1287-2" or @code = "1288-0" or @code = "1289-8" or @code = "1290-6" or @code = "1291-4" or @code = "1292-2" or @code = "1293-0" or @code = "1294-8" or @code = "1295-5" or @code = "1297-1" or @code = "1299-7" or @code = "1301-1" or @code = "1303-7" or @code = "1305-2" or @code = "1306-0" or @code = "1307-8" or @code = "1309-4" or @code = "1310-2" or @code = "1312-8" or @code = "1313-6" or @code = "1314-4" or @code = "1315-1" or @code = "1317-7" or @code = "1319-3" or @code = "1321-9" or @code = "1323-5" or @code = "1325-0" or @code = "1326-8" or @code = "1327-6" or @code = "1328-4" or @code = "1329-2" or @code = "1331-8" or @code = "1332-6" or @code = "1333-4" or @code = "1334-2" or @code = "1335-9" or @code = "1336-7" or @code = "1337-5" or @code = "1338-3" or @code = "1340-9" or @code = "1342-5" or @code = "1344-1" or @code = "1345-8" or @code = "1346-6" or @code = "1348-2" or @code = "1350-8" or @code = "1352-4" or @code = "1354-0" or @code = "1356-5" or @code = "1358-1" or @code = "1359-9" or @code = "1360-7" or @code = "1361-5" or @code = "1363-1" or @code = "1365-6" or @code = "1366-4" or @code = "1368-0" or @code = "1370-6" or @code = "1372-2" or @code = "1374-8" or @code = "1376-3" or @code = "1378-9" or @code = "1380-5" or @code = "1382-1" or @code = "1383-9" or @code = "1384-7" or @code = "1385-4" or @code = "1387-0" or @code = "1389-6" or @code = "1391-2" or @code = "1392-0" or @code = "1393-8" or @code = "1394-6" or @code = "1395-3" or @code = "1396-1" or @code = "1397-9" or @code = "1398-7" or @code = "1399-5" or @code = "1400-1" or @code = "1401-9" or @code = "1403-5" or @code = "1405-0" or @code = "1407-6" or @code = "1409-2" or @code = "1411-8" or @code = "1412-6" or @code = "1413-4" or @code = "1414-2" or @code = "1416-7" or @code = "1417-5" or @code = "1418-3" or @code = "1419-1" or @code = "1420-9" or @code = "1421-7" or @code = "1422-5" or @code = "1423-3" or @code = "1424-1" or @code = "1425-8" or @code = "1426-6" or @code = "1427-4" or @code = "1428-2" or @code = "1429-0" or @code = "1430-8" or @code = "1431-6" or @code = "1432-4" or @code = "1433-2" or @code = "1434-0" or @code = "1435-7" or @code = "1436-5" or @code = "1437-3" or @code = "1439-9" or @code = "1441-5" or @code = "1442-3" or @code = "1443-1" or @code = "1445-6" or @code = "1446-4" or @code = "1448-0" or @code = "1450-6" or @code = "1451-4" or @code = "1453-0" or @code = "1454-8" or @code = "1456-3" or @code = "1457-1" or @code = "1458-9" or @code = "1460-5" or @code = "1462-1" or @code = "1464-7" or @code = "1465-4" or @code = "1466-2" or @code = "1467-0" or @code = "1468-8" or @code = "1469-6" or @code = "1470-4" or @code = "1471-2" or @code = "1472-0" or @code = "1474-6" or @code = "1475-3" or @code = "1476-1" or @code = "1478-7" or @code = "1479-5" or @code = "1480-3" or @code = "1481-1" or @code = "1482-9" or @code = "1483-7" or @code = "1484-5" or @code = "1485-2" or @code = "1487-8" or @code = "1489-4" or @code = "1490-2" or @code = "1491-0" or @code = "1492-8" or @code = "1493-6" or @code = "1494-4" or @code = "1495-1" or @code = "1496-9" or @code = "1497-7" or @code = "1498-5" or @code = "1499-3" or @code = "1500-8" or @code = "1501-6" or @code = "1502-4" or @code = "1503-2" or @code = "1504-0" or @code = "1505-7" or @code = "1506-5" or @code = "1507-3" or @code = "1508-1" or @code = "1509-9" or @code = "1510-7" or @code = "1511-5" or @code = "1512-3" or @code = "1513-1" or @code = "1514-9" or @code = "1515-6" or @code = "1516-4" or @code = "1518-0" or @code = "1519-8" or @code = "1520-6" or @code = "1521-4" or @code = "1522-2" or @code = "1523-0" or @code = "1524-8" or @code = "1525-5" or @code = "1526-3" or @code = "1527-1" or @code = "1528-9" or @code = "1529-7" or @code = "1530-5" or @code = "1531-3" or @code = "1532-1" or @code = "1533-9" or @code = "1534-7" or @code = "1535-4" or @code = "1536-2" or @code = "1537-0" or @code = "1538-8" or @code = "1539-6" or @code = "1541-2" or @code = "1543-8" or @code = "1545-3" or @code = "1547-9" or @code = "1549-5" or @code = "1551-1" or @code = "1552-9" or @code = "1553-7" or @code = "1554-5" or @code = "1556-0" or @code = "1558-6" or @code = "1560-2" or @code = "1562-8" or @code = "1564-4" or @code = "1566-9" or @code = "1567-7" or @code = "1568-5" or @code = "1569-3" or @code = "1570-1" or @code = "1571-9" or @code = "1573-5" or @code = "1574-3" or @code = "1576-8" or @code = "1578-4" or @code = "1579-2" or @code = "1580-0" or @code = "1582-6" or @code = "1584-2" or @code = "1586-7" or @code = "1587-5" or @code = "1588-3" or @code = "1589-1" or @code = "1590-9" or @code = "1591-7" or @code = "1592-5" or @code = "1593-3" or @code = "1594-1" or @code = "1595-8" or @code = "1596-6" or @code = "1597-4" or @code = "1598-2" or @code = "1599-0" or @code = "1600-6" or @code = "1602-2" or @code = "1603-0" or @code = "1604-8" or @code = "1605-5" or @code = "1607-1" or @code = "1609-7" or @code = "1610-5" or @code = "1611-3" or @code = "1612-1" or @code = "1613-9" or @code = "1614-7" or @code = "1615-4" or @code = "1616-2" or @code = "1617-0" or @code = "1618-8" or @code = "1619-6" or @code = "1620-4" or @code = "1621-2" or @code = "1622-0" or @code = "1623-8" or @code = "1624-6" or @code = "1625-3" or @code = "1626-1" or @code = "1627-9" or @code = "1628-7" or @code = "1629-5" or @code = "1630-3" or @code = "1631-1" or @code = "1632-9" or @code = "1633-7" or @code = "1634-5" or @code = "1635-2" or @code = "1636-0" or @code = "1637-8" or @code = "1638-6" or @code = "1639-4" or @code = "1640-2" or @code = "1641-0" or @code = "1643-6" or @code = "1645-1" or @code = "1647-7" or @code = "1649-3" or @code = "1651-9" or @code = "1653-5" or @code = "1654-3" or @code = "1655-0" or @code = "1656-8" or @code = "1657-6" or @code = "1659-2" or @code = "1661-8" or @code = "1663-4" or @code = "1665-9" or @code = "1667-5" or @code = "1668-3" or @code = "1670-9" or @code = "1671-7" or @code = "1672-5" or @code = "1673-3" or @code = "1675-8" or @code = "1677-4" or @code = "1679-0" or @code = "1680-8" or @code = "1681-6" or @code = "1683-2" or @code = "1685-7" or @code = "1687-3" or @code = "1688-1" or @code = "1689-9" or @code = "1690-7" or @code = "1692-3" or @code = "1694-9" or @code = "1696-4" or @code = "1697-2" or @code = "1698-0" or @code = "1700-4" or @code = "1702-0" or @code = "1704-6" or @code = "1705-3" or @code = "1707-9" or @code = "1709-5" or @code = "1711-1" or @code = "1712-9" or @code = "1713-7" or @code = "1715-2" or @code = "1717-8" or @code = "1718-6" or @code = "1719-4" or @code = "1720-2" or @code = "1722-8" or @code = "1724-4" or @code = "1725-1" or @code = "1726-9" or @code = "1727-7" or @code = "1728-5" or @code = "1729-3" or @code = "1730-1" or @code = "1731-9" or @code = "1732-7" or @code = "1733-5" or @code = "1735-0" or @code = "1737-6" or @code = "1739-2" or @code = "1740-0" or @code = "1741-8" or @code = "1742-6" or @code = "1743-4" or @code = "1744-2" or @code = "1745-9" or @code = "1746-7" or @code = "1747-5" or @code = "1748-3" or @code = "1749-1" or @code = "1750-9" or @code = "1751-7" or @code = "1752-5" or @code = "1753-3" or @code = "1754-1" or @code = "1755-8" or @code = "1756-6" or @code = "1757-4" or @code = "1758-2" or @code = "1759-0" or @code = "1760-8" or @code = "1761-6" or @code = "1762-4" or @code = "1763-2" or @code = "1764-0" or @code = "1765-7" or @code = "1766-5" or @code = "1767-3" or @code = "1768-1" or @code = "1769-9" or @code = "1770-7" or @code = "1771-5" or @code = "1772-3" or @code = "1773-1" or @code = "1774-9" or @code = "1775-6" or @code = "1776-4" or @code = "1777-2" or @code = "1778-0" or @code = "1779-8" or @code = "1780-6" or @code = "1781-4" or @code = "1782-2" or @code = "1783-0" or @code = "1784-8" or @code = "1785-5" or @code = "1786-3" or @code = "1787-1" or @code = "1788-9" or @code = "1789-7" or @code = "1790-5" or @code = "1791-3" or @code = "1792-1" or @code = "1793-9" or @code = "1794-7" or @code = "1795-4" or @code = "1796-2" or @code = "1797-0" or @code = "1798-8" or @code = "1799-6" or @code = "1800-2" or @code = "1801-0" or @code = "1802-8" or @code = "1803-6" or @code = "1804-4" or @code = "1805-1" or @code = "1806-9" or @code = "1807-7" or @code = "1808-5" or @code = "1809-3" or @code = "1811-9" or @code = "1813-5" or @code = "1814-3" or @code = "1815-0" or @code = "1816-8" or @code = "1817-6" or @code = "1818-4" or @code = "1819-2" or @code = "1820-0" or @code = "1821-8" or @code = "1822-6" or @code = "1823-4" or @code = "1824-2" or @code = "1825-9" or @code = "1826-7" or @code = "1827-5" or @code = "1828-3" or @code = "1829-1" or @code = "1830-9" or @code = "1831-7" or @code = "1832-5" or @code = "1833-3" or @code = "1834-1" or @code = "1835-8" or @code = "1837-4" or @code = "1838-2" or @code = "1840-8" or @code = "1842-4" or @code = "1844-0" or @code = "1845-7" or @code = "1846-5" or @code = "1847-3" or @code = "1848-1" or @code = "1849-9" or @code = "1850-7" or @code = "1851-5" or @code = "1852-3" or @code = "1853-1" or @code = "1854-9" or @code = "1855-6" or @code = "1856-4" or @code = "1857-2" or @code = "1858-0" or @code = "1859-8" or @code = "1860-6" or @code = "1861-4" or @code = "1862-2" or @code = "1863-0" or @code = "1864-8" or @code = "1865-5" or @code = "1866-3" or @code = "1867-1" or @code = "1868-9" or @code = "1869-7" or @code = "1870-5" or @code = "1871-3" or @code = "1872-1" or @code = "1873-9" or @code = "1874-7" or @code = "1875-4" or @code = "1876-2" or @code = "1877-0" or @code = "1878-8" or @code = "1879-6" or @code = "1880-4" or @code = "1881-2" or @code = "1882-0" or @code = "1883-8" or @code = "1884-6" or @code = "1885-3" or @code = "1886-1" or @code = "1887-9" or @code = "1888-7" or @code = "1889-5" or @code = "1891-1" or @code = "1892-9" or @code = "1893-7" or @code = "1894-5" or @code = "1896-0" or @code = "1897-8" or @code = "1898-6" or @code = "1899-4" or @code = "1900-0" or @code = "1901-8" or @code = "1902-6" or @code = "1903-4" or @code = "1904-2" or @code = "1905-9" or @code = "1906-7" or @code = "1907-5" or @code = "1908-3" or @code = "1909-1" or @code = "1910-9" or @code = "1911-7" or @code = "1912-5" or @code = "1913-3" or @code = "1914-1" or @code = "1915-8" or @code = "1916-6" or @code = "1917-4" or @code = "1918-2" or @code = "1919-0" or @code = "1920-8" or @code = "1921-6" or @code = "1922-4" or @code = "1923-2" or @code = "1924-0" or @code = "1925-7" or @code = "1926-5" or @code = "1927-3" or @code = "1928-1" or @code = "1929-9" or @code = "1930-7" or @code = "1931-5" or @code = "1932-3" or @code = "1933-1" or @code = "1934-9" or @code = "1935-6" or @code = "1936-4" or @code = "1937-2" or @code = "1938-0" or @code = "1939-8" or @code = "1940-6" or @code = "1941-4" or @code = "1942-2" or @code = "1943-0" or @code = "1944-8" or @code = "1945-5" or @code = "1946-3" or @code = "1947-1" or @code = "1948-9" or @code = "1949-7" or @code = "1950-5" or @code = "1951-3" or @code = "1952-1" or @code = "1953-9" or @code = "1954-7" or @code = "1955-4" or @code = "1956-2" or @code = "1957-0" or @code = "1958-8" or @code = "1959-6" or @code = "1960-4" or @code = "1961-2" or @code = "1962-0" or @code = "1963-8" or @code = "1964-6" or @code = "1966-1" or @code = "1968-7" or @code = "1969-5" or @code = "1970-3" or @code = "1972-9" or @code = "1973-7" or @code = "1974-5" or @code = "1975-2" or @code = "1976-0" or @code = "1977-8" or @code = "1978-6" or @code = "1979-4" or @code = "1980-2" or @code = "1981-0" or @code = "1982-8" or @code = "1984-4" or @code = "1985-1" or @code = "1986-9" or @code = "1987-7" or @code = "1988-5" or @code = "1990-1" or @code = "1992-7" or @code = "1993-5" or @code = "1994-3" or @code = "1995-0" or @code = "1996-8" or @code = "1997-6" or @code = "1998-4" or @code = "1999-2" or @code = "2000-8" or @code = "2002-4" or @code = "2004-0" or @code = "2006-5" or @code = "2007-3" or @code = "2008-1" or @code = "2009-9" or @code = "2010-7" or @code = "2011-5" or @code = "2012-3" or @code = "2013-1" or @code = "2014-9" or @code = "2015-6" or @code = "2016-4" or @code = "2017-2" or @code = "2018-0" or @code = "2019-8" or @code = "2020-6" or @code = "2021-4" or @code = "2022-2" or @code = "2023-0" or @code = "2024-8" or @code = "2025-5" or @code = "2026-3" or @code = "2028-9" or @code = "2029-7" or @code = "2030-5" or @code = "2031-3" or @code = "2032-1" or @code = "2033-9" or @code = "2034-7" or @code = "2035-4" or @code = "2036-2" or @code = "2037-0" or @code = "2038-8" or @code = "2039-6" or @code = "2040-4" or @code = "2041-2" or @code = "2042-0" or @code = "2043-8" or @code = "2044-6" or @code = "2045-3" or @code = "2046-1" or @code = "2047-9" or @code = "2048-7" or @code = "2049-5" or @code = "2050-3" or @code = "2051-1" or @code = "2052-9" or @code = "2054-5" or @code = "2056-0" or @code = "2058-6" or @code = "2060-2" or @code = "2061-0" or @code = "2062-8" or @code = "2063-6" or @code = "2064-4" or @code = "2065-1" or @code = "2066-9" or @code = "2067-7" or @code = "2068-5" or @code = "2069-3" or @code = "2070-1" or @code = "2071-9" or @code = "2072-7" or @code = "2073-5" or @code = "2074-3" or @code = "2075-0" or @code = "2076-8" or @code = "2078-4" or @code = "2079-2" or @code = "2080-0" or @code = "2081-8" or @code = "2082-6" or @code = "2083-4" or @code = "2085-9" or @code = "2086-7" or @code = "2087-5" or @code = "2088-3" or @code = "2089-1" or @code = "2090-9" or @code = "2091-7" or @code = "2092-5" or @code = "2093-3" or @code = "2094-1" or @code = "2095-8" or @code = "2096-6" or @code = "2097-4" or @code = "2098-2" or @code = "2100-6" or @code = "2101-4" or @code = "2102-2" or @code = "2103-0" or @code = "2104-8" or @code = "2106-3" or @code = "2108-9" or @code = "2109-7" or @code = "2110-5" or @code = "2111-3" or @code = "2112-1" or @code = "2113-9" or @code = "2114-7" or @code = "2115-4" or @code = "2116-2" or @code = "2118-8" or @code = "2119-6" or @code = "2120-4" or @code = "2121-2" or @code = "2122-0" or @code = "2123-8" or @code = "2124-6" or @code = "2125-3" or @code = "2126-1" or @code = "2127-9" or @code = "2129-5" or @code = "2131-1" or @code = "2500-7"])'>
      Error: CONF-QRDA1-28 The patient's race 'code' attribute value SHALL be valid according to Appendix_O-Race in the posted Downloadable Resource table.
      </assert>
-     <!-- Combining the previous three asserts and using language from the specs document.  If the 88 page document is normative, I think we should use this instead of the three above
+		<!-- Combining the previous three asserts and using language from the specs document.  If the 88 page document is normative, I think we should use this instead of the three above
     
     <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:raceCode[@codeSystem = "2.16.840.1.113883.5.104" and @code = "1002-5" or @code = "1004-1" or @code = "1006-6" or @code = "1008-2" or @code = "1010-8" or @code = "1011-6" or @code = "1012-4" or @code = "1013-2" or @code = "1014-0" or @code = "1015-7" or @code = "1016-5" or @code = "1017-3" or @code = "1018-1" or @code = "1019-9" or @code = "1021-5" or @code = "1022-3" or @code = "1023-1" or @code = "1024-9" or @code = "1026-4" or @code = "1028-0" or @code = "1030-6" or @code = "1031-4" or @code = "1033-0" or @code = "1035-5" or @code = "1037-1" or @code = "1039-7" or @code = "1041-3" or @code = "1042-1" or @code = "1044-7" or @code = "1045-4" or @code = "1046-2" or @code = "1047-0" or @code = "1048-8" or @code = "1049-6" or @code = "1050-4" or @code = "1051-2" or @code = "1053-8" or @code = "1054-6" or @code = "1055-3" or @code = "1056-1" or @code = "1057-9" or @code = "1058-7" or @code = "1059-5" or @code = "1060-3" or @code = "1061-1" or @code = "1062-9" or @code = "1063-7" or @code = "1064-5" or @code = "1065-2" or @code = "1066-0" or @code = "1068-6" or @code = "1069-4" or @code = "1070-2" or @code = "1071-0" or @code = "1072-8" or @code = "1073-6" or @code = "1074-4" or @code = "1076-9" or @code = "1078-5" or @code = "1080-1" or @code = "1082-7" or @code = "1083-5" or @code = "1084-3" or @code = "1086-8" or @code = "1088-4" or @code = "1089-2" or @code = "1090-0" or @code = "1091-8" or @code = "1092-6" or @code = "1093-4" or @code = "1094-2" or @code = "1095-9" or @code = "1096-7" or @code = "1097-5" or @code = "1098-3" or @code = "1100-7" or @code = "1102-3" or @code = "1103-1" or @code = "1104-9" or @code = "1106-4" or @code = "1108-0" or @code = "1109-8" or @code = "1110-6" or @code = "1112-2" or @code = "1114-8" or @code = "1115-5" or @code = "1116-3" or @code = "1117-1" or @code = "1118-9" or @code = "1119-7" or @code = "1120-5" or @code = "1121-3" or @code = "1123-9" or @code = "1124-7" or @code = "1125-4" or @code = "1126-2" or @code = "1127-0" or @code = "1128-8" or @code = "1129-6" or @code = "1130-4" or @code = "1131-2" or @code = "1132-0" or @code = "1133-8" or @code = "1134-6" or @code = "1135-3" or @code = "1136-1" or @code = "1137-9" or @code = "1138-7" or @code = "1139-5" or @code = "1140-3" or @code = "1141-1" or @code = "1142-9" or @code = "1143-7" or @code = "1144-5" or @code = "1145-2" or @code = "1146-0" or @code = "1147-8" or @code = "1148-6" or @code = "1150-2" or @code = "1151-0" or @code = "1153-6" or @code = "1155-1" or @code = "1156-9" or @code = "1157-7" or @code = "1158-5" or @code = "1159-3" or @code = "1160-1" or @code = "1162-7" or @code = "1163-5" or @code = "1165-0" or @code = "1167-6" or @code = "1169-2" or @code = "1171-8" or @code = "1173-4" or @code = "1175-9" or @code = "1176-7" or @code = "1178-3" or @code = "1180-9" or @code = "1182-5" or @code = "1184-1" or @code = "1186-6" or @code = "1187-4" or @code = "1189-0" or @code = "1191-6" or @code = "1193-2" or @code = "1194-0" or @code = "1195-7" or @code = "1196-5" or @code = "1197-3" or @code = "1198-1" or @code = "1199-9" or @code = "1200-5" or @code = "1201-3" or @code = "1202-1" or @code = "1203-9" or @code = "1204-7" or @code = "1205-4" or @code = "1207-0" or @code = "1209-6" or @code = "1211-2" or @code = "1212-0" or @code = "1214-6" or @code = "1215-3" or @code = "1216-1" or @code = "1217-9" or @code = "1218-7" or @code = "1219-5" or @code = "1220-3" or @code = "1222-9" or @code = "1223-7" or @code = "1224-5" or @code = "1225-2" or @code = "1226-0" or @code = "1227-8" or @code = "1228-6" or @code = "1229-4" or @code = "1230-2" or @code = "1231-0" or @code = "1233-6" or @code = "1234-4" or @code = "1235-1" or @code = "1236-9" or @code = "1237-7" or @code = "1238-5" or @code = "1239-3" or @code = "1240-1" or @code = "1241-9" or @code = "1242-7" or @code = "1243-5" or @code = "1244-3" or @code = "1245-0" or @code = "1246-8" or @code = "1247-6" or @code = "1248-4" or @code = "1250-0" or @code = "1252-6" or @code = "1254-2" or @code = "1256-7" or @code = "1258-3" or @code = "1260-9" or @code = "1262-5" or @code = "1264-1" or @code = "1265-8" or @code = "1267-4" or @code = "1269-0" or @code = "1271-6" or @code = "1272-4" or @code = "1273-2" or @code = "1275-7" or @code = "1277-3" or @code = "1279-9" or @code = "1281-5" or @code = "1282-3" or @code = "1283-1" or @code = "1285-6" or @code = "1286-4" or @code = "1287-2" or @code = "1288-0" or @code = "1289-8" or @code = "1290-6" or @code = "1291-4" or @code = "1292-2" or @code = "1293-0" or @code = "1294-8" or @code = "1295-5" or @code = "1297-1" or @code = "1299-7" or @code = "1301-1" or @code = "1303-7" or @code = "1305-2" or @code = "1306-0" or @code = "1307-8" or @code = "1309-4" or @code = "1310-2" or @code = "1312-8" or @code = "1313-6" or @code = "1314-4" or @code = "1315-1" or @code = "1317-7" or @code = "1319-3" or @code = "1321-9" or @code = "1323-5" or @code = "1325-0" or @code = "1326-8" or @code = "1327-6" or @code = "1328-4" or @code = "1329-2" or @code = "1331-8" or @code = "1332-6" or @code = "1333-4" or @code = "1334-2" or @code = "1335-9" or @code = "1336-7" or @code = "1337-5" or @code = "1338-3" or @code = "1340-9" or @code = "1342-5" or @code = "1344-1" or @code = "1345-8" or @code = "1346-6" or @code = "1348-2" or @code = "1350-8" or @code = "1352-4" or @code = "1354-0" or @code = "1356-5" or @code = "1358-1" or @code = "1359-9" or @code = "1360-7" or @code = "1361-5" or @code = "1363-1" or @code = "1365-6" or @code = "1366-4" or @code = "1368-0" or @code = "1370-6" or @code = "1372-2" or @code = "1374-8" or @code = "1376-3" or @code = "1378-9" or @code = "1380-5" or @code = "1382-1" or @code = "1383-9" or @code = "1384-7" or @code = "1385-4" or @code = "1387-0" or @code = "1389-6" or @code = "1391-2" or @code = "1392-0" or @code = "1393-8" or @code = "1394-6" or @code = "1395-3" or @code = "1396-1" or @code = "1397-9" or @code = "1398-7" or @code = "1399-5" or @code = "1400-1" or @code = "1401-9" or @code = "1403-5" or @code = "1405-0" or @code = "1407-6" or @code = "1409-2" or @code = "1411-8" or @code = "1412-6" or @code = "1413-4" or @code = "1414-2" or @code = "1416-7" or @code = "1417-5" or @code = "1418-3" or @code = "1419-1" or @code = "1420-9" or @code = "1421-7" or @code = "1422-5" or @code = "1423-3" or @code = "1424-1" or @code = "1425-8" or @code = "1426-6" or @code = "1427-4" or @code = "1428-2" or @code = "1429-0" or @code = "1430-8" or @code = "1431-6" or @code = "1432-4" or @code = "1433-2" or @code = "1434-0" or @code = "1435-7" or @code = "1436-5" or @code = "1437-3" or @code = "1439-9" or @code = "1441-5" or @code = "1442-3" or @code = "1443-1" or @code = "1445-6" or @code = "1446-4" or @code = "1448-0" or @code = "1450-6" or @code = "1451-4" or @code = "1453-0" or @code = "1454-8" or @code = "1456-3" or @code = "1457-1" or @code = "1458-9" or @code = "1460-5" or @code = "1462-1" or @code = "1464-7" or @code = "1465-4" or @code = "1466-2" or @code = "1467-0" or @code = "1468-8" or @code = "1469-6" or @code = "1470-4" or @code = "1471-2" or @code = "1472-0" or @code = "1474-6" or @code = "1475-3" or @code = "1476-1" or @code = "1478-7" or @code = "1479-5" or @code = "1480-3" or @code = "1481-1" or @code = "1482-9" or @code = "1483-7" or @code = "1484-5" or @code = "1485-2" or @code = "1487-8" or @code = "1489-4" or @code = "1490-2" or @code = "1491-0" or @code = "1492-8" or @code = "1493-6" or @code = "1494-4" or @code = "1495-1" or @code = "1496-9" or @code = "1497-7" or @code = "1498-5" or @code = "1499-3" or @code = "1500-8" or @code = "1501-6" or @code = "1502-4" or @code = "1503-2" or @code = "1504-0" or @code = "1505-7" or @code = "1506-5" or @code = "1507-3" or @code = "1508-1" or @code = "1509-9" or @code = "1510-7" or @code = "1511-5" or @code = "1512-3" or @code = "1513-1" or @code = "1514-9" or @code = "1515-6" or @code = "1516-4" or @code = "1518-0" or @code = "1519-8" or @code = "1520-6" or @code = "1521-4" or @code = "1522-2" or @code = "1523-0" or @code = "1524-8" or @code = "1525-5" or @code = "1526-3" or @code = "1527-1" or @code = "1528-9" or @code = "1529-7" or @code = "1530-5" or @code = "1531-3" or @code = "1532-1" or @code = "1533-9" or @code = "1534-7" or @code = "1535-4" or @code = "1536-2" or @code = "1537-0" or @code = "1538-8" or @code = "1539-6" or @code = "1541-2" or @code = "1543-8" or @code = "1545-3" or @code = "1547-9" or @code = "1549-5" or @code = "1551-1" or @code = "1552-9" or @code = "1553-7" or @code = "1554-5" or @code = "1556-0" or @code = "1558-6" or @code = "1560-2" or @code = "1562-8" or @code = "1564-4" or @code = "1566-9" or @code = "1567-7" or @code = "1568-5" or @code = "1569-3" or @code = "1570-1" or @code = "1571-9" or @code = "1573-5" or @code = "1574-3" or @code = "1576-8" or @code = "1578-4" or @code = "1579-2" or @code = "1580-0" or @code = "1582-6" or @code = "1584-2" or @code = "1586-7" or @code = "1587-5" or @code = "1588-3" or @code = "1589-1" or @code = "1590-9" or @code = "1591-7" or @code = "1592-5" or @code = "1593-3" or @code = "1594-1" or @code = "1595-8" or @code = "1596-6" or @code = "1597-4" or @code = "1598-2" or @code = "1599-0" or @code = "1600-6" or @code = "1602-2" or @code = "1603-0" or @code = "1604-8" or @code = "1605-5" or @code = "1607-1" or @code = "1609-7" or @code = "1610-5" or @code = "1611-3" or @code = "1612-1" or @code = "1613-9" or @code = "1614-7" or @code = "1615-4" or @code = "1616-2" or @code = "1617-0" or @code = "1618-8" or @code = "1619-6" or @code = "1620-4" or @code = "1621-2" or @code = "1622-0" or @code = "1623-8" or @code = "1624-6" or @code = "1625-3" or @code = "1626-1" or @code = "1627-9" or @code = "1628-7" or @code = "1629-5" or @code = "1630-3" or @code = "1631-1" or @code = "1632-9" or @code = "1633-7" or @code = "1634-5" or @code = "1635-2" or @code = "1636-0" or @code = "1637-8" or @code = "1638-6" or @code = "1639-4" or @code = "1640-2" or @code = "1641-0" or @code = "1643-6" or @code = "1645-1" or @code = "1647-7" or @code = "1649-3" or @code = "1651-9" or @code = "1653-5" or @code = "1654-3" or @code = "1655-0" or @code = "1656-8" or @code = "1657-6" or @code = "1659-2" or @code = "1661-8" or @code = "1663-4" or @code = "1665-9" or @code = "1667-5" or @code = "1668-3" or @code = "1670-9" or @code = "1671-7" or @code = "1672-5" or @code = "1673-3" or @code = "1675-8" or @code = "1677-4" or @code = "1679-0" or @code = "1680-8" or @code = "1681-6" or @code = "1683-2" or @code = "1685-7" or @code = "1687-3" or @code = "1688-1" or @code = "1689-9" or @code = "1690-7" or @code = "1692-3" or @code = "1694-9" or @code = "1696-4" or @code = "1697-2" or @code = "1698-0" or @code = "1700-4" or @code = "1702-0" or @code = "1704-6" or @code = "1705-3" or @code = "1707-9" or @code = "1709-5" or @code = "1711-1" or @code = "1712-9" or @code = "1713-7" or @code = "1715-2" or @code = "1717-8" or @code = "1718-6" or @code = "1719-4" or @code = "1720-2" or @code = "1722-8" or @code = "1724-4" or @code = "1725-1" or @code = "1726-9" or @code = "1727-7" or @code = "1728-5" or @code = "1729-3" or @code = "1730-1" or @code = "1731-9" or @code = "1732-7" or @code = "1733-5" or @code = "1735-0" or @code = "1737-6" or @code = "1739-2" or @code = "1740-0" or @code = "1741-8" or @code = "1742-6" or @code = "1743-4" or @code = "1744-2" or @code = "1745-9" or @code = "1746-7" or @code = "1747-5" or @code = "1748-3" or @code = "1749-1" or @code = "1750-9" or @code = "1751-7" or @code = "1752-5" or @code = "1753-3" or @code = "1754-1" or @code = "1755-8" or @code = "1756-6" or @code = "1757-4" or @code = "1758-2" or @code = "1759-0" or @code = "1760-8" or @code = "1761-6" or @code = "1762-4" or @code = "1763-2" or @code = "1764-0" or @code = "1765-7" or @code = "1766-5" or @code = "1767-3" or @code = "1768-1" or @code = "1769-9" or @code = "1770-7" or @code = "1771-5" or @code = "1772-3" or @code = "1773-1" or @code = "1774-9" or @code = "1775-6" or @code = "1776-4" or @code = "1777-2" or @code = "1778-0" or @code = "1779-8" or @code = "1780-6" or @code = "1781-4" or @code = "1782-2" or @code = "1783-0" or @code = "1784-8" or @code = "1785-5" or @code = "1786-3" or @code = "1787-1" or @code = "1788-9" or @code = "1789-7" or @code = "1790-5" or @code = "1791-3" or @code = "1792-1" or @code = "1793-9" or @code = "1794-7" or @code = "1795-4" or @code = "1796-2" or @code = "1797-0" or @code = "1798-8" or @code = "1799-6" or @code = "1800-2" or @code = "1801-0" or @code = "1802-8" or @code = "1803-6" or @code = "1804-4" or @code = "1805-1" or @code = "1806-9" or @code = "1807-7" or @code = "1808-5" or @code = "1809-3" or @code = "1811-9" or @code = "1813-5" or @code = "1814-3" or @code = "1815-0" or @code = "1816-8" or @code = "1817-6" or @code = "1818-4" or @code = "1819-2" or @code = "1820-0" or @code = "1821-8" or @code = "1822-6" or @code = "1823-4" or @code = "1824-2" or @code = "1825-9" or @code = "1826-7" or @code = "1827-5" or @code = "1828-3" or @code = "1829-1" or @code = "1830-9" or @code = "1831-7" or @code = "1832-5" or @code = "1833-3" or @code = "1834-1" or @code = "1835-8" or @code = "1837-4" or @code = "1838-2" or @code = "1840-8" or @code = "1842-4" or @code = "1844-0" or @code = "1845-7" or @code = "1846-5" or @code = "1847-3" or @code = "1848-1" or @code = "1849-9" or @code = "1850-7" or @code = "1851-5" or @code = "1852-3" or @code = "1853-1" or @code = "1854-9" or @code = "1855-6" or @code = "1856-4" or @code = "1857-2" or @code = "1858-0" or @code = "1859-8" or @code = "1860-6" or @code = "1861-4" or @code = "1862-2" or @code = "1863-0" or @code = "1864-8" or @code = "1865-5" or @code = "1866-3" or @code = "1867-1" or @code = "1868-9" or @code = "1869-7" or @code = "1870-5" or @code = "1871-3" or @code = "1872-1" or @code = "1873-9" or @code = "1874-7" or @code = "1875-4" or @code = "1876-2" or @code = "1877-0" or @code = "1878-8" or @code = "1879-6" or @code = "1880-4" or @code = "1881-2" or @code = "1882-0" or @code = "1883-8" or @code = "1884-6" or @code = "1885-3" or @code = "1886-1" or @code = "1887-9" or @code = "1888-7" or @code = "1889-5" or @code = "1891-1" or @code = "1892-9" or @code = "1893-7" or @code = "1894-5" or @code = "1896-0" or @code = "1897-8" or @code = "1898-6" or @code = "1899-4" or @code = "1900-0" or @code = "1901-8" or @code = "1902-6" or @code = "1903-4" or @code = "1904-2" or @code = "1905-9" or @code = "1906-7" or @code = "1907-5" or @code = "1908-3" or @code = "1909-1" or @code = "1910-9" or @code = "1911-7" or @code = "1912-5" or @code = "1913-3" or @code = "1914-1" or @code = "1915-8" or @code = "1916-6" or @code = "1917-4" or @code = "1918-2" or @code = "1919-0" or @code = "1920-8" or @code = "1921-6" or @code = "1922-4" or @code = "1923-2" or @code = "1924-0" or @code = "1925-7" or @code = "1926-5" or @code = "1927-3" or @code = "1928-1" or @code = "1929-9" or @code = "1930-7" or @code = "1931-5" or @code = "1932-3" or @code = "1933-1" or @code = "1934-9" or @code = "1935-6" or @code = "1936-4" or @code = "1937-2" or @code = "1938-0" or @code = "1939-8" or @code = "1940-6" or @code = "1941-4" or @code = "1942-2" or @code = "1943-0" or @code = "1944-8" or @code = "1945-5" or @code = "1946-3" or @code = "1947-1" or @code = "1948-9" or @code = "1949-7" or @code = "1950-5" or @code = "1951-3" or @code = "1952-1" or @code = "1953-9" or @code = "1954-7" or @code = "1955-4" or @code = "1956-2" or @code = "1957-0" or @code = "1958-8" or @code = "1959-6" or @code = "1960-4" or @code = "1961-2" or @code = "1962-0" or @code = "1963-8" or @code = "1964-6" or @code = "1966-1" or @code = "1968-7" or @code = "1969-5" or @code = "1970-3" or @code = "1972-9" or @code = "1973-7" or @code = "1974-5" or @code = "1975-2" or @code = "1976-0" or @code = "1977-8" or @code = "1978-6" or @code = "1979-4" or @code = "1980-2" or @code = "1981-0" or @code = "1982-8" or @code = "1984-4" or @code = "1985-1" or @code = "1986-9" or @code = "1987-7" or @code = "1988-5" or @code = "1990-1" or @code = "1992-7" or @code = "1993-5" or @code = "1994-3" or @code = "1995-0" or @code = "1996-8" or @code = "1997-6" or @code = "1998-4" or @code = "1999-2" or @code = "2000-8" or @code = "2002-4" or @code = "2004-0" or @code = "2006-5" or @code = "2007-3" or @code = "2008-1" or @code = "2009-9" or @code = "2010-7" or @code = "2011-5" or @code = "2012-3" or @code = "2013-1" or @code = "2014-9" or @code = "2015-6" or @code = "2016-4" or @code = "2017-2" or @code = "2018-0" or @code = "2019-8" or @code = "2020-6" or @code = "2021-4" or @code = "2022-2" or @code = "2023-0" or @code = "2024-8" or @code = "2025-5" or @code = "2026-3" or @code = "2028-9" or @code = "2029-7" or @code = "2030-5" or @code = "2031-3" or @code = "2032-1" or @code = "2033-9" or @code = "2034-7" or @code = "2035-4" or @code = "2036-2" or @code = "2037-0" or @code = "2038-8" or @code = "2039-6" or @code = "2040-4" or @code = "2041-2" or @code = "2042-0" or @code = "2043-8" or @code = "2044-6" or @code = "2045-3" or @code = "2046-1" or @code = "2047-9" or @code = "2048-7" or @code = "2049-5" or @code = "2050-3" or @code = "2051-1" or @code = "2052-9" or @code = "2054-5" or @code = "2056-0" or @code = "2058-6" or @code = "2060-2" or @code = "2061-0" or @code = "2062-8" or @code = "2063-6" or @code = "2064-4" or @code = "2065-1" or @code = "2066-9" or @code = "2067-7" or @code = "2068-5" or @code = "2069-3" or @code = "2070-1" or @code = "2071-9" or @code = "2072-7" or @code = "2073-5" or @code = "2074-3" or @code = "2075-0" or @code = "2076-8" or @code = "2078-4" or @code = "2079-2" or @code = "2080-0" or @code = "2081-8" or @code = "2082-6" or @code = "2083-4" or @code = "2085-9" or @code = "2086-7" or @code = "2087-5" or @code = "2088-3" or @code = "2089-1" or @code = "2090-9" or @code = "2091-7" or @code = "2092-5" or @code = "2093-3" or @code = "2094-1" or @code = "2095-8" or @code = "2096-6" or @code = "2097-4" or @code = "2098-2" or @code = "2100-6" or @code = "2101-4" or @code = "2102-2" or @code = "2103-0" or @code = "2104-8" or @code = "2106-3" or @code = "2108-9" or @code = "2109-7" or @code = "2110-5" or @code = "2111-3" or @code = "2112-1" or @code = "2113-9" or @code = "2114-7" or @code = "2115-4" or @code = "2116-2" or @code = "2118-8" or @code = "2119-6" or @code = "2120-4" or @code = "2121-2" or @code = "2122-0" or @code = "2123-8" or @code = "2124-6" or @code = "2125-3" or @code = "2126-1" or @code = "2127-9" or @code = "2129-5" or @code = "2131-1" or @code = "2500-7"])'>
     Error:  CONF-QRDA1-28 The raceCode element SHALL be 2.16.840.1.113883.5.104 and the value of the @code SHALL be from Appendix_O-Race tab of the Downloadabel Resources table.
     </assert> -->
-   <!-- <include href="templates/2.16.840.113883.5.104.ent" /> -->
-    <assert test='(cda:recordTarget/cda:patientRole/cda:patient/cda:birthTime)'>
+		<!-- <include href="templates/2.16.840.113883.5.104.ent" /> -->
+		<assert test="(cda:recordTarget/cda:patientRole/cda:patient/cda:birthTime)">
     Error:  CONF-QRDA1-29 The 'birthTime' element SHALL be present.
     </assert>
-    <assert test='string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:birthTime/@value) &gt;= 8'>
+		<assert test="string-length(cda:recordTarget/cda:patientRole/cda:patient/cda:birthTime/@value) &gt;= 8">
        Error: CONF-QRDA1-30 The birthTime value attribute value SHALL be at least precise to the day (YYYYMMDD).
     </assert>
-    <assert test='count(cda:recordTarget/cda:patientRole/cda:providerOrganization) = 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:providerOrganization) = 1">
      Error: CONF-QRDA1-31  The report SHALL contain exactly one /recordTarget/patientRole/providerOrganization.
      </assert>
-     <assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id[@root="2.16.840.1.113883.4.6"])'>
+		<assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id[@root="2.16.840.1.113883.4.6"])'>
      Error: CONF-QRDA1-32 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.6'.
      </assert>
-    <!-- NPI validation -->
-  <let name="npi" value="cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id/@extension" />
-  <assert test="((sum(for $j in (for $i in
-reverse(string-to-codepoints($npi))[position() mod 2 = 0] return ($i - 48) *
-2, for $i in reverse(string-to-codepoints($npi))[position() mod 2 = 1]
-return ($i - 48)) return ($j mod 10, $j idiv 10)) + 24) mod 10) = 0">
+		<!-- NPI validation -->
+		<let name="npi" value="cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id/@extension"/>
+		<assert test="((sum(for $j in (for $i in reverse(string-to-codepoints($npi))[position() mod 2 = 0] return ($i - 48) * 2, for $i in reverse(string-to-codepoints($npi))[position() mod 2 = 1] return ($i - 48)) return ($j mod 10, $j idiv 10)) + 24) mod 10) = 0">
   Error: CONF-QRDA1-32 cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id[@extension that containst the NPI Failed the NPI validation test!!
   </assert>
-  <assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:name)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:name)">
   Warning: CONF-QRDA1-33 recordTarget/patientRole/providerOrganization/name element SHOULD be present
   </assert>
-  <assert test='count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr) &gt;= 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr) &gt;= 1">
   Error: CONF-QRDA1-34 At least one recordTarget/patientRole/providerOrganization/name element SHALL be present
   </assert>
-  <assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:streetAddressLine)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:streetAddressLine)">
   Warning: CONF-QRDA1-35 recordTarget/patientRole/providerOrganization/addr/streetAddressLine) element MAY be present
   </assert>
-  <assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:city)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:city)">
   Warning: CONF-QRDA1-36 recordTarget/patientRole/providerOrganization/addr/city) element MAY be present
   </assert>
-  <assert test='contains("AL AK AZ AR AS CA CO CT DE DC FL GA GU HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC MP ND OH OK OR PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY",cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:state)'>
+		<assert test='contains("AL AK AZ AR AS CA CO CT DE DC FL GA GU HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC MP ND OH OK OR PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY",cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:state)'>
   Error: CONF-QRDA1-37 recordTarget/patientRole/providerOrganization/addr/state) element SHALL be present and shall be one of the states in the Appendix_V-States Downloadable Resource
   </assert>
-  <assert test='(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:postalCode)'>
+		<assert test="(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr/cda:postalCode)">
   Warning: CONF-QRDA1-38 recordTarget/patientRole/providerOrganization/addr/postalCode) element MAY be present
   </assert>
-  <assert test='count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf) = 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf) = 1">
   Error: CONF-QRDA1-39 Report SHALL contain exactly one recordTarget/patientRole/providerOrganization/asOrganizationPartOf element.
   </assert>
-  <assert test='count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization) = 1'>
+		<assert test="count(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization) = 1">
   Error: CONF-QRDA1-40 Report SHALL contain exactly one recordTarget/patientRole/providerOrganization/asOrganizationPartOf/wholeOrganization element.
-  </assert>  
-  <assert test='cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/cda:id[@root = "2.16.840.1.113883.4.2"]'>
+  </assert>
+		<assert test='cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/cda:id[@root = "2.16.840.1.113883.4.2"]'>
     Error:  CONF-QRDA1-41 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.2'.
   </assert>
-  <!--<let name="tin" value="cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/@extension"/>-->
-  <assert test='string-length(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/cda:id/@extension) = "9"'>
+		<!--<let name="tin" value="cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/@extension"/>-->
+		<assert test='string-length(cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:asOrganizationPartOf/cda:wholeOrganization/cda:id/@extension) = "9"'>
   Error: CONF-QRDA1-41 The patient's provider's organization's id 'extension' attribute value SHALL be present as the provider's TIN (nine-digit value in XXXXXXXXX format). 
   </assert>
-  <assert test='count(cda:author)= 1'>
+		<assert test="count(cda:author)= 1">
   CONF-QRDA1-42 Report SHALL contain exactly one /clinicalDocument/author.
   </assert>
-  <assert test='cda:author/cda:time'>
+		<assert test="cda:author/cda:time">
        Error: CONF-QRDA1-43 The /clinicalDocument/author/time element shall be present.
   </assert>
-  <assert test='string-length(cda:author/cda:time/@value) &gt;= 8'>
+		<assert test="string-length(cda:author/cda:time/@value) &gt;= 8">
        Error: CONF-QRDA1-44 The effectiveTime value attribute value SHALL be at least precise to the day YYYYMMDD.
   </assert>
-  <assert test='cda:author/cda:assignedAuthor'>
+		<assert test="cda:author/cda:assignedAuthor">
      Error: CONF-QRDA1-45 clinicalDocument/author/assignedAuthor element SHALL be present.
   </assert>
-  <assert test='cda:author/cda:assignedAuthor/cda:id[@root="2.16.840.1.113883.249.6"]'>
-     Error: CONF-QRDA1-46 clinicalDocument/author/assignedAuthor/id element SHALL be present.  The id @root SHALL be 2.16.840.1.113883.249.6 and the @extension SHALL be the CMS Approved Qualified Software Version.
-  </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:assignedPerson) &lt;= 1'>                  
+		<assert test='cda:author/cda:assignedAuthor/cda:id[@root="2.16.840.1.113883.3.249.6"]'>
+     Error: CONF-QRDA1-46 clinicalDocument/author/assignedAuthor/id element SHALL be present.  The id @root SHALL be 2.16.840.1.113883.3.249.6 and the @extension SHALL be the CMS Approved Qualified Software Version.
+  </assert>
+		<assert test="count(cda:author/cda:assignedAuthor/cda:assignedPerson) &lt;= 1">                  
      Warning: CONF-QRDA1-47 and 48: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/assignedPerson element and if present may contain exactly one.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:assignedPerson/name) &gt;= 0'>                  
+		<assert test="count(cda:author/cda:assignedAuthor/cda:assignedPerson/name) &gt;= 0">                  
        Error: CONF-QRDA1-49: A QRDA Category I report MAY contain at least one legal name ClinicalDocument/author/assignedAuthor/assignedPerson/name.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:assignedPerson/cda:name/cda:given) &gt;= 0'>                  
+		<assert test="count(cda:author/cda:assignedAuthor/cda:assignedPerson/cda:name/cda:given) &gt;= 0">                  
        Error: CONF-QRDA1-50: A QRDA Category I report MAY contain at least one ClinicalDocument/author/assignedAuthor/assignedPerson/name/given.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:assignedPerson/cda:name/cda:family) &gt;= 0'>                  
+		<assert test="count(cda:author/cda:assignedAuthor/cda:assignedPerson/cda:name/cda:family) &gt;= 0">                  
        Error: CONF-QRDA1-51: A QRDA Category I report MAY contain at least one ClinicalDocument/author/assignedAuthor/assignedPerson/name/family.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:representedOrganization) &lt;= 1'>                  
+		<assert test="count(cda:author/cda:assignedAuthor/cda:representedOrganization) &lt;= 1">                  
        Error: CONF-QRDA1-52: A QRDA Category I report MAY contain one ClinicalDocument/author/assignedAuthor/representedOrganization.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:representeOrganization/cda:id[@root="*"]) &gt;= 0'>                  
+		<assert test='count(cda:author/cda:assignedAuthor/cda:representeOrganization/cda:id[@root="*"]) &gt;= 0'>                  
        Error: CONF-QRDA1-53: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/representedOrganization/id element with @root containing the OID of the authoring organization.
   </assert>
-  <assert test='count(cda:author/cda:assignedAuthor/cda:representeOrganization/name) &gt;= 0'>                  
+		<assert test="count(cda:author/cda:assignedAuthor/cda:representeOrganization/name) &gt;= 0">                  
        Error: CONF-QRDA1-54: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/representedOrganization/name element.
   </assert>
- <!-- awaiting more information from IFMC about what the "informant" is as the documentation is not clear if it is someone associated with the patient, like a family member or the organization that is preparing the document or what.   It certainly lseems to be the latter because a lot of the required elements don't make sense otherwise and would need to be @nullFlavor I would think -->
-  
-  <assert test='count(cda:informant) = 1'>
+		<!--"The source of the report is the reporting facility collected via the informant participant."  This will replace the initial paragraph about the informant in the submission specs as it was incorrect in the guide. IFMC agreed to fix it.  This is basically a section discribing who or what organization is responsible for this particular document.
+  -->
+		<assert test="count(cda:informant) = 1">
        Error: CONF-QRDA1-55: A QRDA Category I report SHALL contain exactly one
        ClinicalDocument/informant which may represents the reporting facility.
   </assert>
-   <assert test='count(cda:informant/cda:assignedEntity) = 1'>
+		<assert test="count(cda:informant/cda:assignedEntity) = 1">
        Error: CONF-QRDA1-56: A QRDA Category I report SHALL contain exactly one
        ClinicalDocument/informant/assignedEntity
    </assert>
-      <assert test='cda:informant/cda:assignedEntity/cda:id'>
+		<assert test="cda:informant/cda:assignedEntity/cda:id">
        Error: CONF-QRDA1-57 and 58 The assignedEntity id element SHALL be present.  If there is not valid value informant/assignedEntity/id then @nullFlavor SHALL be NA (Not applicable) (i.e., id nullFlavor="NA")
    </assert>
-   <assert test='cda:informant/cda:assignedEntity/cda:representedOrganization'>
+		<assert test="cda:informant/cda:assignedEntity/cda:representedOrganization">
        Error: CONF-QRDA1-59 The /informant/assignedEntity/representedOraganization element SHALL be present.  
    </assert>
-   <assert test='cda:informant/cda:assignedEntity/cda:representedOrganization/cda:id'>
+		<assert test="cda:informant/cda:assignedEntity/cda:representedOrganization/cda:id">
        Error: CONF-QRDA1-60 The /informant/assignedEntity/representedOraganization/id element SHALL be present.  
    </assert>
-   <assert test='cda:informant/cda:assignedEntity/cda:representedOrganization/cda:name'>
+		<assert test="cda:informant/cda:assignedEntity/cda:representedOrganization/cda:name">
        Warning: CONF-QRDA1-61 The /informant/assignedEntity/representedOraganization/name element SHOULD be present.  
    </assert>
-   <assert test='not(cda:custodian/cda:assignedEntity/cda:representedOrganization/cda:name) or cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:id/@root'>
+		<assert test="not(cda:custodian/cda:assignedEntity/cda:representedOrganization/cda:name) or cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:id/@root">
        Error: CONF-QRDA1-62: A QRDA Category I report SHALL contain exactly one
        custodian/assignedCustodian/representedCustodianOrganization/
@@ -249,82 +241,198 @@
        root of the custodian organization.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or count(cda:legalAuthenticator/cda:time) = 1'>
+		<assert test="not(cda:legalAuthenticator) or count(cda:legalAuthenticator/cda:time) = 1">
        Error: CONF-QRDA1-65 and 66: A QRDA Category I report SHOULD contain a legal authenticatior element and, if present, it  SHALL contain exactly one ClinicalDocument/legalAuthenticator/time element.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or string-length(cda:legalAuthenticator/cda:time/@value) &gt;= 8'>
+		<assert test="not(cda:legalAuthenticator) or string-length(cda:legalAuthenticator/cda:time/@value) &gt;= 8">
        Error: CONF-QRDA1-67 If there is a cliniacalDocument/legalAuthenticator/time element,time @value attribute value SHALL be at least precise to the day YYYYMMDD.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or count(cda:legalAuthenticator/cda:signatureCode) = 1'>
+		<assert test="not(cda:legalAuthenticator) or count(cda:legalAuthenticator/cda:signatureCode) = 1">
        Error: CONF-QRDA1-68: If present, a QRDA Category I report legalAuthenticator SHALL
         contain exactly one signatureCode element.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:signatureCode[@code="S"]'>
+		<assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:signatureCode[@code="S"]'>
                   Error: CONF-QRDA1-69: The value of a QRDA ClinicalDocument/signatureCode/@code
        SHALL be S.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity'> 
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity"> 
     Error: CONF-QRDA1-70: If present, a QRDA Category I report legalAuthenticator SHALL
        contain exactly one assignedEntity element that represents the legal
        authenticator of the document.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:id'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:id">
        Error: CONF-QRDA1-71: If present,the ClinicalDocument/legalAuthenticator/assignedEntity
        SHALL contain an id element.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson">
        Warning: CONF-QRDA1-72: If the legalAuthenticatior element is present, the, ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson
        SHOULD be present contain and assignedPerson element.
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson/cda:name/cda:given'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson/cda:name/cda:given">
        Warning: CONF-QRDA1-73: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson/name/given
        MAY be present. 
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson/cda:name/cda:family'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson/cda:name/cda:family">
        Warning: CONF-QRDA1-74: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson/name/family
        MAY be present. 
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization">
        Warning: CONF-QRDA1-75: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganization
        SHOULD be present. 
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization/cda:id'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization/cda:id">
        Warning: CONF-QRDA1-76: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganization/id element
        SHALL be present. 
     </assert>
-    <assert test='not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization/cda:name'>
+		<assert test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:representedOrganization/cda:name">
        Warning: CONF-QRDA1-77: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganzation/name/
        SHOULD be present. 
     </assert>
-    
-    <!--NEXT TO COME - participant and documentationOf -->
-    
-    <assert test='cda:component/cda:structuredBody'>
-       Error: CONF-QRDA-I-20: A QRDA Category I report SHALL contain exactly one
+		<!-- participant-->
+		<assert test='cda:participant[@typeCode="PRF"]'>
+     Error: CONF-QRDA1-78 The 'participant' element SHALL be present and the clinicalDocument/participant@typeCode SHALL be "PRF" (performer).
+     </assert>
+		<assert test='cda:participant/cda:functionCode[@code="PCP"]'>
+     Error: CONF-QRDA1-79 and 80  The clinicalDocument/participant/functionCode element SHALL be present and the code SHALL be "PCP" (primary care physician)
+     </assert>
+		<assert test='cda:participant/cda:functionCode[@codeSystem="2.16.840.1.113883.5.88"]'>
+     Error: CONF-QRDA1-81  The clinicalDocument/participant/functionCode element SHALL be present and the codeSystem SHALL be 2.16.840.1.113883.5.88 (ParticipationFunction from HL7)
+     </assert>
+		<assert test='cda:participant/cda:associatedEntity[@classCode="PROV"]'>
+     Error: CONF-QRDA1-82 and 83  The clinicalDocument/participant/associatedEntity element SHALL be present and the @classCode shall be PROV (healthcare provider).
+     </assert>
+		<assert test="cda:participant/cda:associatedEntity/cda:id/@root">
+     Error: CONF-QRDA1-84 The clinicalDocument/participant/associatedEntity/id/@root SHALL be present.
+     </assert>
+		<assert test="cda:participant/cda:associatedEntity/cda:associatedPerson">
+     Warning: CONF-QRDA1-85 The clinicalDocument/participant/associatedEntity/associatedPerson element SHOULD be present.
+     </assert>
+		<assert test="not(cda:participant/cda:associatedEntity/cda:associatedPerson) or cda:participant/cda:associatedEntity/cda:associatedPerson/cda:name/cda:given">
+     Warning: CONF-QRDA1-86 If the clinicalDocument/participant/associatedEntity/associatedPerson element is present,at least one legal given name MAY be present in  the clinicalDocument/participant/associatedEntity/associatedPerson/name/given element.
+     </assert>
+		<assert test="not(cda:participant/cda:associatedEntity/cda:associatedPerson) or cda:participant/cda:associatedEntity/cda:associatedPerson/cda:name/cda:family">
+     Warning: CONF-QRDA1-87 If the clinicalDocument/participant/associatedEntity/associatedPerson element is present, the clinicalDocument/participant/associatedEntity/associatedPerson/name/family at least one legal family name MAY be present.
+     </assert>
+		<!-- documentationOf which begins a section describing encounters and the provider, location and time.-->
+		<assert test="cda:documentationOf">
+       Error:  CONF-QRDA1-88  A CMS EHR QRDA report SHALL contain one or more clinicalDocument/documentationOf elements.
+    </assert>
+		<assert test='cda:documentationOf/cda:serviceEvent/cda:code[@codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="97804" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0271" or @codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="97804" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0271" or @codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="97804" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0271" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99234" or @codeSystem="2.16.840.1.113883.6.12" and @code="99235" or @codeSystem="2.16.840.1.113883.6.12" and @code="99236" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99356" or @codeSystem="2.16.840.1.113883.6.12" and @code="99357" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.0" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.3" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.5" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.6" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.8" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.9" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.0" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.3" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.5" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.6" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.8" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.9" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="90801" or @codeSystem="2.16.840.1.113883.6.12" and @code="90802" or @codeSystem="2.16.840.1.113883.6.12" and @code="90804" or @codeSystem="2.16.840.1.113883.6.12" and @code="90805" or @codeSystem="2.16.840.1.113883.6.12" and @code="90806" or @codeSystem="2.16.840.1.113883.6.12" and @code="90807" or @codeSystem="2.16.840.1.113883.6.12" and @code="90808" or @codeSystem="2.16.840.1.113883.6.12" and @code="90809" or @codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="96150" or @codeSystem="2.16.840.1.113883.6.12" and @code="96151" or @codeSystem="2.16.840.1.113883.6.12" and @code="96152" or @codeSystem="2.16.840.1.113883.6.12" and @code="97001" or @codeSystem="2.16.840.1.113883.6.12" and @code="97002" or @codeSystem="2.16.840.1.113883.6.12" and @code="97003" or @codeSystem="2.16.840.1.113883.6.12" and @code="97004" or @codeSystem="2.16.840.1.113883.6.12" and @code="97750" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="97804" or @codeSystem="2.16.840.1.113883.6.12" and @code="98940" or @codeSystem="2.16.840.1.113883.6.12" and @code="98941" or @codeSystem="2.16.840.1.113883.6.12" and @code="98942" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99381" or @codeSystem="2.16.840.1.113883.6.12" and @code="99382" or @codeSystem="2.16.840.1.113883.6.12" and @code="99383" or @codeSystem="2.16.840.1.113883.6.12" and @code="99384" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99391" or @codeSystem="2.16.840.1.113883.6.12" and @code="99392" or @codeSystem="2.16.840.1.113883.6.12" and @code="99393" or @codeSystem="2.16.840.1.113883.6.12" and @code="99394" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.14" and @code="D7140" or @codeSystem="2.16.840.1.113883.6.14" and @code="D7210" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0101" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0108" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0109" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0271" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="90801" or @codeSystem="2.16.840.1.113883.6.12" and @code="90802" or @codeSystem="2.16.840.1.113883.6.12" and @code="90804" or @codeSystem="2.16.840.1.113883.6.12" and @code="90805" or @codeSystem="2.16.840.1.113883.6.12" and @code="90806" or @codeSystem="2.16.840.1.113883.6.12" and @code="90807" or @codeSystem="2.16.840.1.113883.6.12" and @code="90808" or @codeSystem="2.16.840.1.113883.6.12" and @code="90809" or @codeSystem="2.16.840.1.113883.6.12" and @code="97001" or @codeSystem="2.16.840.1.113883.6.12" and @code="97002" or @codeSystem="2.16.840.1.113883.6.12" and @code="97003" or @codeSystem="2.16.840.1.113883.6.12" and @code="97004" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="98960" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.14" and @code="D7140" or @codeSystem="2.16.840.1.113883.6.14" and @code="D7210" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0101" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0108" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="90801" or @codeSystem="2.16.840.1.113883.6.12" and @code="90802" or @codeSystem="2.16.840.1.113883.6.12" and @code="90804" or @codeSystem="2.16.840.1.113883.6.12" and @code="90805" or @codeSystem="2.16.840.1.113883.6.12" and @code="90806" or @codeSystem="2.16.840.1.113883.6.12" and @code="90807" or @codeSystem="2.16.840.1.113883.6.12" and @code="90808" or @codeSystem="2.16.840.1.113883.6.12" and @code="90809" or @codeSystem="2.16.840.1.113883.6.12" and @code="90810" or @codeSystem="2.16.840.1.113883.6.12" and @code="90811" or @codeSystem="2.16.840.1.113883.6.12" and @code="90812" or @codeSystem="2.16.840.1.113883.6.12" and @code="90813" or @codeSystem="2.16.840.1.113883.6.12" and @code="90814" or @codeSystem="2.16.840.1.113883.6.12" and @code="90815" or @codeSystem="2.16.840.1.113883.6.12" and @code="90845" or @codeSystem="2.16.840.1.113883.6.12" and @code="90862" or @codeSystem="2.16.840.1.113883.6.12" and @code="96150" or @codeSystem="2.16.840.1.113883.6.12" and @code="96152" or @codeSystem="2.16.840.1.113883.6.12" and @code="97003" or @codeSystem="2.16.840.1.113883.6.12" and @code="97004" or @codeSystem="2.16.840.1.113883.6.12" and @code="97802" or @codeSystem="2.16.840.1.113883.6.12" and @code="97803" or @codeSystem="2.16.840.1.113883.6.12" and @code="97804" or @codeSystem="2.16.840.1.113883.6.12" and @code="98960" or @codeSystem="2.16.840.1.113883.6.12" and @code="98961" or @codeSystem="2.16.840.1.113883.6.12" and @code="98962" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0270" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0271" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99382" or @codeSystem="2.16.840.1.113883.6.12" and @code="99383" or @codeSystem="2.16.840.1.113883.6.12" and @code="99384" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99392" or @codeSystem="2.16.840.1.113883.6.12" and @code="99393" or @codeSystem="2.16.840.1.113883.6.12" and @code="99394" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.103" and @code="V20.2" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.0" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.3" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.5" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.6" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.8" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.9" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="90801" or @codeSystem="2.16.840.1.113883.6.12" and @code="90802" or @codeSystem="2.16.840.1.113883.6.12" and @code="90804" or @codeSystem="2.16.840.1.113883.6.12" and @code="90805" or @codeSystem="2.16.840.1.113883.6.12" and @code="90806" or @codeSystem="2.16.840.1.113883.6.12" and @code="90807" or @codeSystem="2.16.840.1.113883.6.12" and @code="90808" or @codeSystem="2.16.840.1.113883.6.12" and @code="90809" or @codeSystem="2.16.840.1.113883.6.12" and @code="90810" or @codeSystem="2.16.840.1.113883.6.12" and @code="90811" or @codeSystem="2.16.840.1.113883.6.12" and @code="90812" or @codeSystem="2.16.840.1.113883.6.12" and @code="90813" or @codeSystem="2.16.840.1.113883.6.12" and @code="90814" or @codeSystem="2.16.840.1.113883.6.12" and @code="90815" or @codeSystem="2.16.840.1.113883.6.12" and @code="90845" or @codeSystem="2.16.840.1.113883.6.12" and @code="90862" or @codeSystem="2.16.840.1.113883.6.12" and @code="96150" or @codeSystem="2.16.840.1.113883.6.12" and @code="96152" or @codeSystem="2.16.840.1.113883.6.12" and @code="97003" or @codeSystem="2.16.840.1.113883.6.12" and @code="97004" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99385" or @codeSystem="2.16.840.1.113883.6.12" and @code="99386" or @codeSystem="2.16.840.1.113883.6.12" and @code="99387" or @codeSystem="2.16.840.1.113883.6.12" and @code="99395" or @codeSystem="2.16.840.1.113883.6.12" and @code="99396" or @codeSystem="2.16.840.1.113883.6.12" and @code="99397" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="99401" or @codeSystem="2.16.840.1.113883.6.12" and @code="99402" or @codeSystem="2.16.840.1.113883.6.12" and @code="99403" or @codeSystem="2.16.840.1.113883.6.12" and @code="99404" or @codeSystem="2.16.840.1.113883.6.12" and @code="99411" or @codeSystem="2.16.840.1.113883.6.12" and @code="99412" or @codeSystem="2.16.840.1.113883.6.12" and @code="99420" or @codeSystem="2.16.840.1.113883.6.12" and @code="99429" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99217" or @codeSystem="2.16.840.1.113883.6.12" and @code="99218" or @codeSystem="2.16.840.1.113883.6.12" and @code="99219" or @codeSystem="2.16.840.1.113883.6.12" and @code="99220" or @codeSystem="2.16.840.1.113883.6.12" and @code="99221" or @codeSystem="2.16.840.1.113883.6.12" and @code="99222" or @codeSystem="2.16.840.1.113883.6.12" and @code="99223" or @codeSystem="2.16.840.1.113883.6.12" and @code="99231" or @codeSystem="2.16.840.1.113883.6.12" and @code="99232" or @codeSystem="2.16.840.1.113883.6.12" and @code="99233" or @codeSystem="2.16.840.1.113883.6.12" and @code="99238" or @codeSystem="2.16.840.1.113883.6.12" and @code="99239" or @codeSystem="2.16.840.1.113883.6.12" and @code="99251" or @codeSystem="2.16.840.1.113883.6.12" and @code="99252" or @codeSystem="2.16.840.1.113883.6.12" and @code="99253" or @codeSystem="2.16.840.1.113883.6.12" and @code="99254" or @codeSystem="2.16.840.1.113883.6.12" and @code="99255" or @codeSystem="2.16.840.1.113883.6.12" and @code="99281" or @codeSystem="2.16.840.1.113883.6.12" and @code="99282" or @codeSystem="2.16.840.1.113883.6.12" and @code="99283" or @codeSystem="2.16.840.1.113883.6.12" and @code="99284" or @codeSystem="2.16.840.1.113883.6.12" and @code="99285" or @codeSystem="2.16.840.1.113883.6.12" and @code="99291" or @codeSystem="2.16.840.1.113883.6.12" and @code="99318" or @codeSystem="2.16.840.1.113883.6.12" and @code="99382" or @codeSystem="2.16.840.1.113883.6.12" and @code="99392" or @codeSystem="2.16.840.1.113883.6.12" and @code="99455" or @codeSystem="2.16.840.1.113883.6.12" and @code="99456" or @codeSystem="2.16.840.1.113883.6.103" and @code="V20.2" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.0" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.3" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.5" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.6" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.8" or @codeSystem="2.16.840.1.113883.6.103" and @code="V70.9" or @codeSystem="2.16.840.1.113883.6.12" and @code="99201" or @codeSystem="2.16.840.1.113883.6.12" and @code="99202" or @codeSystem="2.16.840.1.113883.6.12" and @code="99203" or @codeSystem="2.16.840.1.113883.6.12" and @code="99204" or @codeSystem="2.16.840.1.113883.6.12" and @code="99205" or @codeSystem="2.16.840.1.113883.6.12" and @code="99212" or @codeSystem="2.16.840.1.113883.6.12" and @code="99213" or @codeSystem="2.16.840.1.113883.6.12" and @code="99214" or @codeSystem="2.16.840.1.113883.6.12" and @code="99215" or @codeSystem="2.16.840.1.113883.6.12" and @code="99241" or @codeSystem="2.16.840.1.113883.6.12" and @code="99242" or @codeSystem="2.16.840.1.113883.6.12" and @code="99243" or @codeSystem="2.16.840.1.113883.6.12" and @code="99244" or @codeSystem="2.16.840.1.113883.6.12" and @code="99304" or @codeSystem="2.16.840.1.113883.6.12" and @code="99305" or @codeSystem="2.16.840.1.113883.6.12" and @code="99306" or @codeSystem="2.16.840.1.113883.6.12" and @code="99307" or @codeSystem="2.16.840.1.113883.6.12" and @code="99308" or @codeSystem="2.16.840.1.113883.6.12" and @code="99309" or @codeSystem="2.16.840.1.113883.6.12" and @code="99310" or @codeSystem="2.16.840.1.113883.6.12" and @code="99315" or @codeSystem="2.16.840.1.113883.6.12" and @code="99316" or @codeSystem="2.16.840.1.113883.6.12" and @code="99324" or @codeSystem="2.16.840.1.113883.6.12" and @code="99325" or @codeSystem="2.16.840.1.113883.6.12" and @code="99326" or @codeSystem="2.16.840.1.113883.6.12" and @code="99327" or @codeSystem="2.16.840.1.113883.6.12" and @code="99328" or @codeSystem="2.16.840.1.113883.6.12" and @code="99334" or @codeSystem="2.16.840.1.113883.6.12" and @code="99335" or @codeSystem="2.16.840.1.113883.6.12" and @code="99336" or @codeSystem="2.16.840.1.113883.6.12" and @code="99337" or @codeSystem="2.16.840.1.113883.6.12" and @code="99341" or @codeSystem="2.16.840.1.113883.6.12" and @code="99342" or @codeSystem="2.16.840.1.113883.6.12" and @code="99343" or @codeSystem="2.16.840.1.113883.6.12" and @code="99344" or @codeSystem="2.16.840.1.113883.6.12" and @code="99345" or @codeSystem="2.16.840.1.113883.6.12" and @code="99347" or @codeSystem="2.16.840.1.113883.6.12" and @code="99348" or @codeSystem="2.16.840.1.113883.6.12" and @code="99349" or @codeSystem="2.16.840.1.113883.6.12" and @code="99350" or @codeSystem="2.16.840.1.113883.6.12" and @code="90801" or @codeSystem="2.16.840.1.113883.6.12" and @code="90802" or @codeSystem="2.16.840.1.113883.6.12" and @code="90804" or @codeSystem="2.16.840.1.113883.6.12" and @code="90805" or @codeSystem="2.16.840.1.113883.6.12" and @code="90806" or @codeSystem="2.16.840.1.113883.6.12" and @code="90807" or @codeSystem="2.16.840.1.113883.6.12" and @code="90808" or @codeSystem="2.16.840.1.113883.6.12" and @code="90809" or @codeSystem="2.16.840.1.113883.6.12" and @code="90862" or @codeSystem="2.16.840.1.113883.6.12" and @code="92002" or @codeSystem="2.16.840.1.113883.6.12" and @code="92004" or @codeSystem="2.16.840.1.113883.6.12" and @code="92012" or @codeSystem="2.16.840.1.113883.6.12" and @code="92014" or @codeSystem="2.16.840.1.113883.6.12" and @code="96150" or @codeSystem="2.16.840.1.113883.6.12" and @code="96151" or @codeSystem="2.16.840.1.113883.6.12" and @code="96152" or @codeSystem="2.16.840.1.113883.6.12" and @code="99211" or @codeSystem="2.16.840.1.113883.6.12" and @code="99245" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0101" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0108" or @codeSystem="2.16.840.1.113883.6.14" and @code="G0109"]'>
+    Error:  CONF-QRDA1-88  A CMS EHR QRDA report SHALL contain one or more clinicalDocument/documentationOf/code elements and the codes and code system that may be used are found in tab B of the downloadable resource.
+     </assert>
+		<assert test="cda:documentationOf/cda:serviceEvent/cda:effectiveTime and cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:low and cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:high">
+    Error: CONF-QRDA1-91 and 92 the clinicalDocument/documentationOf/serviceEvent/effectiveTime element SHALL contain one low element and one high element for starting and ending times of the encounter.
+    </assert>
+		<assert test="(string-length(cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:high/@value) &gt;= 8) and (string-length(cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:low/@value) &gt;= 8)">
+       Error: CONF-QRDA1-93 The clinicalDocument/documentationOf/serviceEvent/effectiveTime/low and  clinicalDocument/documentationOf/serviceEvent/effectiveTime/high value attribute values SHALL be at least precise to the day YYYYMMDD.
+    </assert>
+		<assert test='cda:documentationOf/cda:serviceEvent/cda:performer[@typeCode="PRF" or @typeCode="PPRF" or @typeCode="SPRF"]'>
+    Error:  CONF-QRDA1-94 A documentationOf/serviceEvent/performer@typeCode SHALL be either PRF(performer- a person wo actually and principally carries out an actions) or PPRF 9primary performer - principa performer of the Service event) or SPRF (secondary performer -  a person assisting in the Service event through their substantial presence and involvement.  This may include assistants, technicians, associates or other performers).
+    </assert>
+		<assert test="cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity"> 
+    CONF-QRDA1-96 A documentationOf/serviceEvent/performer/assignedEntity element SHALL be present.
+    </assert>
+		<assert test='(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:id[@root="2.16.840.1.113883.4.6"])'>
+     Error: CONF-QRDA1-96 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.6'.
+     </assert>
+		<!-- NPI validation -->
+		<let name="npi2" value="cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:id/@extension"/>
+		<assert test="((sum(for $j in (for $i in reverse(string-to-codepoints($npi2))[position() mod 2 = 0] return ($i - 48) * 2, for $i in reverse(string-to-codepoints($npi2))[position() mod 2 = 1] return ($i - 48)) return ($j mod 10, $j idiv 10)) + 24) mod 10) = 0">
+  Error: CONF-QRDA1-96 documentationOf/serviceEvent/performer/assignedEntity/id[@extension that containst the NPI Failed the NPI validation test!!
+  </assert>
+		<assert test="cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:code"> 
+    Warning: CONF-QRDA1-97 A documentationOf/serviceEvent/performer/assignedEntity/code element SHOULD be present.
+    </assert>
+		<assert test="cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr"> 
+    Warning: CONF-QRDA1-98 A documentationOf/serviceEvent/performer/assignedEntity/addr element SHOULD be present.
+    </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr/cda:streetAddressLine"> 
+    Warning: CONF-QRDA1-99 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/streetAddressLine element SHOULD be present.
+    </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr/cda:city"> 
+    Warning: CONF-QRDA1-100 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/city element SHOULD be present.
+    </assert>
+		<assert test='contains("AL AK AZ AR AS CA CO CT DE DC FL GA GU HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC MP ND OH OK OR PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY",cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr/cda:state)'>
+  Error: CONF-QRDA1-37 The recordTarget/patientRole/providerOrganization/addr/state) element SHOULD be present and all of the states that can be used in this element are in the Appendix_V-States Downloadable Resource
+  </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr/cda:postalCode"> 
+    Warning: CONF-QRDA1-102 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/postalCode element SHOULD be present.
+    </assert>
+		<assert test="cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson"> 
+    Warning: CONF-QRDA1-103 A documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element SHOULD be present.
+    </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson/cda:name"> 
+    Warning: CONF-QRDA1-105 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/name element MAY be present.
+    </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson/cda:name/cda:given"> 
+    Warning: CONF-QRDA1-106 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/given element MAY be present.
+    </assert>
+		<assert test="not(cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson) or cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:assignedPerson/cda:name/cda:family"> 
+    Warning: CONF-QRDA1-107 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/name/family element MAY be present.
+    </assert>
+    
+		<!--begin Report Body-->
+		<!--Test that there is exactly one structured body-->
+		<assert test="count(cda:component/cda:structuredBody) = 1">
+       Error: CONF-QRD1-113: A QRDA Category I report SHALL contain exactly one
        ClinicalDocument/component/structuredBody.
     </assert>
     
-<!--
+		<!--Test that there is exactly one MeasureSet section -->
+		<assert test="count(cda:component/cda:structuredBody/cda:component/cda:section)=1">
+    Error: CONF-QRDA1-114 The The CMS EHR QRDA Report SHALL contain exactly one Measure Set section.
+    </assert>
+    
+    <!-- Test that there is exactly one nested Measure section -->  
+<assert test="count(cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section) = 1">
+Error: CONF-QRDA1-115: The Measure Set section SHALL contain one nested Measure section and SHALL NOT contain more than one nested Measure section.
+    </assert>
+    
+		<!--Test that the MeasureSet section contains a templateId for the MeasureSet name and version.
+ Since this is a 2011 QRDA we will test for the 2011 version code -->
+		<let name="MeasureSetVersion" value="cda:component/cda:structuredBody/cda:component/cda:section/cda:templateId/@root"/>
+		<assert test='$MeasureSetVersion="2.16.840.1.113883.3.249.11.50"'>
+ Error: CONF-QRDA1-116: The Measure Set section SHALL contain a templateId uniquely identifying the Measure Set name and version.  The supplied value does not identify the 2011 Measure Set.
+ </assert>
+ 
+ <!-- Test that the Measure set section contains a section/code element -->
+ <assert test='count(cda:component/cda:structuredBody/cda:component/cda:section/cda:code) = 1'>
+ Error: CONF-QRDA1-117: The Measure Set section SHALL contain a section/code element.
+ </assert>
+ 
+ <!-- Test that the Measure Set section/code attributes have the correct values -->
+		<assert test=' (count(cda:component/cda:structuredBody/cda:component/cda:section/cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]) = 1)'>
+    Error: CONF-QRDA1-118: The value for section/code SHALL be 55185-3 MEASURE SET 2.16.840.1.113883.6.1 LOINC STATIC.
+   </assert>
+   
+    <!-- Test that the Measure Set section title is correct -->
+    <let name="MeasureSetTitle" value="cda:component/cda:structuredBody/cda:component/cda:section/cda:title"/>
+    <assert test='upper-case($MeasureSetTitle)="MEASURE SET: CMS EHR MEASURE SET"'>
+    Error: CONF-QRDA1-119: The Measure Set section SHALL be valued with section/title with a case-insensitive, text string containing Measure set: CMS EHR Measure Set.
+    </assert>
+    
+    <!-- Don't know how to test for CONF-QRDA1-120 -->
+    <!-- Need to discuss how to test for CONF-QRDA1-121 -->
+    <!-- CONF-QRDA1-122 is empty -->
+    
+    <!-- Measure Section -->
+    
+    <!-- Check the Measure section title and code -->
+    <let name="MeasureTitle" value="cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:title"/>
+    <assert test='upper-case($MeasureTitle)="MEASURE SECTION"'>
+    Error: CONF-QRDA1-123: A nested Measure section SHALL be valued with section/title with a case-insensitive, text string containing Measure section. 
+    </assert>
+    <assert test=' (count(cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) = 1)'>
+    Error: CONF-QRDA1-123: The nested measure section SHALL contain section/code element. In the nested measure section, the value for section/code SHALL be 55186-1 MEASURE 2.16.840.1.113883.6.1 LOINC STATIC
+   </assert>
+   
+    <!-- Test that the measure section template ID(s) correspond to the Measures -->
+		<assert test='every $templateId in cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:templateId/@root satisfies
+($templateId="2.16.840.1.113883.3.249.11.2" or $templateId="2.16.840.1.113883.3.249.11.3" or $templateId="2.16.840.1.113883.3.249.11.4" or $templateId="2.16.840.1.113883.3.249.11.5" or $templateId="2.16.840.1.113883.3.249.11.6" or $templateId="2.16.840.1.113883.3.249.11.51" or $templateId="2.16.840.1.113883.3.249.11.52" or $templateId="2.16.840.1.113883.3.249.11.53" or $templateId="2.16.840.1.113883.3.249.11.7" or $templateId="2.16.840.1.113883.3.249.11.8" or $templateId="2.16.840.1.113883.3.249.11.9" or $templateId="2.16.840.1.113883.3.249.11.10" or $templateId="2.16.840.1.113883.3.249.11.11" or $templateId="2.16.840.1.113883.3.249.11.54" or $templateId="2.16.840.1.113883.3.249.11.55" or $templateId="2.16.840.1.113883.3.249.11.56" or $templateId="2.16.840.1.113883.3.249.11.57" or $templateId="2.16.840.1.113883.3.249.11.58" or $templateId="2.16.840.1.113883.3.249.11.59" or $templateId="2.16.840.1.113883.3.249.11.60" or $templateId="2.16.840.1.113883.3.249.11.15")'>
+Error: CONF-QRDA1-124: A nested Measure section SHALL contain at least one templateId corresponding to the measures. Refer Appendix_U-Custom_Template_IDs tab of the Downloadable Resources table.
+</assert>
 
-Changed as per email discussion between Len Gallagher and Liora Alschuler
-
-    <assert test='count(cda:component/cda:structuredBody/cda:component/cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) &gt; 0'>
-       Error: CONF-QRDA-I-21: A QRDA Category I report SHALL contain at least one and MAY contain
-       more than one non-nested top-level Measure section each containing
-       information about a single measure.
-    </assert>
--->
-
-    <assert test='count(.//cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) &gt; 0'>
-       Error: CONF-QRDA-I-21: A QRDA Category I report SHALL contain at least one and MAY contain
-       more than one Measure section each containing information about a single measure.
-    </assert>
-
-    </rule>
-
-
-<!-- Measure Section -->
-
-    <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'>
-<!--
+	<!-- Measure Section -->
+	
+		<!--
     <assert test='self::/cda:ClinicalDocument/cda:component/cda:structuredBody/cda:component/cda:section or
                   parent::cda:section[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]/cda:component'>
@@ -333,15 +441,9 @@
     </assert>
 -->
-    <assert test='self::cda:section[parent::cda:component[parent::cda:structuredBody[parent::cda:component[parent::cda:ClinicalDocument]]]] or
-                  parent::cda:section[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]/cda:component'>
-       Error: CONF-QRDA-I-22: The Measure section SHALL be a top-level section if it is not part of a
-       measure set.
-    </assert>
-
-    <assert test='cda:templateId'>
+<!--		<assert test="cda:templateId">
        Error: CONF-QRDA-I-33: The Measure section SHALL contain at least one templateId uniquely
         identifying each Measure name and version
     </assert>
-    <assert test='not(parent::cda:section[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]/cda:entry) or
+		<assert test='not(parent::cda:section[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]/cda:entry) or
                   contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"measure section: ")'>
        Error: CONF-QRDA-I-36: A non-nested Measure section SHALL be valued with section/title
@@ -349,67 +451,75 @@
        &lt;measure name&gt;".
     </assert>
-    <assert test='not(parent::cda:ClinicalDocument/cda:component/cda:structuredBody/cda:component/cda:section) or
+		<assert test='not(parent::cda:ClinicalDocument/cda:component/cda:structuredBody/cda:component/cda:section) or
                   contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"measure section")'>
        Error: CONF-QRDA-I-37: A nested Measure section SHALL be valued with section/title with
         a case-insensitive, text string containing "measure section".
-    </assert>
-    <assert test='count(.//cda:section[cda:code[@code = "55187-9" and @codeSystem="2.16.840.1.113883.6.1"]]) = 1'>
-       Error: CONF-QRDA-I-39: A Measure section SHALL contain exactly one nested Reporting
-       Parameters section (as described in Section 2.4.3 Reporting Parameters
-       Section).
-    </assert>
-    <assert test='count(.//cda:section[cda:code[@code = "55188-7" and @codeSystem="2.16.840.1.113883.6.1"]]) = 1'>
-       Error: CONF-QRDA-I-40: A Measure section SHALL contain exactly one nested Patient Data
+    </assert>-->
+  <assert test='count(cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:component/cda:section/cda:code[@code= "55187-9" and @codeSystem="2.16.840.1.113883.6.1"]) = 1'>
+       Error: CONF-QRDA1-125,CONF-QRDA1-133 and CONF-QRDA1-134: A Measure section SHALL contain exactly one nested Reporting Parameters section (as described in Section 2.3.3 Reporting Parameters
+       Section) with a code element with the code 55187-9 and code system 2.16.840.1.113883.6.1
+    </assert>
+ 
+    <assert test='count(cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:component/cda:section/cda:code[@code = "55188-7" and @codeSystem="2.16.840.1.113883.6.1"]) = 1'>
+       Error: CONF-QRDA1-126: A Measure section SHALL contain exactly one nested Patient Data
         section (as described in Section 2.4.4 Patient Data Section).
     </assert>
-    <assert test='cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'>
-       Error: CONF-QRDA-I-42: Each measure SHALL be represented with act.
-       CONF-QRDA-I-43: For each act in the Measure section, the value for act/@classCode
-       in a measure act SHALL be ACT 2.16.840.1.113883.5.6 ActClass STATIC.
-       CONF-QRDA-I-44: For each act in the Measure section the act/@moodCode in a
-       measure act SHALL be DEF 2.16.840.1.113883.5.1001 ActMood STATIC.
-    </assert>
-    </rule>
+    <assert test='cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:component/cda:section/cda:text'>
+     Warning: CONF-QRDA1-127 the Measure secton MAY contain a section/text element for the description of the measures.
+     </assert>
 
-<!-- Measure -->
-
-    <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]/cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'>
-    <assert test='cda:code'>
-       Error: CONF-QRDA-I-45: For each act in the Measure section there SHALL be an act/code
+	<assert test='(every $classCode in cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:entry/cda:act/@classCode satisfies ($classCode="ACT")) and (every $moodCode in cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:entry/cda:act/@moodCode satisfies ($moodCode="DEF"))'>
+       Error: CONF-QRDA1-128: Each measure SHALL be represented with act.
+       CONF-QRDA1-129: For each act in the Measure section,in a measure act SHALL be ACT 2.16.840.1.113883.5.6 ActClass STATIC.
+       CONF-QRDA1-130: For each act in the Measure section the act/@moodCode in a
+       measure act SHALL be DEF 2.16.840.1.113883.5.1001 ActMood STATIC. 
+    </assert>
+    
+    <assert test='(string-length(cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:entry/cda:act/cda:text) >= 0) or true()'>
+     Warning: CONF-QRDA1-132 Each measure act MAY contain a act/text element for the description of the measures.
+ </assert>   
+   
+     <!-- see CONF-QRDA1-125 for CONF-QRDA1-133 and CONF-QRDA1-134-->
+        <let name="ReportingParametersTitle" value="cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:component/cda:section/cda:title"/>
+    <assert test='upper-case($ReportingParametersTitle)="REPORTING PARAMETERS"'>
+    Error: CONF-QRDA1-135: A reporting parameters section which is a nested section in the measures section which is nested in the Measures Set section section SHALL valued with a section/title containing a case insensitive, text string containing Reporting Parameters. 
+    </assert>
+	</rule>
+	<!--<rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'>-->
+	<!-- Measure -->
+	<!--<rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]/cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'>
+		<assert test="cda:code">-->
+      <!-- Error: CONF-QRDA-I-45: For each act in the Measure section there SHALL be an act/code
        reflecting the measure name and version.
-    </assert>
-    </rule>
-
-<!-- Measure Set Section -->
-
-    <rule context='*[cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]]'>
-    <assert test='count(.//cda:section[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]) = 1'>
+    </assert>-->
+	
+	<!-- Measure Set Section -->
+	<rule context='*[cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]]'>
+		<assert test='count(.//cda:section[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]) = 1'>
        Error: CONF-QRDA-I-24: The Measure Set section SHALL contain one nested Measure section
        and SHALL NOT contain more than one nested Measure section.
     </assert>
-    <assert test='cda:templateId'>
+		<assert test="cda:templateId">
        Error: CONF-QRDA-I-26: The Measure Set section SHALL contain a templateId uniquely
        identifying the Measure Set name and version.
     </assert>
-    <assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'measure set: ')">
+		<assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'measure set: ')">
        Error: CONF-QRDA-I-29: The Measure Set section SHALL be valued with section/title with a
        case-insensitive, text string containing "Measure set: &lt;measure set
        name&gt;".
     </assert>
-    <assert test='count(.//cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) &gt; 0 '>
+		<assert test='count(.//cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) &gt; 0 '>
        Error: CONF-QRDA-I-31: The nested Measure section SHALL contain at least one measure that
         belongs to the measure set.
     </assert>
-    </rule>
-
-<!-- Reporting Parameters Section -->
-
-    <rule context='*[cda:code[@code="55187-9" and @codeSystem="2.16.840.1.113883.6.1"]]'>    
-    <assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"reporting parameters")'>
+	</rule>
+	<!-- Reporting Parameters Section -->
+	<rule context='*[cda:code[@code="55187-9" and @codeSystem="2.16.840.1.113883.6.1"]]'>
+		<assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"reporting parameters")'>
        Error: CONF-QRDA-I-49: The Reporting Parameters section SHALL be valued with
        section/title with a case-insensitive, text string containing "Reporting
        Parameters".
     </assert>
-    <assert test='cda:entry/cda:act[@classCode="ACT" and @moodCode="EVN"]/cda:code[@code="252116004" and @codeSystem="2.16.840.1.113883.6.96"]'>
+		<assert test='cda:entry/cda:act[@classCode="ACT" and @moodCode="EVN"]/cda:code[@code="252116004" and @codeSystem="2.16.840.1.113883.6.96"]'>
        Error: CONF-QRDA-I-50: The Reporting Parameters section SHALL contain exactly one
        Observation Parameters Act, represented as an act.
@@ -421,81 +531,56 @@
        Parameters 2.16.840.1.113883.6.96 SNOMED-CT STATIC.
     </assert>
-    <assert test='cda:entry/cda:act[@classCode="ACT" and @moodCode="EVN"][cda:code[@code="252116004" and @codeSystem="2.16.840.1.113883.6.96"]]/cda:effectiveTime[cda:low and cda:high]'>
+		<assert test='cda:entry/cda:act[@classCode="ACT" and @moodCode="EVN"][cda:code[@code="252116004" and @codeSystem="2.16.840.1.113883.6.96"]]/cda:effectiveTime[cda:low and cda:high]'>
        Error: CONF-QRDA-I-54: The reporting time period SHALL be represented with an
        effectiveTime/low element combined with a high element representing
        respectively the first and last days of the period reported.
     </assert>
-    </rule>
-
-<!-- Patient Data Section -->
-
-    <rule context='*[cda:code[@code="55188-7" and @codeSystem="2.16.840.1.113883.6.1"]]'>
-    <assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"patient data")'>
+	</rule>
+	<!-- Patient Data Section -->
+	<rule context='*[cda:code[@code="55188-7" and @codeSystem="2.16.840.1.113883.6.1"]]'>
+		<assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"patient data")'>
        Error: CONF-QRDA-I-57: The Patient Data section SHALL be valued with section/title with a
        case-insensitive, text string containing "Patient Data".
     </assert>
-
-    </rule>
-
-  </pattern>
-
-  <pattern id="p-2.16.840.1.113883.10.20.12-warnings">
-    <title>HL7 QRDA Category I Header (Section 2) - warning validation phase</title>
-    <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
-    <assert test='count(cda:legalAuthenticator) = 1'>
+	</rule>
+</pattern>
+<pattern id="p-2.16.840.1.113883.10.20.12-warnings">
+	<title>HL7 QRDA Category I Header (Section 2) - warning validation phase</title>
+	<rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
+		<assert test="count(cda:legalAuthenticator) = 1">
        Warning: CONF-QRDA-I-14: A QRDA Category I report SHOULD contain exactly one
        legalAuthenticator element.
     </assert>
-    </rule>
-  </pattern>
-
-  <pattern id="p-2.16.840.1.113883.10.20.12-notes">
-    <title>HL7 QRDA Category I Header (Section 2) - note validation phase</title>
-    <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
-    <assert test='count(cda:component/cda:structuredBody/cda:component/cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]) &gt; 1'>
-       Note: CONF-QRDA-I-21: A QRDA Category I report ... MAY contain
-       more than one non-nested top-level Measure section each containing
-       information about a single measure.
-    </assert>
-    <assert test='.//cda:section/cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]'>
+	</rule>
+</pattern>
+<pattern id="p-2.16.840.1.113883.10.20.12-notes">
+	<title>HL7 QRDA Category I Header (Section 2) - note validation phase</title>
+	<rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'>
+		<assert test='.//cda:section/cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]'>
        Note: CONF-QRDA-I-23: A QRDA Category I report MAY contain one or more Measure Set
        sections.
     </assert>
-    <assert test='cda:component/cda:structuredBody/cda:component/cda:section/cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"] and
-                  .//cda:section/cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]'>
-       Note: CONF-QRDA-I-25: A QRDA Category I report MAY contain both Measure Set sections and
-       individual top-level Measure sections.
-    </assert>
-
-    </rule>
-
-<!-- Measure Section -->
-
-    <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'>
-
-    <assert test='cda:text'>
+	</rule>
+	<!-- Measure Section -->
+	<rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'>
+		<assert test="cda:text">
        Note: CONF-QRDA-I-41: The Measure section MAY contain a section/text element for the
        description of the measure(s).
     </assert>
-    </rule>
-
-<!-- Measure -->
-
-    <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]/cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'>
-    <assert test='cda:text'>
+	</rule>
+	<!-- Measure -->
+	<rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]/cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'>
+		<assert test="cda:text">
        Note: CONF-QRDA-I-46: Each measure act MAY contain an act/text element containing a
         description of the measure.
     </assert>
-    </rule>
-
-<!-- Measure Set Section -->
-
-    <rule context='*[cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]]'>
-    <assert test='cda:text'>
+	</rule>
+	<!-- Measure Set Section -->
+	<rule context='*[cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]]'>
+		<assert test="cda:text">
        Note: CONF-QRDA-I-30: The Measure Set section MAY contain a section/text element for
        the description of the measure set or MAY contain a formal representation of
        a description of the measure set.
     </assert>
-    </rule>
-  </pattern>
-  
+	</rule>
+</pattern>
