<?xml version = "1.0" ?>
<!DOCTYPE labResult.demo SYSTEM "labResult.demo.dtd" []>

<!-- 
Representation of the following example:

Sarah S. Oberheim
12560 SW Colony Ln.
Beaverton, OR 97005 USA
DOB:      04/28/1961
Sex:      F
Race:     C
SSN:      173-51-4099
Home:     503-626-1988
Work:     503-639-5877
Provider: hwinston
Location: SOUTH

   CBC w/o Differential - ordered by hwinston, results 12/15/2000 18:00:00 Status: P
      12/15/1998 18:00:00, 'LOI-4544-3 - HCT', 36, %, 33.0-46.0, Status: F
      12/15/1998 17:30:00, 'LOI-0718-7 - HGB', 13.0, g/dl, 11.4-15.2, Status: P
      12/15/1998 17:38:00, 'LOI-0804-5 - WBC', 9.6, 10*3/mm3, 4.1-10.3, Status: F




The following data, not from the MedicaLogic database, was created 
to complete the elements of the message.

Name of Provider's Practice:            	Docs R Us
Telphone number of provider's practice: 	503-626-1988
OID of Provider's Practice:			123.123.878.121.1

Name of the Lab that performed the test:	QND Laboratory
OID of the Lab that performed the test: 	123.3434.32.12
Name of IHCP that performed the test :  	Alberto Testaperforma
ID of Alberto Testaperforma:            	A1234

Placer ID of the Order: DRU8987
Filler ID of the Order: 19980815.1164

(Filler) IDs of Individual Observations:
	HCT:	19980815.1234
	HGB:	19980816.3333
	WBC:	19980817.1212

