<?xml version="1.0" encoding="utf-8"?>
<!-- The following sample document depicts a fictional characters health summary. Any resemblance to a real person is coincidental. -->
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="urn:hl7-org:v3 ../../C-CDA%20rules/infrastructure/cda/CDA_SDTC.xsd"
	xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc">
	<!-- 
********************************************************
CDA Header
********************************************************
-->
   	<realmCode code="US"/>
	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
	
	<!-- US General Header Template -->	
	<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
	
	<!-- Continuity of Care Document (CCD) - Patient Health Summary;
		 Conformant to C-CDA Implementation Guide "CDAR2_IG_IHE_CONSOL_DSTU_R1.1_2012JUL.pdf"
		 (DSTU) July 2012CCD v1.0 Templates Root -->
	<templateId root="2.16.840.1.113883.10.20.22.1.2"/>
	<id root="db734647-fc99-424c-a864-7e3cda82e703"/>
	<code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of Episode Note"/>
	<title>Community Health and Hospitals: Health Summary</title>
	<effectiveTime value="20140416115507"/>
	<confidentialityCode code="N" displayName="Normal" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality Code"/>
	<languageCode code="en-US"/>
	<setId extension="sTT988" root="2.16.840.1.113883.19.5.99999.19"/>
	<versionNumber value="1"/>
	<recordTarget>
		<patientRole>
			<id extension="998991" root="2.16.840.1.113883.19.5.99999.2"/>
			<!-- Fake ID using HL7 example OID. -->
			<id extension="111-00-2330" root="2.16.840.1.113883.4.1"/>
			<!-- Fake Social Security Number using the actual SSN OID. -->
			<addr use="HP">
				<!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
				<streetAddressLine>4586 Luke Lane</streetAddressLine>
				<city>Clinton</city>
				<state>OK</state>
				<postalCode>73601</postalCode>
				<country>US</country>
				<!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
			</addr>
			<telecom value="tel:(580)202-2100" use="MC"/>
			<!-- MC is "mobile contact" from HL7 AddressUse 2.16.840.1.113883.5.1119 -->
			<patient>
				<name use="L">
					<given qualifier="BR">Mattie</given>
					<family qualifier="AD">Joseph</family>
				</name>
				<administrativeGenderCode code="F" displayName="Female"
					codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender"/>
				<birthTime value="19890912120000"/>
					<maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatus"/>
				<religiousAffiliationCode code="1077" displayName="Protestant"
					codeSystem="2.16.840.1.113883.5.1076" codeSystemName="ReligiousAffiliation"/>
				<!-- CDC Race and Ethnicity code set contains the minimum race and ethnicity categories defined by OMB Standards for Race and Ethnicity -->
				<raceCode code="2131-1" displayName="Other Race" codeSystem="2.16.840.1.113883.6.238"
					codeSystemName="Race &amp; Ethnicity - CDC"/>
				<ethnicGroupCode code="2135-2" displayName="Hispanic or Latino"
					codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>				
				<guardian>
					<code code="FRND" displayName="friend" codeSystem="2.16.840.1.113883.5.111" codeSystemName="HL7 Role code"/>
					<addr use="HP">
						<!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
						<streetAddressLine>3450 Heavner Court</streetAddressLine>
						<city>Long Island City</city>
						<state>NY</state>
						<postalCode>11101</postalCode>
						<country>US</country>
						<!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
					</addr>
					<telecom value="tel:(516)282-0660" use="HP"/>
					<telecom value="email:JennyBGonzalez@gustr.com" use="WP"/>
					<guardianPerson>
						<name>
							<prefix>Mrs.</prefix>
							<given>Jenny</given>
							<family>Gonzalez</family>
						</name>
					</guardianPerson>
				</guardian>
				<birthplace>
					<place>
						<addr>
							<city>Rockford</city>	
							<state>IL</state>
							<postalCode>61101</postalCode>
							<country>US</country>
						</addr>
					</place>
				</birthplace>
				<languageCommunication>
					<languageCode code="spa"/>
					<modeCode
					   code="ESP"                   
					   displayName="Expressed spoken"
                       codeSystem="2.16.840.1.113883.5.60"
                       codeSystemName="LanguageAbilityMode"/>
					<preferenceInd value="true"/>
				</languageCommunication>	
			</patient>
			<providerOrganization>
				<id root="2.16.840.1.113883.4.6"/>
				<name>Community Health and Hospitals</name>
				<telecom use="WP" value="tel: 555-555-5000"/>
				<addr>
					<streetAddressLine>1001 Village Avenue</streetAddressLine>
					<city>Portland</city>
					<state>OR</state>
					<postalCode>99123</postalCode>
					<country>US</country>
				</addr>
			</providerOrganization>
		</patientRole>
	</recordTarget>
	<author>
		<time value="20140416115507"/>
		<assignedAuthor>
			<id extension="99999999" root="2.16.840.1.113883.4.6"/>
			<code code="200000000X" codeSystem="2.16.840.1.113883.6.101"
				displayName="Allopathic &amp; Osteopathic Physicians"/>
			<addr>
				<streetAddressLine>1002 Healthcare Drive </streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Henry</given>
					<family>Seven</family>	
					<suffix>MD</suffix>
				</name>
			</assignedPerson>
		</assignedAuthor>
	</author>
	<dataEnterer>
		<assignedEntity>
			<id root="2.16.840.1.113883.4.6" extension="999999943252"/>
			<code code="207Q00000X" codeSystem="2.16.840.1.113883.6.101"
				displayName="Allopathic &amp; Osteopathic Physicians"/>
			<addr>
				<streetAddressLine>1001 Village Avenue</streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Henry</given>
					<family>Seven</family>
				</name>
			</assignedPerson>
		</assignedEntity>
	</dataEnterer>
	<informant>
		<assignedEntity>
			<id extension="99999999" root="2.16.840.1.113883.4.6"/>
			<code code="200000000X" codeSystem="2.16.840.1.113883.6.101"
				displayName="Allopathic &amp; Osteopathic Physicians"/>
			<addr>
				<streetAddressLine>1001 Village Avenue</streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Henry</given>
					<family>Seven</family>
				</name>
			</assignedPerson>
		</assignedEntity>
	</informant>
	<informant>
		<relatedEntity classCode="PRS">
			<!-- classCode PRS represents a person with personal relationship with 
				the patient. -->
			<code code="SPS" displayName="SPOUSE" codeSystem="2.16.840.1.113883.1.11.19563"
				codeSystemName="Personal Relationship Role Type Value Set"/>
			<relatedPerson>
				<name>
					<given>Frank</given>
					<family>Jones</family>
				</name>
			</relatedPerson>
		</relatedEntity>
	</informant>
	<custodian>
		<assignedCustodian>
			<representedCustodianOrganization>
				<id extension="99999999" root="2.16.840.1.113883.4.6"/>
				<name>Community Health and Hospitals</name>
				<telecom value="tel: 555-555-1002" use="WP"/>
				<addr use="WP">
					<streetAddressLine>1002 Healthcare Drive </streetAddressLine>
					<city>Portland</city>
					<state>OR</state>
					<postalCode>99123</postalCode>
					<country>US</country>
				</addr>
			</representedCustodianOrganization>
		</assignedCustodian>
	</custodian>
	<informationRecipient>
		<intendedRecipient>
			<informationRecipient>
				<name>
					<given>Henry</given>
					<family>Seven</family>
				</name>
			</informationRecipient>
			<receivedOrganization>
				<name>Community Health and Hospitals</name>
			</receivedOrganization>
		</intendedRecipient>
	</informationRecipient>
	<legalAuthenticator>
		<time value="20130418090000+0500"/>
		<signatureCode code="S"/>
		<assignedEntity>
			<id extension="999999999" root="2.16.840.1.113883.4.6"/>
			<addr>
				<streetAddressLine>1001 Village Avenue</streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Henry</given>
					<family>Seven</family>
				</name>
			</assignedPerson>
		</assignedEntity>
	</legalAuthenticator>
	<authenticator>
		<time value="20140416115507"/>
		<signatureCode code="S"/>
		<assignedEntity>
			<id extension="999999999" root="2.16.840.1.113883.4.6"/>
			<addr>
				<streetAddressLine>1001 Village Avenue</streetAddressLine>
				<city>Portland</city>
				<state>OR</state>
				<postalCode>99123</postalCode>
				<country>US</country>
			</addr>
			<telecom use="WP" value="tel:555-555-1002"/>
			<assignedPerson>
				<name>
					<given>Henry</given>
					<family>Seven</family>
				</name>
			</assignedPerson>
		</assignedEntity>
	</authenticator>
	<participant typeCode="IND">
		<associatedEntity classCode="NOK">
			<code code="MTH" codeSystem="2.16.840.1.113883.5.111"/>
			<addr>
				<streetAddressLine>17 Daws Rd.</streetAddressLine>
				<city>Beaverton</city>
				<state>OR</state>
				<postalCode>97867</postalCode>
				<country>US</country>
			</addr>
			<telecom value="tel:(999)555-1212" use="WP"/>
			<associatedPerson>
				<name>
					<prefix>Mrs.</prefix>
					<given>Martha</given>
					<family>Jones</family>
				</name>
			</associatedPerson>
		</associatedEntity>
	</participant>
	<documentationOf>
		<serviceEvent classCode="PCPR">
			<effectiveTime>
				<low value="19840218100000"/>
				<high value="20101207100000"/>
			</effectiveTime>
			<performer typeCode="PRF">
				<functionCode code="PCP" displayName="Primary Care Physician"
					codeSystem="2.16.840.1.113883.5.88" codeSystemName="participationFunction">
					<originalText>Primary Care Provider</originalText>
				</functionCode>
				<assignedEntity>
					<!-- Provider NPI "PseudoMD-1" -->
					<id extension="PseudoMD-1" root="2.16.840.1.113883.4.6"/>
					<code code="261QP2300X" displayName="Primary Care [Ambulatory Health Care Facilities\Clinic/Center]"
						codeSystemName="NUCC Provider Codes" codeSystem="2.16.840.1.113883.6.101"/>
					<addr>
						<streetAddressLine>1001 Village Avenue</streetAddressLine>
						<city>Portland</city>
						<state>OR</state>
						<postalCode>99123</postalCode>
						<country>US</country>
					</addr>
					<telecom value="tel:+1-555-555-5000" use="HP"/>
					<assignedPerson>
						<name>
							<given>Henry</given>
							<family>Seven</family>			
							<suffix>MD</suffix>
						</name>
					</assignedPerson>
					<representedOrganization>
						<id root="2.16.840.1.113883.19.5.9999.1393"/>
						<name>Community Health and Hospitals</name>
						<telecom value="tel:+1-555-555-5000" use="HP"/>
						<addr>
							<streetAddressLine>1001 Village Avenue</streetAddressLine>
							<city>Portland</city>
							<state>OR</state>
							<postalCode>99123</postalCode>
							<country>US</country>
						</addr>
					</representedOrganization>
				</assignedEntity>
			</performer>
		</serviceEvent>
	</documentationOf>
	<!-- 
