<?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">
	<typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
	<templateId root="2.16.840.1.113883.3.4424.13.10.1.15" extension="1.3.1"/>
	<id extension="2345678" root="2.16.840.1.113883.3.4424.2.7.0.7.1" displayable="false"/>
	<code code="11488-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Consult note">
		<translation code="05.00" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Konsultacja lekarska" />
	</code>
	<title>Konsultacja neurologa</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="20140906"/>
		<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>dr n. med.</prefix>
					<given>Piotr</given>
					<family>Nowak</family>
				</name>
			</assignedPerson>
			<representedOrganization>
                <templateId root="2.16.840.1.113883.3.4424.13.10.2.15" />
                <id extension="000000046985-01" root="2.16.840.1.113883.3.4424.2.4.68.1" />
				<name>Praktyka lekarska Jan Nowak</name>
				<telecom use="PUB" value="tel:22-1111123"/>
				<addr>
                    <country>Polska</country>
                    <postalCode>00-950</postalCode>
                    <city>Warszawa</city>
                    <streetName>Litewska</streetName>
                    <houseNumber>18</houseNumber>
                </addr>
                <asOrganizationPartOf>
                    <code code="L" codeSystem="2.16.840.1.113883.3.4424.11.3.19" codeSystemName="RODZ_PRAKTYKI" displayName="Praktyka lekarska" />
                    <wholeOrganization>
                        <id extension="000000046985" root="2.16.840.1.113883.3.4424.2.4.68" />
						<id extension="123456789" root="2.16.840.1.113883.3.4424.2.2.1" displayable="true"/>
                        <name>Praktyka lekarska Jan Nowak</name>
						<telecom use="PUB" value="tel:22-1111123"/>
						<addr>
							<country>Polska</country>
							<postalCode>00-950</postalCode>
							<city>Warszawa</city>
							<streetName>Litewska</streetName>
							<houseNumber>18</houseNumber>
						</addr>
                    </wholeOrganization>
                </asOrganizationPartOf>
			</representedOrganization>
			<extPL:boundedBy typeCode="PART">
				<extPL:templateId root="2.16.840.1.113883.3.4424.13.10.2.44"/>
				<extPL:reimbursementRelatedContract classCode="CNTRCT" moodCode="EVN">
					<extPL:id extension="07-20048-33" root="2.16.840.1.113883.3.4424.8.6.2.7"/>
					<extPL:code/>
					<extPL:bounding typeCode="PART">
						<extPL:reimburser classCode="UNDWRT">
							<extPL:id extension="07" root="2.16.840.1.113883.3.4424.3.1"/>
						</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 extension="1007" 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="20140906"/>
		<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">
			<code code="89.005" codeSystem="2.16.840.1.113883.3.4424.11.2.6" codeSystemName="ICD-9-PL" displayName="Konsultacja neurologiczna"/>
			<effectiveTime value="20140906"/>
		</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="1220" codeSystem="2.16.840.1.113883.3.4424.11.2.4" displayName="Poradnia neurologiczna"/>
			<effectiveTime value="20140906"/>
		</encompassingEncounter>
	</componentOf>
	<component typeCode="COMP" contextConductionInd="true">
		<templateId root="2.16.840.1.113883.3.4424.13.10.2.56"/>
		<structuredBody classCode="DOCBODY" moodCode="EVN">
			<component>
				<section>
					<templateId root="2.16.840.1.113883.3.4424.13.10.3.64" />
					<code code="11488-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Consult note"/>
					<text>
						<renderMultiMedia referencedObject="DOCUMENT_CONTENT"/>
					</text>
					<entry>
						<observationMedia ID="DOCUMENT_CONTENT" classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.3.4424.13.10.4.49" />
							<value mediaType="application/pdf">
									<reference value="Konsultacja_lekarska.pdf"/>
							</value>
						</observationMedia>
					</entry>
					<entry>
						<templateId root="2.16.840.1.113883.3.4424.13.10.4.1" />
						<organizer classCode="BATTERY" moodCode="EVN">
							<code code="8319008" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Principal diagnosis" />
							<statusCode code="completed" />
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<code code="D32.0" codeSystem="2.16.840.1.113883.6.3" codeSystemName="icd10" displayName="Nowotwór niezłośliwy opon mózgowych"/>
								</observation>
							</component>
						</organizer>
					</entry>
					<entry>
						<templateId root="2.16.840.1.113883.3.4424.13.4.2" />
						<organizer classCode="BATTERY" moodCode="EVN">
							<code code="85097005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Secondary diagnosis" />
							<statusCode code="completed" />
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<code code="I10" codeSystem="2.16.840.1.113883.6.3" codeSystemName="icd10" displayName="Samoistne (pierwotne) nadcisnienie"/>
								</observation>
							</component>
						</organizer>
					</entry>
				</section>
			</component>
		</structuredBody>
	</component>
</ClinicalDocument>
