<?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">
    <!-- Anulowanie recepty na Enarenal -->	          	                  
	<typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
    <templateId root="1.3.6.1.4.1.19376.1.9.1.1.1"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/>
    <templateId root="2.16.840.1.113883.3.4424.13.10.1.14" extension="1.3.1"/>
	<id extension="2345678" root="2.16.840.1.113883.3.4424.7.2.9" displayable="true"/>
	<code code="51851-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Administrative note">
	    <translation code="08.80" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Dokument anulujący"/>
	</code>
	<title>Dokument anulujący</title>
	<effectiveTime value="20130420"/>
	<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.7.2.2"/>
	<versionNumber value="2"/>
	<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="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"/>
            <code code="0718_0726" codeSystem="2.16.840.1.113883.3.4424.11.3.3.1" displayName="neurologia, radiologia i diagnostyka obrazowa"/>
            <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="000000008610-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="000000008610" 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>
	<participant typeCode="IND">
        <templateId root="2.16.840.1.113883.3.4424.13.10.2.19"/>
        <associatedEntity classCode="UNDWRT">
            <id extension="07" root="2.16.840.1.113883.3.4424.3.1" displayable="true"/>
        </associatedEntity>
    </participant>
	<relatedDocument typeCode="RPLC">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.46" />
	    <parentDocument>
	        <id extension="2345678" root="2.16.840.1.113883.3.4424.7.2.1" displayable="false"/>
	        <setId extension="432231" root="2.16.840.1.113883.3.4424.7.2.2"/>
	        <versionNumber value="1"/>
	    </parentDocument>
	</relatedDocument>
	<component>
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.47" />
	    <structuredBody>
	        <component>
	            <section>
	            	<templateId root="2.16.840.1.113883.3.4424.13.10.3.27" />
					<title>Dane dokumentu anulowanego</title>
	                <text>
	                    <paragraph>Proszę o anulowanie dokumentu:</paragraph>
	                    <paragraph><caption>Tytuł:</caption> Recepta</paragraph>
	                    <paragraph><caption>Data wystawienia:</caption> 12.04.2013</paragraph>
	                    <paragraph><caption>Identyfikator:</caption> 2345678</paragraph>
	                </text>
	            </section>
	        </component>
	    </structuredBody>
	</component>
</ClinicalDocument>