********************************************************
CDA Body
********************************************************
-->
	<component>
		<structuredBody>
			<!-- 
*********************************
Allergies, Adverse Reactions, Alerts
****************************** 
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
					<code code="48765-2" displayName="Allergies, adverse reactions, alerts"
						codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
					<title>Allergies,  Adverse Reactions &amp; Alerts</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Severity</th>
						<th>Susceptibility</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Allergy to Eggs</td>
							<td>UNII</td>
							<td>291P45F896</td>
							<td><content ID="Allergy1"/>Eggs</td>
							<td><content ID="Severity1"/>Moderate</td>
							<td>Moderately Susceptible</td>
							<td>05-01-2010 10:00:00</td>
							<td>Active</td>
						</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>V15.03</td>
								<td>Allergy to eggs</td>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
						<tr>
							<td>Bakers Yeast</td>
							<td>RxNorm</td>
							<td>892677</td>
							<td><content ID="Allergy2"/>Baker's yeast allergenic extract 100 MG/ML Injectable Solution</td>
							<td><content ID="Severity2"/>Severe</td>
							<td>Very susceptible</td>
							<td>05-01-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Codeine</td>
							<td>NDF-RT</td>
							<td>N0000006691</td>
							<td><content ID="Allergy3"/>Codeine</td>
							<td><content ID="Severity3"/>Severe</td>
							<td>Susceptible</td>
							<td>05-01-2010 10:00:00</td>
							<td>Active</td>
						</tr>
				</tbody>
			</table>					</text>
						<entry typeCode="DRIV">
							<!-- Allergy Problem Act template -->
							<act classCode="ACT" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
								<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
									displayName="Allergies, adverse reactions, alerts"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100501100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ" inversionInd="true">
									<!--Allergy - Intolerance Observation -->
								    <observation classCode="OBS" moodCode="EVN">
								        <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
                           				<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
									    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
									    <statusCode code="completed"/>
									    <effectiveTime>
									    <low nullFlavor="UNK"/>
									    </effectiveTime>
<!-- The following XML tag, <value>, states whether patient is allergic to DRUG, FOOD or SUBSTANCE.
In EMERGE db, patients have records with allergies to:
(a) DRUG (in EMERGE db, encoded in RxNorm or NDF-RT)
(b) FOOD (in EMERGE db 'Eggs', encoded in UNII) and
CCDA impementation guide distinguishes between "allergy" amd "propensity to allergy". In EMERGE, all patients have "allergy".
Depending on allergen, appropriate value must be selected from Table 117: Allergy/Adverse Event Type Value Set (See CCDA Implementation Guide, pg 311)
    (1) If EMERGE patient has allergy to DRUG (RxNorm or NDF-RT), then the code is:
        <value code="416098002" displayName="Drug allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
(2) If EMERGE patient has allergy to FOOD (e.g. Eggs, UNII), then the code is:
    <value code="414285001" displayName="Food allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
-->
								    		<value xsi:type="CD" code="414285001" displayName="Food allergy (disorder)"
								    			codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT">
								    		<originalText>
								    			Allergy to Eggs + Eggs
								    			<reference value="#Allergy1"/>
								    		</originalText>
								    	</value>
								    	<participant typeCode="CSM">
								    		<participantRole classCode="MANU">
								    			<playingEntity classCode="MMAT">
<!-- 
This section displays the ACTUAL name of drug/ingredient/food to which person is allergic to.
Please note that FOUR (4) different values sets for documenting Allergies: Brand Names, Clinical Drug Names, Medication Drug Class, and Ingredient name,
encoded in RxNorm, RxNorm, NDF-RT and UNII respectively.
-->
			                                		<code code="291P45F896"
			                                      		displayName="Eggs"
				                                      	codeSystem="2.16.840.1.113883.4.9"
				                                        codeSystemName="UNII">
								    					<originalText>
								    						Allergy to Eggs + Eggs
								    						<reference value="#Allergy1"/>
								    					</originalText>
<!-- <translation> XML tag, if it exist should be placed HERE. In EMERGE db,
	 Only alergy to "eggs" will contain <translation> xml code with ICD-9 codes system:
		<translation code="V15.03" codeSystem="2.16.840.1.113883.6.103"
			displayName="Allergy to Eggs" codeSystemName="ICD-9-CM"/>
	NOTE: <translation> code can also be used for other codes, such as LOCAL (e..g local hospital) codes.
-->	
															<translation code="V15.03" codeSystem="2.16.840.1.113883.6.103"
																displayName="Allergy to eggs" codeSystemName="ICD-9-CM"/>
													</code>
								    			</playingEntity>
								    		</participantRole>
								    	</participant>
								    	<entryRelationship typeCode="SUBJ" inversionInd="true">
								    		<!-- ** Severity observation template ** -->
								    		<observation classCode="OBS" moodCode="EVN">
								    			<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
								    			<code code="SEV" displayName="Severity Observation"
								    				codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
								    			<text>
								    				<reference value="#severity1"/>
								    			</text>
								    			<statusCode code="completed"/>
								    			<value xsi:type="CD" code="6736007" displayName="Moderate" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
                        						<interpretationCode code="MS" displayName="Moderately Susceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/>
								    		</observation>
								    	</entryRelationship>
							        </observation>
							    </entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<!-- Allergy Problem Act template -->
							<act classCode="ACT" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
								<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
									displayName="Allergies, adverse reactions, alerts"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100501100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ" inversionInd="true">
									<!--Allergy - Intolerance Observation -->
								    <observation classCode="OBS" moodCode="EVN">
								        <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
                           				<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
									    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
									    <statusCode code="completed"/>
									    <effectiveTime>
									    <low nullFlavor="UNK"/>
									    </effectiveTime>