Putative SNOMED code for CBC w/o Diff: S99999 (I don't have SNOMED)

-->


<labResult.demo>
    <PrsnAsPt>
<addr>
<LIT V="12560 SW Colony Ln.">
</LIT>
<CTY V="Beaverton">
</CTY>
<STA V="OR">
</STA>
<ZIP V="97005">
</ZIP>
</addr>
        <phon V="tel:(503)626-1988" USE="PRN"/>
        <phon V="tel:(503)639-5877" USE="WPN"/>
        <birthDttm V="19610428"/>
        <has_PrsnName>
            <nm>
                <GIV QUAL="R C" V="Sarah"/>
                <MID QUAL="R C" V="S"/>
                <FAM QUAL="R C" V="Oberheim"/>
            </nm>
        </has_PrsnName>
        <asPatient>
            <isKnownByProvider>
       		<id EX="173-51-4099" RT="2.16.840.1.113883.4.1" AAN="US SSA"/>
               <id RT="2.16.840.1.113883.9876.344" AAN="CDSEMPI" EX="P737"/>
                <isKnownTo_HCsvcProvdr>
                    <HCprovdrOrgnztn>
                        <OrgnztnAsHPO>
                            <phon V="tel:(503)626-1988" USE="PRN"/>
                            <nmOrg TYPE="L" V="Docs R Us"/>
                        </OrgnztnAsHPO>
                    </HCprovdrOrgnztn>
                </isKnownTo_HCsvcProvdr>
            </isKnownByProvider>
        </asPatient>
        
        <!-- This is the order level ... the CBC -->
        
        <participatesAsPatientIn>
            <type V="PAT"/>
            <OrderEvent>
	            <mood V="EVN"/>
	            <id EX="19980815.1164" RT="123.3434.32.12" AAN="QND Laboratory"/>
	            <svcCd V="S99999" S="121.222.2323.12" SN="SNOMED" SV="3" DN="CBC w/o Differential"/>
	            <status V="P" S="2.16.840.1.113883.5.0123" SN="HL7 Result Status" SV="2.3.1" DN="Preliminary"/>
                    <hasPerformer>
                        <type V="PRF"/>
                        <participatesAsStakeholder>
                            <PrsnAsActr>
                                <id EX="A1234" RT="123.3434.32.12" AAN="QND Laboratory"/>
                                <has_PrsnName>
                                    <nm>
                                        <GIV QUAL="R C" V="Alberto"/>
                                        <FAM QUAL="R C" V="Testaperforma"/>
                                    </nm>
                                </has_PrsnName>
                            </PrsnAsActr>
                        </participatesAsStakeholder>
                    </hasPerformer>
                <PlacerOrder>
                    <type V="FLFS" S="121.222.2323.25"  SN="ICD" SV="9" DN="Fulfills"/>
                    <hasOrdrStub>
                        <mood V="ORD"/>
                        <id EX="DRU8987" RT="123.123.878.121.1" AAN="Docs R Us"/>
                    </hasOrdrStub>
                </PlacerOrder>
                
                <!-- This is the first of the components nested under the CBC
                	 Each component is enclosed in 'hasComponent' tags -->
                
			<hasComponent>
		            <type V="PAT"/>
			        <ObsEvnt>
			            <mood V="EVN"/>
			            <id EX="19980815.1234" RT="123.3434.32.12" AAN="QND Laboratory"/>
			            <svcCd V="4544-3" S="121.222.2323.15" SN="LOINC" SV="K" DN="HCT"/>
			            <status V="F" S="2.16.840.1.113883.5.0085" SN="HL7 Observation Result Status" SV="2.3.1" DN="Final"/>
			            <critclTime V="200012151800-0800"/>
			            <value T="PQ" V="36" U="%"/>
			            <normlRng LOW="33.0" HIGH="46.0" U="%"/>
		                <hasPerformer>
			                <type V="PRF"/>
			                <participatesAsStakeholder>
			                    <PrsnAsActr>
			                        <id EX="A1234" RT="123.3434.32.12" AAN="QND Laboratory"/>
			                        <has_PrsnName>
			                            <nm>
			                                <GIV QUAL="R C" V="Alberto"/>
			                                <FAM QUAL="R C" V="Testaperforma"/>
			                            </nm>
			                        </has_PrsnName>
			                    </PrsnAsActr>
                            </participatesAsStakeholder>
		                </hasPerformer>
			        </ObsEvnt>
				</hasComponent>
				<hasComponent>
		            <type V="PAT"/>
			        <ObsEvnt>
			            <mood V="EVN"/>
			            <id EX="19980816.3333" RT="123.3434.32.12" AAN="QND Laboratory"/>
			            <svcCd V="718-7" S="121.222.2323.15"  SN="LOINC" SV="K" DN="HGB"/>
			            <status V="P" S="2.16.840.1.113883.5.0085" SN="HL7 Observation Result Status" SV="2.3.1" DN="Preliminary"/>
			            <critclTime V="200012151730-0800"/>
			            <value T="PQ" V="13.0" U="g/dl"/>
			            <normlRng LOW="11.4" HIGH="15.2" U="g/dl"/>
			            <hasPerformer>
			                <type V="PRF"/>
			                <participatesAsStakeholder>
			                    <PrsnAsActr>
			                        <id EX="A1234" RT="123.3434.32.12" AAN="QND Laboratory"/>
			                        <has_PrsnName>
			                            <nm>
			                                <GIV QUAL="R C" V="Alberto"/>
			                                <FAM QUAL="R C" V="Testaperforma"/>
			                            </nm>
			                        </has_PrsnName>
			                    </PrsnAsActr>
			                </participatesAsStakeholder>
                        </hasPerformer>
			        </ObsEvnt>
				</hasComponent>
				<hasComponent>
		            <type V="PAT"/>
			        <ObsEvnt>
			            <mood V="EVN"/>
			            <id EX="19980817.1212" RT="123.3434.32.12" AAN="QND Laboratory"/>
			            <svcCd V="804-5" S="121.222.2323.15"  SN="LOINC" SV="K" DN="WBC"/>
			            <status V="F" S="2.16.840.1.113883.5.0085" SN="HL7 Observation Result Status" SV="2.3.1" DN="Final"/>
			            <critclTime V="200012151738-0800"/>
			            <value T="PQ" V="9.6" U="10*3/mm3"/>
			            <normlRng LOW="4.1" HIGH="10.3" U="10*3/mm3"/>
			            <hasPerformer>
			                <type V="PRF"/>
			                <participatesAsStakeholder>
			                    <PrsnAsActr>
			                        <id EX="A1234" RT="123.3434.32.12" AAN="QND Laboratory"/>
			                        <has_PrsnName>
			                            <nm>
			                                <GIV QUAL="R C" V="Alberto"/>
			                                <FAM QUAL="R C" V="Testaperforma"/>
			                            </nm>
			                        </has_PrsnName>
			                    </PrsnAsActr>
			                </participatesAsStakeholder>
			            </hasPerformer>
			        </ObsEvnt>
				</hasComponent>
	        </OrderEvent>
        </participatesAsPatientIn>
    </PrsnAsPt>
</labResult.demo>

