<?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">
	<!-- Opis badania diagnostycznego - 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.16" extension="1.3.1"/>
	<id extension="2345678" root="2.16.840.1.113883.3.4424.2.7.0.7.1" displayable="false"/>
	<code code="70004-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Diagnostic study note">
		<translation code="06.00" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Wyniki badań diagnostycznych" />
	</code>
	<title>RTG klatki piersiowej</title>
	<effectiveTime value="20140906"/>
	<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>
			<providerOrganization classCode="ORG">
				<templateId root="2.16.840.1.113883.3.4424.13.10.2.2"/>
				<id extension="1007" root="2.16.840.1.113883.3.4424.2.3.1" displayable="false"/>
			</providerOrganization>
		</patientRole>
	</recordTarget>
	<author>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.4"/>
        <functionCode code="LEK" codeSystem="2.16.840.1.113883.3.4424.11.3.18" displayName="Lekarz"/>
		<time value="20130412"/>
		<assignedAuthor xsi:type="extPL:AssignedAuthor">
            <id extension="7724513" root="2.16.840.1.113883.3.4424.1.6.2" displayable="false"/>
            <assignedPerson>
            	<templateId root="2.16.840.1.113883.3.4424.13.10.2.1"/>
                <name>
                    <prefix>lek.</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="000000001007-01" root="2.16.840.1.113883.3.4424.2.3.2" displayable="true"/>
                <name>Poradnia POZ</name>
                <telecom use="PUB" value="tel:22-1111123"/>
                <addr>
                    <postalCode>00-950</postalCode>
                    <city>Warszawa</city>
                    <streetName>Marszałkowska</streetName>
                    <houseNumber>320</houseNumber>
                </addr>
                <asOrganizationPartOf>
                    <wholeOrganization>
                        <id extension="12345678901234" root="2.16.840.1.113883.3.4424.2.2.2" displayable="true"/>
                        <name>NZOZ „POL-MED”</name>
                        <asOrganizationPartOf>
                            <wholeOrganization>
                                <id extension="000000001007" root="2.16.840.1.113883.3.4424.2.3.1" displayable="true"/>
                                <id extension="123456789" root="2.16.840.1.113883.3.4424.2.2.1" displayable="true"/>
                                <name>POL-MED Sp. z o.o.</name>
                            </wholeOrganization>
                        </asOrganizationPartOf>
                    </wholeOrganization>
                </asOrganizationPartOf>
            </representedOrganization>
            <extPL:boundedBy typeCode="PART">
                <extPL:templateId root="2.16.840.1.113883.3.4424.13.10.2.44"/>
                <extPL:reimbursementRelatedContract moodCode="EVN" classCode="CNTRCT">
                    <extPL:id extension="654321" root="2.16.840.1.113883.3.4424.8.6.1.7"/>
                    <extPL:bounding typeCode="PART">
                        <extPL:reimburser classCode="UNDWRT">
                            <extPL:id extension="07" root="2.16.840.1.113883.3.4424.3.1" displayable="true"/>
                        </extPL:reimburser>
                    </extPL:bounding>
                </extPL:reimbursementRelatedContract>
            </extPL:boundedBy>
        </assignedAuthor>
	</author>
    <custodian>
        <templateId root="2.16.840.1.113883.3.4424.13.10.2.5"/>
        <assignedCustodian>
            <representedCustodianOrganization>
                <id root="2.16.840.1.113883.3.4424" assigningAuthorityName="CSIOZ" displayable="false"/>
            </representedCustodianOrganization>
        </assignedCustodian>
    </custodian>
    <legalAuthenticator>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.6"/>
		<time value="20130412"/>
		<signatureCode code="S"/>
		<assignedEntity>
			<id extension="7724513" root="2.16.840.1.113883.3.4424.1.6.2" displayable="true"/>
        </assignedEntity>
	</legalAuthenticator>
	<documentationOf typeCode="DOC">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.51"/>
		<serviceEvent classCode="ACT" moodCode="EVN">
			<id extension="9990001" root="2.16.840.1.113883.3.4424.2.7.0.99" displayable="true"/>
			<code code="87.440" codeSystem="2.16.840.1.113883.3.4424.11.2.6" codeSystemName="ICD-9-PL" displayName="RTG klatki piersiowej"/>
			<effectiveTime value="201409051012"/>
		</serviceEvent>
	</documentationOf>
	<componentOf typeCode="COMP">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.52"/>
		<encompassingEncounter classCode="ENC" moodCode="EVN">
			<code code="7200" codeSystem="2.16.840.1.113883.3.4424.11.2.4" displayName="Pracownia diagnostyki obrazowej"/>
			<effectiveTime value="201409051012"/>
		</encompassingEncounter>
	</componentOf>
	<component typeCode="COMP" contextConductionInd="true">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.58"/>
		<structuredBody classCode="DOCBODY" moodCode="EVN">
			<component>
				<section>
					<templateId root="2.16.840.1.113883.3.4424.13.10.3.34" />
					<code code="47045-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Study report" />
					<title>Opis badania</title>
					<text>
						<paragraph>
							Zaciemnienie obwodu w polu płuca prawego o niejasnym charakterze. Częściowe zaciemnienie pola dolnego płuca lewego, zmiany zapalne. Wnęki naczyniowe miernie szerokie. Serce powiększone.
						</paragraph>
					</text>
				</section>
			</component>
		</structuredBody>
	</component>
</ClinicalDocument>