<!-- The following XML tag, <value>, states whether patient is allergic to DRUG, FOOD or SUBSTANCE.
In EMERGE db, patients have records with allergies to:
(a) DRUG (in EMERGE db, encoded in RxNorm or NDF-RT)
(b) FOOD (in EMERGE db 'Eggs', encoded in UNII) and
CCDA impementation guide distinguishes between "allergy" amd "propensity to allergy". In EMERGE, all patients have "allergy".
Depending on allergen, appropriate value must be selected from Table 117: Allergy/Adverse Event Type Value Set (See CCDA Implementation Guide, pg 311)
    (1) If EMERGE patient has allergy to DRUG (RxNorm or NDF-RT), then the code is:
        <value code="416098002" displayName="Drug allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
(2) If EMERGE patient has allergy to FOOD (e.g. Eggs, UNII), then the code is:
    <value code="414285001" displayName="Food allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
-->
									    	<value xsi:type="CD" code="416098002" displayName="Drug allergy (disorder)"
									    		codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT">
								    		<originalText>
								    			Bakers Yeast + Baker&apos;s yeast allergenic extract 100 MG/ML Injectable Solution
								    			<reference value="#Allergy1"/>
								    		</originalText>
								    	</value>
								    	<participant typeCode="CSM">
								    		<participantRole classCode="MANU">
								    			<playingEntity classCode="MMAT">
<!-- 
This section displays the ACTUAL name of drug/ingredient/food to which person is allergic to.
Please note that FOUR (4) different values sets for documenting Allergies: Brand Names, Clinical Drug Names, Medication Drug Class, and Ingredient name,
encoded in RxNorm, RxNorm, NDF-RT and UNII respectively.
-->
			                                		<code code="892677"
			                                      		displayName="Baker&apos;s yeast allergenic extract 100 MG/ML Injectable Solution"
				                                      	codeSystem="2.16.840.1.113883.6.88"
				                                        codeSystemName="RxNorm">
								    					<originalText>
								    						Bakers Yeast + Baker&apos;s yeast allergenic extract 100 MG/ML Injectable Solution
								    						<reference value="#Allergy2"/>
								    					</originalText>
<!-- <translation> XML tag, if it exist should be placed HERE. In EMERGE db,
	 Only alergy to "eggs" will contain <translation> xml code with ICD-9 codes system:
		<translation code="V15.03" codeSystem="2.16.840.1.113883.6.103"
			displayName="Allergy to Eggs" codeSystemName="ICD-9-CM"/>
	NOTE: <translation> code can also be used for other codes, such as LOCAL (e..g local hospital) codes.
-->	
													</code>
								    			</playingEntity>
								    		</participantRole>
								    	</participant>
								    	<entryRelationship typeCode="SUBJ" inversionInd="true">
								    		<!-- ** Severity observation template ** -->
								    		<observation classCode="OBS" moodCode="EVN">
								    			<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
								    			<code code="SEV" displayName="Severity Observation"
								    				codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
								    			<text>
								    				<reference value="#severity2"/>
								    			</text>
								    			<statusCode code="completed"/>
								    			<value xsi:type="CD" code="24484000" displayName="Severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
                        						<interpretationCode code="VS" displayName="Very susceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/>
								    		</observation>
								    	</entryRelationship>
							        </observation>
							    </entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<!-- Allergy Problem Act template -->
							<act classCode="ACT" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
								<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
									displayName="Allergies, adverse reactions, alerts"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100501100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ" inversionInd="true">
									<!--Allergy - Intolerance Observation -->
								    <observation classCode="OBS" moodCode="EVN">
								        <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
                           				<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
									    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
									    <statusCode code="completed"/>
									    <effectiveTime>
									    <low nullFlavor="UNK"/>
									    </effectiveTime>
<!-- The following XML tag, <value>, states whether patient is allergic to DRUG, FOOD or SUBSTANCE.
In EMERGE db, patients have records with allergies to:
(a) DRUG (in EMERGE db, encoded in RxNorm or NDF-RT)
(b) FOOD (in EMERGE db 'Eggs', encoded in UNII) and
CCDA impementation guide distinguishes between "allergy" amd "propensity to allergy". In EMERGE, all patients have "allergy".
Depending on allergen, appropriate value must be selected from Table 117: Allergy/Adverse Event Type Value Set (See CCDA Implementation Guide, pg 311)
    (1) If EMERGE patient has allergy to DRUG (RxNorm or NDF-RT), then the code is:
        <value code="416098002" displayName="Drug allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
(2) If EMERGE patient has allergy to FOOD (e.g. Eggs, UNII), then the code is:
    <value code="414285001" displayName="Food allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
-->
									    	<value xsi:type="CD" code="416098002" displayName="Drug allergy (disorder)"
									    		codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT">
								    		<originalText>
								    			Codeine + Codeine
								    			<reference value="#Allergy1"/>
								    		</originalText>
								    	</value>
								    	<participant typeCode="CSM">
								    		<participantRole classCode="MANU">
								    			<playingEntity classCode="MMAT">
<!-- 
This section displays the ACTUAL name of drug/ingredient/food to which person is allergic to.
Please note that FOUR (4) different values sets for documenting Allergies: Brand Names, Clinical Drug Names, Medication Drug Class, and Ingredient name,
encoded in RxNorm, RxNorm, NDF-RT and UNII respectively.
-->
			                                		<code code="N0000006691"
			                                      		displayName="Codeine"
				                                      	codeSystem="2.16.840.1.113883.3.26.1.5"
				                                        codeSystemName="NDF-RT">
								    					<originalText>
								    						Codeine + Codeine
								    						<reference value="#Allergy3"/>
								    					</originalText>
<!-- <translation> XML tag, if it exist should be placed HERE. In EMERGE db,
	 Only alergy to "eggs" will contain <translation> xml code with ICD-9 codes system:
		<translation code="V15.03" codeSystem="2.16.840.1.113883.6.103"
			displayName="Allergy to Eggs" codeSystemName="ICD-9-CM"/>
	NOTE: <translation> code can also be used for other codes, such as LOCAL (e..g local hospital) codes.
-->	
													</code>
								    			</playingEntity>
								    		</participantRole>
								    	</participant>
								    	<entryRelationship typeCode="SUBJ" inversionInd="true">
								    		<!-- ** Severity observation template ** -->
								    		<observation classCode="OBS" moodCode="EVN">
								    			<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
								    			<code code="SEV" displayName="Severity Observation"
								    				codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
								    			<text>
								    				<reference value="#severity3"/>
								    			</text>
								    			<statusCode code="completed"/>
								    			<value xsi:type="CD" code="24484000" displayName="Severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
                        						<interpretationCode code="S" displayName="Susceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/>
								    		</observation>
								    	</entryRelationship>
							        </observation>
							    </entryRelationship>
							</act>
						</entry>
				</section>
			</component>
			<!-- 
