<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="CDA_PL_IG_1.3.1.xsl" type="text/xsl"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:extPL="http://www.csioz.gov.pl/xsd/extPL/r2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="extPL:ClinicalDocument">
	<!-- Wynik badania laboratoryjnego - przykład 1 -->
	<typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
	<templateId root="2.16.840.1.113883.3.4424.13.10.1.17" extension="1.3.1"/>
	<id extension="2345678" root="2.16.840.1.113883.3.4424.2.7.0.7.1" displayable="false"/>
	<code code="11502-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Laboratory report">
		<translation code="06.10" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Wyniki badań laboratoryjnych" />
	</code>
	<title>Sprawozdanie z badania laboratoryjnego</title>
	<effectiveTime value="20141001"/>
	<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
	<languageCode code="pl-PL"/>
	<setId extension="432231" root="2.16.840.1.113883.3.4424.2.7.0.7.2"/>
	<versionNumber value="1"/>
	<recordTarget>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.3"/>
		<patientRole>
			<id extension="12345" root="2.16.840.1.113883.3.4424.2.7.0.17.1" displayable="false"/>
			<id extension="62091599999" root="2.16.840.1.113883.3.4424.1.1.616" displayable="true"/>
			<addr>
				<city>Warszawa</city>
				<postalCode>01-134</postalCode>
				<streetName>Odkryta</streetName>
				<houseNumber>41</houseNumber>
				<unitID>12</unitID>
			</addr>
			<patient>
				<name>
					<given>Jan</given>
					<given>Franciszek</given>
					<family>Kowalski</family>
				</name>
				<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>
				<birthTime value="19620915"/>
			</patient>
		</patientRole>
	</recordTarget>
	<author>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.4"/>
		<functionCode code="DLAB" codeSystem="2.16.840.1.113883.3.4424.11.3.18" displayName="Diagnosta laboratoryjny"/>
		<time value="20141001"/>
		<assignedAuthor>
			<id extension="7724513" root="2.16.840.1.113883.3.4424.1.6.4" displayable="false"/>
			<assignedPerson>
				<templateId root="2.16.840.1.113883.3.4424.13.10.2.1"/>
				<name>
					<prefix>mgr</prefix>
					<given>Piotr</given>
					<family>Nowak</family>
				</name>
			</assignedPerson>
			<representedOrganization>
				<templateId root="2.16.840.1.113883.3.4424.13.10.2.17"/>
				<id extension="000000002004-09" root="2.16.840.1.113883.3.4424.2.3.2" displayable="true"/>
				<name>Laboratorium analityczne ABC-LAB</name>
				<telecom use="PUB" value="tel:22-1111123"/>
				<addr>
					<postalCode>00-950</postalCode>
					<city>Warszawa</city>
					<streetName>Świętokrzyska</streetName>
					<houseNumber>60</houseNumber>
				</addr>
				<asOrganizationPartOf>
					<wholeOrganization>
						<id extension="12121244516622" root="2.16.840.1.113883.3.4424.2.2.2" displayable="true"/>
						<asOrganizationPartOf>
							<wholeOrganization>
								<id extension="000000002004" root="2.16.840.1.113883.3.4424.2.3.1" displayable="true"/>
								<id extension="121212445" root="2.16.840.1.113883.3.4424.2.2.1" displayable="true"/>
								<name>ABC-LAB Sp. z o.o.</name>
							</wholeOrganization>
						</asOrganizationPartOf>
					</wholeOrganization>
				</asOrganizationPartOf>
			</representedOrganization>
		</assignedAuthor>
	</author>
	<custodian>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.5"/>
		<assignedCustodian>
			<representedCustodianOrganization>
				<id extension="000000001007" root="2.16.840.1.113883.3.4424.2.3.1" displayable="false"/>
			</representedCustodianOrganization>
		</assignedCustodian>
	</custodian>
	<legalAuthenticator>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.6"/>
		<time value="20141001"/>
		<signatureCode code="S"/>
		<assignedEntity>
			<id extension="7724513" root="2.16.840.1.113883.3.4424.1.6.4" displayable="true"/>
		</assignedEntity>
	</legalAuthenticator>
	<componentOf typeCode="COMP">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.52"/>
		<encompassingEncounter classCode="ENC" moodCode="EVN">
			<code code="8502" codeSystem="2.16.840.1.113883.3.4424.11.2.4" displayName="Punkt pobrań krwi"/>
			<effectiveTime value="201409051012"/>
		</encompassingEncounter>
	</componentOf>
	<component typeCode="COMP" contextConductionInd="true">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.59"/>
		<structuredBody classCode="DOCBODY" moodCode="EVN">
			<component>
				<section>
					<templateId root="2.16.840.1.113883.3.4424.13.10.3.33" />
					<code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Relevant diagnostic tests/laboratory data"  />
					<text>
						<table>
							<thead>
								<tr>
									<th>Badania</th>
									<th>Wynik</th>
									<th>Jedn.</th>
									<th>MIN</th>
									<th>MAX</th>
									<th>FLAGA</th>
									<th>Data pobrania</th>
									<th>Data wykonania</th>
								</tr>
							</thead>
							<tbody>
								<tr ID="OBS_1">
									<td>Sód (ICD-9: O35)</td>
									<td>146</td>
									<td>mmol/l</td>
									<td>135</td>
									<td>148</td>
									<td></td>
									<td>2014-10-01 08:12</td>
									<td>2014-10-01 09:55</td>
								</tr>
								<tr ID="OBS_2">
									<td>Potas (ICD-9: N45)</td>
									<td>5,06</td>
									<td>mmol/l</td>
									<td>3,50</td>
									<td>5,30</td>
									<td></td>
									<td>2014-10-01 08:12</td>
									<td>2014-10-01 09:55</td>
								</tr>
							</tbody>
						</table>
					</text>
					<entry typeCode="COMP">
						<observation classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.3.4424.13.10.4.20"/>
							<code code="O35" codeSystem="2.16.840.1.113883.3.4424.11.2.6" codeSystemName="ICD-9-PL" displayName="Sód (Na)" />
							<text>
								<reference value="#OBS_1" />
							</text>
							<effectiveTime value="201410010812"/>
							<value xsi:type="PQ" value="146" unit="mmol/l"/>
							<referenceRange typeCode="REFV">
								<observationRange classCode="OBS" moodCode="EVN.CRT">
									<value xsi:type="IVL_PQ">
										<low value="135" unit="mmol/l"/>
										<high value="148" unit="mmol/l"/>
									</value>
								</observationRange>
							</referenceRange>
						</observation>
					</entry>
					<entry typeCode="COMP">
						<observation classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.3.4424.13.10.4.20"/>
							<code code="N45" codeSystem="2.16.840.1.113883.3.4424.11.2.6" codeSystemName="ICD-9-PL" displayName="Potas (K)" />
							<text>
								<reference value="#OBS_2" />
							</text>
							<effectiveTime value="201410010812"/>
							<value xsi:type="PQ" value="5.06" unit="mmol/l"/>
							<referenceRange typeCode="REFV">
								<observationRange classCode="OBS" moodCode="EVN.CRT">
									<value xsi:type="IVL_PQ">
										<low value="3.50" unit="mmol/l"/>
										<high value="5.30" unit="mmol/l"/>
									</value>
								</observationRange>
							</referenceRange>
						</observation>
					</entry>
				</section>
			</component>
		</structuredBody>
	</component>
</ClinicalDocument>