********************************************************
Encounters section
********************************************************
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.22"/>
					<!-- Encounters section template -->
					<code
						code="46240-8"
						codeSystem="2.16.840.1.113883.6.1" 
                  		codeSystemName="LOINC"
                  		displayName="History of encounters"/>
					<title>Encounters</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Encounter ED</td>
							<td>CPT</td>
							<td>99281</td>
							<td><content ID="Encounter1"/>Emergency dept visit</td>
							<td>05-01-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
						<tr>
							<td>Encounter Outpatient</td>
							<td>CPT</td>
							<td>99213</td>
							<td><content ID="Encounter2"/>Office/outpatient visit, est</td>
							<td>06-04-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>V70.0</td>
								<td>Routine general medical examination at a health care facility</td>
								<td/>
								<td/>
							</tr>
						<tr>
							<td>Encounter Outpatient</td>
							<td>CPT</td>
							<td>99213</td>
							<td><content ID="Encounter3"/>Office/outpatient visit, est</td>
							<td>12-07-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>V70.0</td>
								<td>Routine general medical examination at a health care facility</td>
								<td/>
								<td/>
							</tr>
				</tbody>
			</table>					</text>
						<entry typeCode="DRIV">
							<encounter classCode="ENC" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
								<!-- Encounter activity template -->
								<id root="2a620155-9d11-439e-92b3-5d9815ff4de8"/>
								<code code="99281" codeSystem="2.16.840.1.113883.6.12"
									displayName="Emergency dept visit"
									codeSystemName="CPT">
									<originalText>
										Encounter ED + Encounter ED
										<reference value="#Encounter1"/>
									</originalText>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20100501100000"/>
							</encounter>
						</entry>
						<entry typeCode="DRIV">
							<encounter classCode="ENC" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
								<!-- Encounter activity template -->
								<id root="2a620155-9d11-439e-92b3-5d9815ff4de8"/>
								<code code="99213" codeSystem="2.16.840.1.113883.6.12"
									displayName="Office/outpatient visit, est"
									codeSystemName="CPT">
									<originalText>
										Encounter Outpatient + Encounter Outpatient
										<reference value="#Encounter2"/>
									</originalText>
										<translation code="V70.0" codeSystem="2.16.840.1.113883.6.103"
											displayName="Routine general medical examination at a health care facility" codeSystemName="ICD-9-CM"/>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20100604100000"/>
				                    <entryRelationship typeCode="RSON">
				                        <observation classCode="OBS" moodCode="EVN">
					                        <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
					                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
					                        <code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
											<text>
	                            				<reference value="#Problem1"/> 
	                            			</text>
					                        <statusCode code="completed"/>
					                        <effectiveTime>
					                            <low value="20100604100000"/>
					                        </effectiveTime>
					                        <value xsi:type="CD" code="195979001"
					                        	displayName="Asthma"
					                        	codeSystem="2.16.840.1.113883.6.96"
					                        	codeSystemName="SNOMED-CT">
													<translation code="J45" codeSystem="2.16.840.1.113883.6.90"
														displayName="Asthma" codeSystemName="ICD-10-CM"/>
													<translation code="493.92" codeSystem="2.16.840.1.113883.6.103"
														displayName="Asthma, unspecified type, with (acute) exacerbation" codeSystemName="ICD-9-CM"/>
					                        </value>
				                        </observation>
				                    </entryRelationship>
				                    <entryRelationship typeCode="RSON">
				                        <observation classCode="OBS" moodCode="EVN">
					                        <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
					                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
					                        <code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
											<text>
	                            				<reference value="#Problem2"/> 
	                            			</text>
					                        <statusCode code="completed"/>
					                        <effectiveTime>
					                            <low value="20100604100000"/>
					                        </effectiveTime>
					                        <value xsi:type="CD" code="370202007"
					                        	displayName="Asthma Daytime Symptoms Quantified"
					                        	codeSystem="2.16.840.1.113883.6.96"
					                        	codeSystemName="SNOMED-CT">
					                        </value>
				                        </observation>
				                    </entryRelationship>
				                    <entryRelationship typeCode="RSON">
				                        <observation classCode="OBS" moodCode="EVN">
					                        <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
					                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
					                        <code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
											<text>
	                            				<reference value="#Problem3"/> 
	                            			</text>
					                        <statusCode code="completed"/>
					                        <effectiveTime>
					                            <low value="20100604100000"/>
					                        </effectiveTime>
					                        <value xsi:type="CD" code="370205009"
					                        	displayName="Asthma Nighttime Symptoms Quantified"
					                        	codeSystem="2.16.840.1.113883.6.96"
					                        	codeSystemName="SNOMED-CT">
					                        </value>
				                        </observation>
				                    </entryRelationship>
							</encounter>
						</entry>
						<entry typeCode="DRIV">
							<encounter classCode="ENC" moodCode="EVN">
								<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
								<!-- Encounter activity template -->
								<id root="2a620155-9d11-439e-92b3-5d9815ff4de8"/>
								<code code="99213" codeSystem="2.16.840.1.113883.6.12"
									displayName="Office/outpatient visit, est"
									codeSystemName="CPT">
									<originalText>
										Encounter Outpatient + Encounter Outpatient
										<reference value="#Encounter3"/>
									</originalText>
										<translation code="V70.0" codeSystem="2.16.840.1.113883.6.103"
											displayName="Routine general medical examination at a health care facility" codeSystemName="ICD-9-CM"/>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20101207100000"/>
				                    <entryRelationship typeCode="RSON">
				                        <observation classCode="OBS" moodCode="EVN">
					                        <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
					                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
					                        <code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
											<text>
	                            				<reference value="#Problem1"/> 
	                            			</text>
					                        <statusCode code="completed"/>
					                        <effectiveTime>
					                            <low value="20101207100000"/>
					                        </effectiveTime>
					                        <value xsi:type="CD" code="370202007"
					                        	displayName="Asthma Daytime Symptoms Quantified"
					                        	codeSystem="2.16.840.1.113883.6.96"
					                        	codeSystemName="SNOMED-CT">
					                        </value>
				                        </observation>
				                    </entryRelationship>
				                    <entryRelationship typeCode="RSON">
				                        <observation classCode="OBS" moodCode="EVN">
					                        <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
					                        <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
					                        <code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
											<text>
	                            				<reference value="#Problem2"/> 
	                            			</text>
					                        <statusCode code="completed"/>
					                        <effectiveTime>
					                            <low value="20101207100000"/>
					                        </effectiveTime>
					                        <value xsi:type="CD" code="370205009"
					                        	displayName="Asthma Nighttime Symptoms Quantified"
					                        	codeSystem="2.16.840.1.113883.6.96"
					                        	codeSystemName="SNOMED-CT">
					                        </value>
				                        </observation>
				                    </entryRelationship>
							</encounter>
						</entry>
				</section>
			</component>
			<!-- 
********************************************************
Immunizations section
********************************************************
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.2"/>
					<!-- Immunizations section template -->
					<code code="11369-6" codeSystem="2.16.840.1.113883.6.1"/>
					<title>Immunizations</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Influenza Vaccine</td>
							<td>CVX</td>
							<td>135</td>
							<td><content ID="Immunization1"/>Influenza, high dose seasonal</td>
							<td>12-07-2010 10:00:00</td>
							<td>Completed</td>
						</tr>
						<tr>
							<td>Pneumococcal Vaccine all ages</td>
							<td>CVX</td>
							<td>100</td>
							<td><content ID="Immunization2"/>pneumococcal conjugate PCV 7</td>
							<td>12-07-2010 10:00:00</td>
							<td>Completed</td>
						</tr>
							<tr>
								<td/>
								<td>CPT</td>
								<td>90669</td>
								<td>Pneumococcal vacc, ped&lt;5</td>
								<td/>
								<td/>
							</tr>
				</tbody>
			</table>					</text>
						<entry typeCode="DRIV">
							<substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
								<!-- Immunization activity template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.52"/>
								<id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
								<text>
									<reference value="#Immunization1"/>
								</text>
								<statusCode code="completed"/>
								<effectiveTime value="20101207100000"/>
								<routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1"
									codeSystemName="NCI Thesaurus"
									displayName="Intramuscular injection"/>
								<consumable>
									<manufacturedProduct classCode="MANU">
										<!-- Product template -->
										<templateId root="2.16.840.1.113883.10.20.22.4.54"/>
										<manufacturedMaterial>
											<code code="135" codeSystem="2.16.840.1.113883.12.292"
												displayName="Influenza, high dose seasonal"
												codeSystemName="CVX">
												<originalText>
													Influenza Vaccine + Influenza Vaccine
													<reference value="#Immunization1"/>
												</originalText>
											</code>
										</manufacturedMaterial>
									</manufacturedProduct>
								</consumable>
								<performer>
                                	<assignedEntity>
                                    	<id root="2.16.840.1.113883.4.6" extension="999999943252"/>
                                    	<addr>
                                        	<streetAddressLine>101 Maple Street</streetAddressLine>
                                        	<city>Washington</city>
                                        	<state>DC</state>
                                        	<postalCode>20009</postalCode>
                                        	<country>United States</country>
                                    	</addr>
	                                    <telecom value="888-888-0000"/>
	                                    <assignedPerson>
	                                        <name>
	                                            <given>Jim</given>
	                                            <family>Smith</family>
	                                        </name>
	                                    </assignedPerson>
	                                    <representedOrganization>
	                                        <id root="2.16.840.1.113883.19.5"
	                                            extension="2981824"/>
	                                        <name>Good Hospital</name>
	                                        <telecom use="WP" value="888-888-0000"/>
	                                        <addr>
	                           	            <streetAddressLine>101 Maple Street</streetAddressLine>
	                                 	      <city>Washington</city>
	                                 	      <state>DC</state>
	                                        <postalCode>20009</postalCode>
	                                     	  <country>United States</country>
	                                        </addr>
	                                    </representedOrganization>
	                                </assignedEntity>
	                            </performer>
							</substanceAdministration>
						</entry>
						<entry typeCode="DRIV">
							<substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
								<!-- Immunization activity template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.52"/>
								<id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
								<text>
									<reference value="#Immunization2"/>
								</text>
								<statusCode code="completed"/>
								<effectiveTime value="20101207100000"/>
								<routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1"
									codeSystemName="NCI Thesaurus"
									displayName="Intramuscular injection"/>
								<consumable>
									<manufacturedProduct classCode="MANU">
										<!-- Product template -->
										<templateId root="2.16.840.1.113883.10.20.22.4.54"/>
										<manufacturedMaterial>
											<code code="100" codeSystem="2.16.840.1.113883.12.292"
												displayName="pneumococcal conjugate PCV 7"
												codeSystemName="CVX">
												<originalText>
													Pneumococcal Vaccine all ages + Pneumococcal Vaccine all ages
													<reference value="#Immunization2"/>
												</originalText>
													<translation code="90669" codeSystem="2.16.840.1.113883.6.12"
														displayName="Pneumococcal vacc, ped&lt;5" codeSystemName="CPT"/>
											</code>
										</manufacturedMaterial>
									</manufacturedProduct>
								</consumable>
								<performer>
                                	<assignedEntity>
                                    	<id root="2.16.840.1.113883.4.6" extension="999999943252"/>
                                    	<addr>
                                        	<streetAddressLine>101 Maple Street</streetAddressLine>
                                        	<city>Washington</city>
                                        	<state>DC</state>
                                        	<postalCode>20009</postalCode>
                                        	<country>United States</country>
                                    	</addr>
	                                    <telecom value="888-888-0000"/>
	                                    <assignedPerson>
	                                        <name>
	                                            <given>Jim</given>
	                                            <family>Smith</family>
	                                        </name>
	                                    </assignedPerson>
	                                    <representedOrganization>
	                                        <id root="2.16.840.1.113883.19.5"
	                                            extension="2981824"/>
	                                        <name>Good Hospital</name>
	                                        <telecom use="WP" value="888-888-0000"/>
	                                        <addr>
	                           	            <streetAddressLine>101 Maple Street</streetAddressLine>
	                                 	      <city>Washington</city>
	                                 	      <state>DC</state>
	                                        <postalCode>20009</postalCode>
	                                     	  <country>United States</country>
	                                        </addr>
	                                    </representedOrganization>
	                                </assignedEntity>
	                            </performer>
							</substanceAdministration>
						</entry>
				</section>
			</component>
			<!-- 
********************************************************
Medications section
********************************************************
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
					<!-- Medications section template -->
					<code code="10160-0" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC" displayName="History of Medication Use"/>
					<title>Medications</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Antiasthmatic combinations</td>
							<td>RxNorm</td>
							<td>388681</td>
							<td><content ID="Medication1"/>Dyphylline 100 MG / Guaifenesin 100 MG Oral Tablet</td>
							<td>06-04-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Short acting beta 2 agonist</td>
							<td>RxNorm</td>
							<td>630208</td>
							<td><content ID="Medication2"/>Albuterol 0.83 MG/ML Inhalant Solution</td>
							<td>10-07-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Contraceptives</td>
							<td>RxNorm</td>
							<td>314146</td>
							<td><content ID="Medication3"/>Ethinyl Estradiol 0.05 MG / Norgestrel 0.5 MG Oral Tablet</td>
							<td>12-07-2010 10:00:00</td>
							<td>Active</td>
						</tr>
				</tbody>
			</table>					</text>
					<informant>
						<assignedEntity>
							<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
							<representedOrganization>
								<id root="2.16.840.1.113883.4.6"/>
								<name>Community Health and Hospitals</name>
								<telecom use="WP" value="tel: 555-555-5000"/>
								<addr>
									<streetAddressLine>1001 Village Avenue</streetAddressLine>
									<city>Portland</city>
									<state>OR</state>
									<postalCode>99123</postalCode>
									<country>US</country>
								</addr>
							</representedOrganization>
						</assignedEntity>
					</informant>
						<entry typeCode="DRIV">
							<substanceAdministration classCode="SBADM" moodCode="EVN">
								<!-- Medication activity template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.16"/>
								<id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/>
								<text/>
								<statusCode code="completed"/>
								<effectiveTime xsi:type="IVL_TS">
									<low value="20100604100000"/>
									<high nullFlavor="UNK"/>
								</effectiveTime>
								<consumable>
									<manufacturedProduct classCode="MANU">
										<!-- Medication Information -->
										<templateId root="2.16.840.1.113883.10.20.22.4.23"/>
										<manufacturedMaterial>
											<code code="388681" codeSystem="2.16.840.1.113883.6.88"
												displayName="Dyphylline 100 MG / Guaifenesin 100 MG Oral Tablet"
												codeSystemName="RxNorm">
												<originalText>
													Antiasthmatic combinations + Dyphylline 100 MG / Guaifenesin 100 MG Oral Tablet
													<reference value="#Medication1"/>
												</originalText>
											</code>
											<name>Antiasthmatic combinations</name>
										</manufacturedMaterial>
									</manufacturedProduct>
								</consumable>
							</substanceAdministration>
						</entry>
						<entry typeCode="DRIV">
							<substanceAdministration classCode="SBADM" moodCode="EVN">
								<!-- Medication activity template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.16"/>
								<id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/>
								<text/>
								<statusCode code="completed"/>
								<effectiveTime xsi:type="IVL_TS">
									<low value="20101007100000"/>
									<high nullFlavor="UNK"/>
								</effectiveTime>
								<consumable>
									<manufacturedProduct classCode="MANU">
										<!-- Medication Information -->
										<templateId root="2.16.840.1.113883.10.20.22.4.23"/>
										<manufacturedMaterial>
											<code code="630208" codeSystem="2.16.840.1.113883.6.88"
												displayName="Albuterol 0.83 MG/ML Inhalant Solution"
												codeSystemName="RxNorm">
												<originalText>
													Short acting beta 2 agonist + Albuterol 0.83 MG/ML Inhalant Solution
													<reference value="#Medication2"/>
												</originalText>
											</code>
											<name>Short acting beta 2 agonist</name>
										</manufacturedMaterial>
									</manufacturedProduct>
								</consumable>
							</substanceAdministration>
						</entry>
						<entry typeCode="DRIV">
							<substanceAdministration classCode="SBADM" moodCode="EVN">
								<!-- Medication activity template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.16"/>
								<id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/>
								<text/>
								<statusCode code="completed"/>
								<effectiveTime xsi:type="IVL_TS">
									<low value="20101207100000"/>
									<high nullFlavor="UNK"/>
								</effectiveTime>
								<consumable>
									<manufacturedProduct classCode="MANU">
										<!-- Medication Information -->
										<templateId root="2.16.840.1.113883.10.20.22.4.23"/>
										<manufacturedMaterial>
											<code code="314146" codeSystem="2.16.840.1.113883.6.88"
												displayName="Ethinyl Estradiol 0.05 MG / Norgestrel 0.5 MG Oral Tablet"
												codeSystemName="RxNorm">
												<originalText>
													Contraceptives + Ethinyl Estradiol 0.05 MG / Norgestrel 0.5 MG Oral Tablet
													<reference value="#Medication3"/>
												</originalText>
											</code>
											<name>Contraceptives</name>
										</manufacturedMaterial>
									</manufacturedProduct>
								</consumable>
							</substanceAdministration>
						</entry>


				</section>
			</component>
			<!-- 
********************************************************
Problems section
********************************************************
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.5.1"/>
					<!-- Problem section template -->
					<code code="11450-4" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC" displayName="PROBLEM LIST"/>
					<title>Problems</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Cystic Fibrosis</td>
							<td>SNOMED-CT</td>
							<td>190905008</td>
							<td><content ID="Problem1"/>Cystic fibrosis</td>
							<td>02-18-1984 10:00:00</td>
							<td>Active</td>
						</tr>
							<tr>
								<td/>
								<td>ICD-10-CM</td>
								<td>E84</td>
								<td>Cystic fibrosis</td>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>277.00</td>
								<td>Cystic fibrosis without mention of meconium ileus</td>
								<td/>
								<td/>
							</tr>
						<tr>
							<td>Asthma</td>
							<td>SNOMED-CT</td>
							<td>195979001</td>
							<td><content ID="Problem2"/>Asthma unspecified</td>
							<td>06-04-2010 10:00:00</td>
							<td>Active</td>
						</tr>
							<tr>
								<td/>
								<td>ICD-10-CM</td>
								<td>J45</td>
								<td>Asthma</td>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>493.92</td>
								<td>Asthma, unspecified type, with (acute) exacerbation</td>
								<td/>
								<td/>
							</tr>
						<tr>
							<td>Asthma Daytime Symptoms Quantified</td>
							<td>SNOMED-CT</td>
							<td>370202007</td>
							<td><content ID="Problem3"/>Asthma causes daytime symptoms 1 to 2 times per month</td>
							<td>06-04-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Asthma Nighttime Symptoms Quantified</td>
							<td>SNOMED-CT</td>
							<td>370205009</td>
							<td><content ID="Problem4"/>Asthma causes night symptoms 1 to 2 times per month</td>
							<td>06-04-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Asthma Daytime Symptoms Quantified</td>
							<td>SNOMED-CT</td>
							<td>370202007</td>
							<td><content ID="Problem5"/>Asthma causes daytime symptoms 1 to 2 times per month</td>
							<td>12-07-2010 10:00:00</td>
							<td>Active</td>
						</tr>
						<tr>
							<td>Asthma Nighttime Symptoms Quantified</td>
							<td>SNOMED-CT</td>
							<td>370205009</td>
							<td><content ID="Problem6"/>Asthma causes night symptoms 1 to 2 times per month</td>
							<td>12-07-2010 10:00:00</td>
							<td>Active</td>
						</tr>
				</tbody>
			</table>					</text>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="19840218100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="19840218100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="190905008" codeSystem="2.16.840.1.113883.6.96"
											displayName="Cystic fibrosis"
											codeSystemName="SNOMED-CT">
												<translation code="E84" codeSystem="2.16.840.1.113883.6.90"
													displayName="Cystic fibrosis" codeSystemName="ICD-10-CM"/>
												<translation code="277.00" codeSystem="2.16.840.1.113883.6.103"
													displayName="Cystic fibrosis without mention of meconium ileus" codeSystemName="ICD-9-CM"/>
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem1"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100604100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="20100604100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="195979001" codeSystem="2.16.840.1.113883.6.96"
											displayName="Asthma unspecified"
											codeSystemName="SNOMED-CT">
												<translation code="J45" codeSystem="2.16.840.1.113883.6.90"
													displayName="Asthma" codeSystemName="ICD-10-CM"/>
												<translation code="493.92" codeSystem="2.16.840.1.113883.6.103"
													displayName="Asthma, unspecified type, with (acute) exacerbation" codeSystemName="ICD-9-CM"/>
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem2"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100604100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="20100604100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="370202007" codeSystem="2.16.840.1.113883.6.96"
											displayName="Asthma causes daytime symptoms 1 to 2 times per month"
											codeSystemName="SNOMED-CT">
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem3"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20100604100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="20100604100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="370205009" codeSystem="2.16.840.1.113883.6.96"
											displayName="Asthma causes night symptoms 1 to 2 times per month"
											codeSystemName="SNOMED-CT">
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem4"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20101207100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="20101207100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="370202007" codeSystem="2.16.840.1.113883.6.96"
											displayName="Asthma causes daytime symptoms 1 to 2 times per month"
											codeSystemName="SNOMED-CT">
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem5"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
						<entry typeCode="DRIV">
							<act classCode="ACT" moodCode="EVN">
								<!-- Problem act template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
								<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
								<code code="CONC" codeSystem="2.16.840.1.113883.5.6"
									codeSystemName="HL7ActClass" displayName="Concern"/>
								<statusCode code="active"/>
								<effectiveTime>
									<low value="20101207100000"/>
								</effectiveTime>
								<entryRelationship typeCode="SUBJ">
									<!-- Problem observation template -->
									<observation classCode="OBS" moodCode="EVN">
										<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
										<id root="9d3d416d-45ab-4da1-912f-4583e0632000"/>
										<code code="282291009" codeSystem="2.16.840.1.113883.6.96" displayName="Diagnosis"/>
										<statusCode code="completed"/>
										<effectiveTime>
											<low value="20101207100000"/>
										</effectiveTime>
										<value xsi:type="CD" code="370205009" codeSystem="2.16.840.1.113883.6.96"
											displayName="Asthma causes night symptoms 1 to 2 times per month"
											codeSystemName="SNOMED-CT">
										</value>
										<entryRelationship typeCode="REFR">
											<observation classCode="OBS" moodCode="EVN">
												<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
												<code xsi:type="CE" code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
												<text>
		                            				<reference value="#Problem6"/> 
		                            			</text>
												<statusCode code="completed"/>
												<value xsi:type="CD" code="55561003" displayName="Active" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
											</observation>
										</entryRelationship>
									</observation>
								</entryRelationship>
							</act>
						</entry>
				</section>
			</component>
			<!-- 
********************************************************
Procedures section
********************************************************
-->
			<component>
				<section>
					<!-- conforms to Procedures section with entries optional -->
					<templateId root="2.16.840.1.113883.10.20.22.2.7"/>
					<!-- Procedures section with entries required -->				
					<templateId root="2.16.840.1.113883.10.20.22.2.7.1"/>
					<code code="47519-4" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC" displayName="HISTORY OF PROCEDURES"/>
					<title>Procedures</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Asthma Symptom Assessment Tool</td>
							<td>SNOMED-CT</td>
							<td>401011001</td>
							<td><content ID="Procedure1"/>Peak expiratory flow rate monitoring using diary</td>
							<td>06-04-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
						<tr>
							<td>Asthma Symptom Assessment Tool</td>
							<td>SNOMED-CT</td>
							<td>401011001</td>
							<td><content ID="Procedure2"/>Peak expiratory flow rate monitoring using diary</td>
							<td>10-07-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
						<tr>
							<td>contraceptive use education</td>
							<td>SNOMED-CT</td>
							<td>44651004</td>
							<td><content ID="Procedure3"/>Contraceptive use education</td>
							<td>12-07-2010 10:00:00</td>
							<td>Performed</td>
						</tr>
				</tbody>
			</table>					</text>
						
						<entry typeCode="DRIV">
					    	<procedure classCode="OBS" moodCode="EVN">
								<!-- Procedure Activity Observation Template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.13"/>
								<id root="e401f340-7be2-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="401011001" codeSystem="2.16.840.1.113883.6.96"
									displayName="Peak expiratory flow rate monitoring using diary"
									codeSystemName="SNOMED-CT">
									<originalText>
										Asthma Symptom Assessment Tool + Peak expiratory flow rate monitoring using diary
										<reference value="#Procedure1"/>
									</originalText>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20100604100000"/>
									<methodCode nullFlavor="UNK"/>
					    	</procedure>
					    </entry>
						
						<entry typeCode="DRIV">
					    	<procedure classCode="OBS" moodCode="EVN">
								<!-- Procedure Activity Observation Template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.13"/>
								<id root="e401f340-7be2-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="401011001" codeSystem="2.16.840.1.113883.6.96"
									displayName="Peak expiratory flow rate monitoring using diary"
									codeSystemName="SNOMED-CT">
									<originalText>
										Asthma Symptom Assessment Tool + Peak expiratory flow rate monitoring using diary
										<reference value="#Procedure2"/>
									</originalText>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20101007100000"/>
									<methodCode nullFlavor="UNK"/>
					    	</procedure>
					    </entry>
						
						<entry typeCode="DRIV">
					    	<procedure classCode="ACT" moodCode="EVN">
								<!-- Procedure Activity Act Template -->
								<templateId root="2.16.840.1.113883.10.20.22.4.12"/>
								<id root="e401f340-7be2-11db-9fe1-0800200c9a66"/>
								<code xsi:type="CE" code="44651004" codeSystem="2.16.840.1.113883.6.96"
									displayName="Contraceptive use education"
									codeSystemName="SNOMED-CT">
									<originalText>
										contraceptive use education + Contraceptive use education
										<reference value="#Procedure3"/>
									</originalText>
								</code>
								<statusCode code="completed"/>
								<effectiveTime value="20101207100000"/>
									<methodCode nullFlavor="UNK"/>
					    	</procedure>
					    </entry>
				</section>
			</component>
			<!-- 
********************************************************
Results section
********************************************************

Note:  In EMERGE DB, all results are laboratory test results that are assigned to a specific Lab Category.
	For example, HDL, LDL, Total Ch and Triglycerides are all grouped under Lipid Panel.
Each lab test is associated with one, and only one, LabCategory.
Lab tests can further be organized as "BATTERY" or "CLUSTERS" aka. classCode (CONF:7121, C-CDA IG page 503).
	For example, HDL, LDL, Total Ch and Triglycerides are BATTERY of Lab Category "Lipid Panels" because these tests
	are executed together,  whereas HIV and Chlamydia tests are CLUSTERS since these tests need not be executed
	together but are categorized under same lab category ("Microbiology") and may be reported on same Lab Report.

The following list shows ALL Laboratory tests available in EMERGE db and how they correspond to Labcategories,
and whether such tests are considered CLUSTER or BATTERY in EMERGE db:

TEST	LabCATEGORY classCode
HbA1c test	Blood Chemistry CLUSTER
Prostate Specific Antigen Test	Blood Chemistry CLUSTER
Pap Test	Cytology	CLUSTER
FOBT	FOBT CLUSTER
High Density Lipoprotein (HDL)	Lipid Panel  	BATTERY
Low Density Lipoprotein (LDL)	Lipid Panel BATTERY
Total Cholesterol	Lipid Panel BATTERY
Triglycerides	Lipid Panel BATTERY
Chlamydia Screening	Microbiology CLUSTER
Group A Streptococcus Test	Microbiology CLUSTER
Gleason Score	Pathology CLUSTER
Gleason Score <=6	Pathology CLUSTER
HIV Screening	Serology CLUSTER
Pregnancy Test	Serology CLUSTER
Rh Status Baby	Serology CLUSTER
Rh Status Mother	Serology CLUSTER
Urine Macroalbumin	Urinalysis CLUSTER

Note that laboratories may sometimes differ in terms of what they consider BATTERY as opposed to CLUSTER for soem tests;
 depending on method that is used to execute such lab tests.

The <entry> tags for Results section (further below after narrative <text> tags) are organized based on the following rule:
(1) All tests belonging to the same Lab Category are grouped as <components> under one <entry> having one <organizer>.
	For example, HDL LDL, Total Ch and TG are declared as 4 <components> belonging to one <entry>, having one <organizer>
(2) In cases where patient has two lipid panels performed on two different dates, such case will result in two <entry> tags,
	each <entry> tag having one <organizer> and 4 <components>.

Note that C-CDA schema explicitly allows one, and only one, <organizer> per <entry> (CONF:7113, C-CDA IG page 288).

-->
			<component>
				<section>
					<!-- conforms to Results section with entries optional -->
					<templateId root="2.16.840.1.113883.10.20.22.2.3"/>
					<!-- Results section with entries required -->
					<templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
					<code code="30954-2" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC" displayName="Results"/>
					<title>Results</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Value</th>
						<th>Unit</th>
						<th>Reference Range</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Chlamydia Screening</td>
							<td>LOINC</td>
							<td>31777-6</td>
							<td><content ID="Result1"/>C trach Ag XXX Ql</td>
							<td>negative</td>
							<td></td>
							<td>NA</td>
							<td>12-07-2010 10:00:00</td>
							<td>Completed</td>
						</tr>
							<tr>
								<td/>
								<td>CPT</td>
								<td>87270</td>
								<td>Chlamydia trachomatis ag if</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>SNOMED-CT</td>
								<td>121953005</td>
								<td>Measurement of Chlamydia pneumoniae antibody</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
						<tr>
							<td>Pap Test</td>
							<td>LOINC</td>
							<td>10524-7</td>
							<td><content ID="Result2"/>Cyto Cervix</td>
							<td>normal</td>
							<td></td>
							<td>NA</td>
							<td>12-07-2010 10:00:00</td>
							<td>Completed</td>
						</tr>
							<tr>
								<td/>
								<td>CPT</td>
								<td>88174</td>
								<td>Cytopath, c/v auto, in fluid</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>HCPCS</td>
								<td>G0147</td>
								<td>Scr c/v cyto, automated sys</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>ICD-10-CM</td>
								<td>Z12.4</td>
								<td>Encounter for screening for malignant neoplasm of cervix</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>ICD-9-CM</td>
								<td>V72.32</td>
								<td>Encounter for Papanicolaou cervical smear to confirm findings of recent normal smear following initial abnormal smear</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
							<tr>
								<td/>
								<td>SNOMED-CT</td>
								<td>440623000</td>
								<td>Microscopic examination of cervical Papanicolaou smear</td>
								<td/>
								<td/>
								<td/>
								<td/>
								<td/>
							</tr>
				</tbody>
			</table>					</text>
						
							<entry typeCode="DRIV">
								<organizer classCode="CLUSTER" moodCode="EVN">
									<!-- ** Result organizer ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.1"/>
									<id root="7d5a02b0-67a4-11db-bd13-0800200c9a66"/>
									<code xsi:type="CE" code="269934003" displayName="Microbiology"
										codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
									<statusCode code="completed"/>
								<component>
									<observation classCode="OBS" moodCode="EVN">
										<!-- ** Result observation ** -->
										<templateId root="2.16.840.1.113883.10.20.22.4.2"/>
										<id root="107c2dc0-67a5-11db-bd13-0800200c9a66"/>
										<code xsi:type="CE" code="31777-6" displayName="C trach Ag XXX Ql"
											codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC">
											<!-- ** Translations from LOINC to other coding systems (standard or local) ** -->
												<translation code="87270" codeSystem="2.16.840.1.113883.6.12"
													displayName="Chlamydia trachomatis ag if" codeSystemName="CPT"/>
												<translation code="121953005" codeSystem="2.16.840.1.113883.6.96"
													displayName="Measurement of Chlamydia pneumoniae antibody" codeSystemName="SNOMED-CT"/>
										</code>
										<statusCode code="completed"/>
										<effectiveTime value="20101207100000"/>
										<value xsi:type="CD" code="260385009" displayName="negative" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
										<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
										<referenceRange>
											<observationRange>
												<text>NA</text>
											</observationRange>
										</referenceRange>
									</observation>
								</component>
								</organizer>
							</entry>
							<entry typeCode="DRIV">
							<organizer classCode="CLUSTER" moodCode="EVN">
								<!-- ** Result organizer ** -->
								<templateId root="2.16.840.1.113883.10.20.22.4.1"/>
								<id root="7d5a02b0-67a4-11db-bd13-0800200c9a66"/>
								<code xsi:type="CE" code="116147009" displayName="Cytology"
									codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
								<statusCode code="completed"/>
								<component>
									<observation classCode="OBS" moodCode="EVN">
										<!-- ** Result observation ** -->
										<templateId root="2.16.840.1.113883.10.20.22.4.2"/>
										<id root="107c2dc0-67a5-11db-bd13-0800200c9a66"/>
										<code xsi:type="CE" code="10524-7" displayName="Cyto Cervix"
											codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC">
											<!-- ** Translations from LOINC to other coding systems (standard or local) ** -->
												<translation code="88174" codeSystem="2.16.840.1.113883.6.12"
													displayName="Cytopath, c/v auto, in fluid" codeSystemName="CPT"/>
												<translation code="G0147" codeSystem="2.16.840.1.113883.6.13"
													displayName="Scr c/v cyto, automated sys" codeSystemName="HCPCS"/>
												<translation code="Z12.4" codeSystem="2.16.840.1.113883.6.90"
													displayName="Encounter for screening for malignant neoplasm of cervix" codeSystemName="ICD-10-CM"/>
												<translation code="V72.32" codeSystem="2.16.840.1.113883.6.103"
													displayName="Encounter for Papanicolaou cervical smear to confirm findings of recent normal smear following initial abnormal smear" codeSystemName="ICD-9-CM"/>
												<translation code="440623000" codeSystem="2.16.840.1.113883.6.96"
													displayName="Microscopic examination of cervical Papanicolaou smear" codeSystemName="SNOMED-CT"/>
										</code>
										<statusCode code="completed"/>
										<effectiveTime value="20101207100000"/>
										<value xsi:type="CD" code="17621005" displayName="normal" codeSystem="2.16.840.1.113883.6.96" codeSystemName=" SNOMED-CT"/>
										<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
										<referenceRange>
											<observationRange>
												<text>NA</text>
											</observationRange>
										</referenceRange>
									</observation>
								</component>
						</organizer>
					</entry>
				</section>
			</component>
			<!-- 
********************************************************
Social History section
********************************************************
-->
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.17"/>
					<!-- Social history section template -->
					<code code="29762-2" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC"
						displayName="Social History"/>
					<title>Social History</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>Tobacco Use</td>
							<td>SNOMED-CT</td>
							<td>266919005</td>
							<td><content ID="SocialHistory1"/>Never smoker (Never Smoked)</td>
							<td>05-01-2010 10:00:00</td>
							<td>Active</td>
						</tr>
							<tr>
								<td/>
								<td>SNOMED-CT</td>
								<td>449868002</td>
								<td>Current every day smoker</td>
								<td/>
								<td/>
							</tr>
				</tbody>
			</table>					</text>
						<entry typeCode="DRIV">
							<observation classCode="OBS" moodCode="EVN">
									<!-- ** Smoking status observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.78"/>
									<id extension="123456789" root="2.16.840.1.113883.19"/>
									<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4">
										<originalText>
											Tobacco Use + Never smoker (Never Smoked)
											<reference value="#SocialHistory1" />
										</originalText>
									</code>
									<statusCode code="completed"/>
									<effectiveTime>
										<low value="20100501100000"/>
									</effectiveTime>
								<value xsi:type="CD" code="266919005" codeSystem="2.16.840.1.113883.6.96"
									displayName="Never smoker (Never Smoked)" codeSystemName="SNOMED-CT">
										<translation code="449868002" codeSystem="2.16.840.1.113883.6.96"
											displayName="Current every day smoker" codeSystemName="SNOMED-CT"/>
								</value>
							</observation>
						</entry>
				</section>
			</component>
			<!-- 
********************************************************
Vital Signs section
********************************************************
-->
			<component>
				<section>
					<!-- conforms to Vital Signs section with entries optional -->
					<templateId root="2.16.840.1.113883.10.20.22.2.4"/>
					<!-- Vital Signs section with entries required -->
					<templateId root="2.16.840.1.113883.10.20.22.2.4.1"/>
					<code code="8716-3" codeSystem="2.16.840.1.113883.6.1"
						codeSystemName="LOINC" displayName="Vital Signs"/>
					<title>Vital Signs</title>
					<text>

			<table>
				<thead>
					<tr>
						<th>Group Description</th>
						<th>Code System</th>
						<th>Code</th>
						<th>Code Description</th>
						<th>Value</th>
						<th>Unit</th>
						<th>Date and Time</th>
						<th>Status</th>
					</tr>
				</thead>
				<tbody>
											<tr>
							<td>BMI</td>
							<td>LOINC</td>
							<td>39156-5</td>
							<td><content ID="VitalSign1"/>BMI</td>
							<td>22.9</td>
							<td>kg/m2</td>
							<td>06-04-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Diastolic Blood Pressure</td>
							<td>LOINC</td>
							<td>8462-4</td>
							<td><content ID="VitalSign2"/>BP Diastolic</td>
							<td>70</td>
							<td>mm[Hg]</td>
							<td>06-04-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Heart Rate</td>
							<td>LOINC</td>
							<td>8867-4</td>
							<td><content ID="VitalSign3"/>Heart Rate</td>
							<td>70</td>
							<td>/min</td>
							<td>06-04-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Systolic Blood Pressure</td>
							<td>LOINC</td>
							<td>8480-6</td>
							<td><content ID="VitalSign4"/>BP Systolic</td>
							<td>122</td>
							<td>mm[Hg]</td>
							<td>06-04-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>BMI</td>
							<td>LOINC</td>
							<td>39156-5</td>
							<td><content ID="VitalSign5"/>BMI</td>
							<td>22.7</td>
							<td>kg/m2</td>
							<td>12-07-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Diastolic Blood Pressure</td>
							<td>LOINC</td>
							<td>8462-4</td>
							<td><content ID="VitalSign6"/>BP Diastolic</td>
							<td>74</td>
							<td>mm[Hg]</td>
							<td>12-07-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Heart Rate</td>
							<td>LOINC</td>
							<td>8867-4</td>
							<td><content ID="VitalSign7"/>Heart Rate</td>
							<td>72</td>
							<td>/min</td>
							<td>12-07-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
						<tr>
							<td>Systolic Blood Pressure</td>
							<td>LOINC</td>
							<td>8480-6</td>
							<td><content ID="VitalSign8"/>BP Systolic</td>
							<td>125</td>
							<td>mm[Hg]</td>
							<td>12-07-2010 10:00:00</td>
							<td>Finding</td>
						</tr>
				</tbody>
			</table>					</text>
							<entry typeCode="DRIV">
								<organizer classCode="CLUSTER" moodCode="EVN">
									<!-- ** Vital signs organizer ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.26"/>
									<id root="c6f88320-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="46680005" codeSystem="2.16.840.1.113883.6.96"
									codeSystemName="SNOMED-CT" displayName="Vital signs"/>
									<statusCode code="completed"/>
									<effectiveTime value="20100604100000"/>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="39156-5" codeSystem="2.16.840.1.113883.6.1"
													displayName="BMI"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign1"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20100604100000"/>
									<value xsi:type="PQ" value="22.9" unit="kg/m2"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8462-4" codeSystem="2.16.840.1.113883.6.1"
													displayName="BP Diastolic"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign2"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20100604100000"/>
									<value xsi:type="PQ" value="70" unit="mm[Hg]"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8867-4" codeSystem="2.16.840.1.113883.6.1"
													displayName="Heart Rate"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign3"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20100604100000"/>
									<value xsi:type="PQ" value="70" unit="/min"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8480-6" codeSystem="2.16.840.1.113883.6.1"
													displayName="BP Systolic"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign4"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20100604100000"/>
									<value xsi:type="PQ" value="122" unit="mm[Hg]"/>
								</observation>
							</component>
								</organizer>
							</entry>
							<entry typeCode="DRIV">
								<organizer classCode="CLUSTER" moodCode="EVN">
									<!-- ** Vital signs organizer ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.26"/>
									<id root="c6f88320-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="46680005" codeSystem="2.16.840.1.113883.6.96"
									codeSystemName="SNOMED-CT" displayName="Vital signs"/>
									<statusCode code="completed"/>
									<effectiveTime value="20101207100000"/>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="39156-5" codeSystem="2.16.840.1.113883.6.1"
													displayName="BMI"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign5"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20101207100000"/>
									<value xsi:type="PQ" value="22.7" unit="kg/m2"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8462-4" codeSystem="2.16.840.1.113883.6.1"
													displayName="BP Diastolic"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign6"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20101207100000"/>
									<value xsi:type="PQ" value="74" unit="mm[Hg]"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8867-4" codeSystem="2.16.840.1.113883.6.1"
													displayName="Heart Rate"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign7"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20101207100000"/>
									<value xsi:type="PQ" value="72" unit="/min"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<!-- ** Vital sign observation ** -->
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code xsi:type="CD" code="8480-6" codeSystem="2.16.840.1.113883.6.1"
													displayName="BP Systolic"
													codeSystemName="LOINC"/>
									<text>
										<reference value="#VitalSign8"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20101207100000"/>
									<value xsi:type="PQ" value="125" unit="mm[Hg]"/>
								</observation>
							</component>
						</organizer>
					</entry>
				</section>
			</component>
			<!-- 
************************************ 
PHYSICAL EXAMINATION 
************************************ 
-->
		</structuredBody>
	</component>
</ClinicalDocument>
