Powrót do strony głownej << Powrót do listy szablonów

# Szablon [1] Recepta

ID | 2.16.840.1.113883.3.4424.13.10.1.3 | Data obowiązywania | obowiązuje od 2020‑06‑08
Status | Active | Etykieta wersji | 1.3.2
Nazwa | plCdaDrugPrescription | Nazwa wyświetlana | [1] Recepta
Opis | Szablon CDA dokumentu recepty
Kontekst | Nazwa ścieżki /
Typ | CDA Document Level Template
Otwarty/Zamknięty | Otwarty (pozostałe elementy poza zdefiniowanymi są dozwolone)
Używane przez / Używa |
Używane przez Szablony 1 transakcji i 0, Używa 10 szablonów
Używane przez | jako | Nazwa | Wersja
--- | --- | --- | ---
plcda-transaction-1 | Transakcja | Dokument recepty | 2014‑08‑14
Używa | jako | Nazwa | Wersja
2.16.840.1.113883.3.4424.13.10.2.23 | Zawierać | [2] Dane pacjenta dla dokumentu recepty (1.3.2) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.82 | Zawierać | [2] Autor dokumentu recepty (1.3.1.3) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.90 | Zawierać | [2] Dane asystenta medycznego (1.3.1.2) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.20 | Zawierać | [2] Organizacja odpowiedzialna za dokument dla P1 (1.3) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.61 | Zawierać | [2] Odbiorca informacji (bazowy) (1.3.1) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.6 | Zawierać | [2] Wystawca dokumentu (bazowy) (1.3.2) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.19 | Zawierać | [2] Dane ubezpieczyciela publicznego (bazowy) (1.3) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.53 | Zawierać | [2] Dane zlecenia (bazowy) (1.3) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.83 | Zawierać | [2] Dokument powiązany dla dokumentu recepty (1.3.2) | DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.25 | Zawierać | [2] Treść dokumentu recepty (1.3) | DYNAMICZNE
Relacje | Specialization: szablon 1.3.6.1.4.1.19376.1.9.1.1.1 (2016‑01‑07 22:13:03)
Przykład |
Przykład
`<ClinicalDocument xsi:type="extPL:ClinicalDocument"> <!-- Dokument recepty na lek OTC--> <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.3" extension="1.3.2"/> <id extension="876543" root="2.16.840.1.113883.3.4424.2.7.99999.2.1" displayable="true"/> <code code="57833-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Prescription for medication Document"> <translation code="04.01" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Recepta"> <qualifier> <name code="KDLEK" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Kategoria dostępności leku"/> <value code="Rp" codeSystem="2.16.840.1.113883.3.4424.11.1.25"/> </qualifier> <qualifier> <name code="RLEK" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Rodzaj leku"/> <value code="G" displayName="Lek gotowy" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> <qualifier> <name code="TWREC" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Tryb wystawienia recepty"/> <value code="Z" displayName="Zwykła" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> <qualifier> <name code="TRREC" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Tryb realizacji recepty"/> <value code="Z" displayName="Zwykły" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> </translation> </code> <title>Recepta</title> <effectiveTime value="20171012"/> <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.99999.2.2"/> <versionNumber value="1"/> <recordTarget> <templateId root="2.16.840.1.113883.3.4424.13.10.2.23"/> <patientRole> <id extension="12345" root="2.16.840.1.113883.3.4424.2.7.99999.17.1" displayable="false"/> <id extension="62091599999" root="2.16.840.1.113883.3.4424.1.1.616" displayable="true"/> <addr> <country>Polska</country> <postalCode xsi:type="extPL:adxp.postalCode" postCity="Piaseczno">03-134</postalCode> <city>Warszawa</city> <streetName>Odkryta</streetName> <houseNumber>41</houseNumber> <unitID>12</unitID> <censusTract>TERYT SIMC: 987654</censusTract> </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.82"/> <functionCode code="FEL" codeSystem="2.16.840.1.113883.3.4424.11.3.18" displayName="Felczer"/> <time value="20171012"/> <assignedAuthor> <id extension="98765" root="2.16.840.1.113883.3.4424.1.6.2" displayable="true"/> <assignedPerson> <templateId root="2.16.840.1.113883.3.4424.13.10.2.1"/> <name> <given>Adam</given> <family>Kowalski</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"/> <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"/> </wholeOrganization> </asOrganizationPartOf> </wholeOrganization> </asOrganizationPartOf> </representedOrganization> </assignedAuthor> </author> <custodian> <templateId root="2.16.840.1.113883.3.4424.13.10.2.20"/> <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="20171012"/> <signatureCode code="S"/> <assignedEntity> <id extension="98765" root="2.16.840.1.113883.3.4424.1.6.2" displayable="true"/> </assignedEntity> </legalAuthenticator> <component> <templateId root="2.16.840.1.113883.3.4424.13.10.2.25"/> <structuredBody> <component> <section> <templateId root="1.3.6.1.4.1.19376.1.9.1.2.1"/> <templateId root="2.16.840.1.113883.3.4424.13.10.3.4"/> <id extension="4321" root="2.16.840.1.113883.3.4424.2.7.99999.2.4"/> <code code="57828-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Prescriptions"/> <title>Rp.</title> <text> <paragraph ID="SBADM_1"> Polocard 150mg tabletki <br/> 1 op. po 60 tabl. <br/> Odpłatność: 100% <br/> D.S. 1 x 1 tabl. rano </paragraph> </text> <entry> <substanceAdministration classCode="SBADM" moodCode="INT"> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.2"/> <templateId root="2.16.840.1.113883.10.20.1.24"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7"/> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.6"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.3"/> <id extension="876543-1" root="2.16.840.1.113883.3.4424.2.7.99999.2.3"/> <text> <reference value="#SBADM_1"/> </text> <statusCode code="completed"/> <effectiveTime xsi:type="IVL_TS"> <low value="20171012"/> <high nullFlavor="NA"/> </effectiveTime> <repeatNumber value="1"/> <consumable> <manufacturedProduct> <templateId root="2.16.840.1.113883.10.20.1.53"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"/> <manufacturedMaterial> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.1"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.54"/> <code code="5679" codeSystem="2.16.840.1.113883.3.4424.6.1" displayName="Polocard 150mg tabletki"/> <name>Polocard 150mg tabletki</name> <pharm:asContent classCode="CONT"> <pharm:containerPackagedMedicine classCode="CONT" determinerCode="INSTANCE"> <pharm:code code="5909990655007" codeSystem="1.3.160" codeSystemName="GS1"/> <pharm:name>Polocard 150mg (60 tabl.)</pharm:name> <pharm:formCode code="ORTAB" codeSystem="2.16.840.1.113883.5.1127" displayName="Oral Tablet"/> <pharm:capacityQuantity value="60"/> </pharm:containerPackagedMedicine> </pharm:asContent> </manufacturedMaterial> </manufacturedProduct> </consumable> <entryRelationship typeCode="COMP"> <supply classCode="SPLY" moodCode="RQO"> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.8"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.55"/> <effectiveTime value="20171012"/> <independentInd value="false"/> <quantity value="1"/> <product> <manufacturedProduct> <manufacturedLabeledDrug> <code code="5909990655007" codeSystem="1.3.160" codeSystemName="GS1" displayName="Polocard 150mg (60 tabl.)"/> </manufacturedLabeledDrug> </manufacturedProduct> </product> </supply> </entryRelationship> </substanceAdministration> </entry> </section> </component> <component> <section> <templateId root="2.16.840.1.113883.10.20.1.9"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7"/> <templateId root="2.16.840.1.113883.3.4424.13.10.3.69"/> <code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/> <title>Dane o ubezpieczeniu i uprawnieniach</title> <text> <paragraph ID="ACT_2"> Oddział NFZ: 07 <br/> Uprawnienia dodatkowe: ZK (Nr leg.: 238/2015) </paragraph> </text> <entry> <act classCode="ACT" moodCode="DEF"> <templateId root="2.16.840.1.113883.10.20.1.20"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.51"/> <id nullFlavor="NA"/> <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" displayName="Payment source"/> <text> <reference value="#ACT_2"/> </text> <statusCode code="completed"/> <entryRelationship typeCode="COMP"> <act classCode="ACT" moodCode="EVN"> <!-- Uprawnienie dodatkowe --> <templateId root="2.16.840.1.113883.10.20.1.26"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.61"/> <id nullFlavor="NA"/> <code code="PUBLICPOL" codeSystem="2.16.840.1.113883.5.4"> <qualifier> <name code="RLUD" codeSystem="2.16.840.1.113883.3.4424.13.5.1" displayName="Refundacja leków wynikająca z uprawnień dodatkowych"/> <value code="IB" displayName="IB" codeSystem="2.16.840.1.113883.3.4424.11.3.1"/> </qualifier> </code> <text> <reference value="#ACT_2"/> </text> <statusCode code="completed"/> <performer typeCode="PRF"> <!-- Dane ubezpieczyciela/płatnika --> <assignedEntity> <id extension="07" root="2.16.840.1.113883.3.4424.3.1" displayable="true"/> </assignedEntity> </performer> <entryRelationship typeCode="REFR"> <act classCode="ACT" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.1.19"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.53"/> <id nullFlavor="NA"/> <code nullFlavor="NA"/> <entryRelationship typeCode="SUBJ"> <substanceAdministration classCode="SBADM" moodCode="PRMS"> <id extension="2345678-1" root="2.16.840.1.113883.3.4424.2.7.99999.2.3"/> <consumable> <manufacturedProduct> <manufacturedMaterial nullFlavor="NA"/> </manufacturedProduct> </consumable> </substanceAdministration> </entryRelationship> </act> </entryRelationship> <reference typeCode="REFR"> <externalAct classCode="ACT" moodCode="EVN"> <!-- Informacja o dokumencie potwierdzającym uprawnienie dodatkowe --> <templateId root="2.16.840.1.113883.3.4424.13.10.4.58"/> <id extension="123" root="2.16.840.1.113883.3.4424.8.4"/> <code code="ELG" codeSystem="2.16.840.1.113883.5.4" displayName="Eligible"/> </externalAct> </reference> </act> </entryRelationship> </act> </entry> </section> </component> </structuredBody> </component></ClinicalDocument>`
Przykład |
Przykład
`<ClinicalDocument xsi:type="extPL:ClinicalDocument"> <!-- Dokument recepty na lek recepturowy --> <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.3" extension="1.3.2"/> <id extension="b876543" root="2.16.840.1.113883.3.4424.2.7.99999.2.1" displayable="true"/> <code code="57833-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Prescription for medication Document"> <translation code="04.01" codeSystem="2.16.840.1.113883.3.4424.11.1.32" codeSystemName="KLAS_DOK_P1" displayName="Recepta"> <qualifier> <name code="KDLEK" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Kategoria dostępności leku"/> <value code="Rp" codeSystem="2.16.840.1.113883.3.4424.11.1.25"/> </qualifier> <qualifier> <name code="RLEK" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Rodzaj leku"/> <value code="R" displayName="Lek recepturowy" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> <qualifier> <name code="TWREC" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Tryb wystawienia recepty"/> <value code="PL" displayName="Pielęgniarska na zlecenie lekarza" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> <qualifier> <name code="TRREC" codeSystem="2.16.840.1.113883.3.4424.13.5.1" codeSystemName="PolskieKlasyfikatoryHL7v3" displayName="Tryb realizacji recepty"/> <value code="Z" displayName="Zwykły" codeSystem="2.16.840.1.113883.3.4424.13.5.1"/> </qualifier> </translation> </code> <title>Recepta pielęgniarska na zlecenie lekarza</title> <effectiveTime value="20171012"/> <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.99999.2.2"/> <versionNumber value="1"/> <recordTarget> <templateId root="2.16.840.1.113883.3.4424.13.10.2.23"/> <patientRole> <id extension="12345" root="2.16.840.1.113883.3.4424.2.7.99999.17.1" displayable="false"/> <id extension="62091599999" root="2.16.840.1.113883.3.4424.1.1.616" displayable="true"/> <addr> <country>Polska</country> <postalCode xsi:type="extPL:adxp.postalCode" postCity="Piaseczno">03-134</postalCode> <city>Warszawa</city> <streetName>Odkryta</streetName> <houseNumber>41</houseNumber> <unitID>12</unitID> <censusTract>TERYT SIMC: 987654</censusTract> </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.82"/> <functionCode code="PIEL" codeSystem="2.16.840.1.113883.3.4424.11.3.18" displayName="Pielęgniarka"/> <time value="20171012"/> <assignedAuthor> <id extension="89765" root="2.16.840.1.113883.3.4424.1.6.3" displayable="true"/> <assignedPerson> <templateId root="2.16.840.1.113883.3.4424.13.10.2.1"/> <name> <given>Zuzanna</given> <family>Wyszyńska</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"/> <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"/> </wholeOrganization> </asOrganizationPartOf> </wholeOrganization> </asOrganizationPartOf> </representedOrganization> </assignedAuthor> </author> <custodian> <templateId root="2.16.840.1.113883.3.4424.13.10.2.20"/> <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="20171012"/> <signatureCode code="S"/> <assignedEntity> <id extension="89765" root="2.16.840.1.113883.3.4424.1.6.3" displayable="true"/> </assignedEntity> </legalAuthenticator> <component> <templateId root="2.16.840.1.113883.3.4424.13.10.2.25"/> <structuredBody> <component> <section> <templateId root="1.3.6.1.4.1.19376.1.9.1.2.1"/> <templateId root="2.16.840.1.113883.3.4424.13.10.3.4"/> <id extension="322122" root="2.16.840.1.113883.3.4424.2.7.99999.2.4"/> <code code="57828-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Prescriptions"/> <title>Rp. (Cito)</title> <text> <paragraph ID="SBADM_1"> Lanolini <br/> Vaselini albi <br/> Paraffini liq. <br/> Aquae aa ad 100.0 <br/> M.f. unguentum <br/> D.S. Miejscowo na skórę, nałożyć cienką warstwę <content>Odpłatność: 100%</content> </paragraph> </text> <entry> <substanceAdministration classCode="SBADM" moodCode="INT"> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.2"/> <templateId root="2.16.840.1.113883.10.20.1.24"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7"/> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.6"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.48"/> <id extension="b876543-1" root="2.16.840.1.113883.3.4424.2.7.99999.2.3"/> <text> <reference value="#SBADM_1"/> </text> <statusCode code="completed"/> <effectiveTime xsi:type="IVL_TS"> <low value="20171012"/> <high nullFlavor="NA"/> </effectiveTime> <repeatNumber value="1"/> <consumable> <manufacturedProduct> <templateId root="2.16.840.1.113883.10.20.1.53"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"/> <manufacturedMaterial> <templateId root="2.16.840.1.113883.3.4424.13.10.4.70"/> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.1"/> <code nullFlavor="NA"/> <name>Maść pośladkowa</name> <pharm:formCode code="TOPOINT" codeSystem="2.16.840.1.113883.5.1127" displayName="Topical Ointment"/> <pharm:ingredient classCode="ACTI"> <templateId root="2.16.840.1.113883.3.4424.13.10.4.71"/> <pharm:ingredient classCode="MMAT" determinerCode="KIND"> <pharm:code code="23432" codeSystem="2.16.840.1.113883.3.4424.6.3" displayName="Wazelina biała"/> <pharm:name>Vaselinum album</pharm:name> </pharm:ingredient> </pharm:ingredient> <pharm:ingredient classCode="ACTI"> <templateId root="2.16.840.1.113883.3.4424.13.10.4.71"/> <pharm:ingredient classCode="MMAT" determinerCode="KIND"> <pharm:code code="34543" codeSystem="2.16.840.1.113883.3.4424.6.3" displayName="Lanolina"/> <pharm:name>Lanolinum</pharm:name> </pharm:ingredient> </pharm:ingredient> <pharm:ingredient classCode="ACTI"> <templateId root="2.16.840.1.113883.3.4424.13.10.4.71"/> <pharm:ingredient classCode="MMAT" determinerCode="KIND"> <pharm:code code="45654" codeSystem="2.16.840.1.113883.3.4424.6.3" displayName="Parafina ciekła"/> <pharm:name>Paraffinum liquidum</pharm:name> </pharm:ingredient> </pharm:ingredient> <pharm:ingredient classCode="ACTI"> <templateId root="2.16.840.1.113883.3.4424.13.10.4.71"/> <pharm:ingredient classCode="MMAT" determinerCode="KIND"> <pharm:code code="56765" codeSystem="2.16.840.1.113883.3.4424.6.3" displayName="Woda do receptury aptecznej FP"/> <pharm:name>Aqua</pharm:name> </pharm:ingredient> </pharm:ingredient> </manufacturedMaterial> </manufacturedProduct> </consumable> <entryRelationship typeCode="COMP"> <supply classCode="SPLY" moodCode="RQO"> <templateId root="1.3.6.1.4.1.19376.1.9.1.3.8"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.55"/> <effectiveTime value="20171012"/> <independentInd value="false"/> <quantity value="100" unit="g"/> </supply> </entryRelationship> </substanceAdministration> </entry> </section> </component> <component> <section> <templateId root="2.16.840.1.113883.10.20.1.9"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7"/> <templateId root="2.16.840.1.113883.3.4424.13.10.3.69"/> <code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/> <title>Dane o ubezpieczeniu i uprawnieniach</title> <text> <paragraph ID="ACT_2"> Oddział NFZ: 07 <br/> Uprawnienia dodatkowe: ZK (Nr leg.: 238/2015) </paragraph> </text> <entry> <act classCode="ACT" moodCode="DEF"> <templateId root="2.16.840.1.113883.10.20.1.20"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.51"/> <id nullFlavor="NA"/> <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" displayName="Payment source"/> <text> <reference value="#ACT_2"/> </text> <statusCode code="completed"/> <entryRelationship typeCode="COMP"> <act classCode="ACT" moodCode="EVN"> <!-- Uprawnienie dodatkowe --> <templateId root="2.16.840.1.113883.10.20.1.26"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.61"/> <id nullFlavor="NA"/> <code code="PUBLICPOL" codeSystem="2.16.840.1.113883.5.4"> <qualifier> <name code="RLUD" codeSystem="2.16.840.1.113883.3.4424.13.5.1" displayName="Refundacja leków wynikająca z uprawnień dodatkowych"/> <value code="IB" displayName="IB" codeSystem="2.16.840.1.113883.3.4424.11.3.1"/> </qualifier> </code> <text> <reference value="#ACT_2"/> </text> <statusCode code="completed"/> <performer typeCode="PRF"> <!-- Dane ubezpieczyciela/płatnika --> <assignedEntity> <id extension="07" root="2.16.840.1.113883.3.4424.3.1" displayable="true"/> </assignedEntity> </performer> <entryRelationship typeCode="REFR"> <act classCode="ACT" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.1.19"/> <templateId root="2.16.840.1.113883.3.4424.13.10.4.53"/> <id nullFlavor="NA"/> <code nullFlavor="NA"/> <entryRelationship typeCode="SUBJ"> <substanceAdministration classCode="SBADM" moodCode="PRMS"> <id extension="b876543-1" root="2.16.840.1.113883.3.4424.2.7.99999.2.3"/> <consumable> <manufacturedProduct> <manufacturedMaterial nullFlavor="NA"/> </manufacturedProduct> </consumable> </substanceAdministration> </entryRelationship> </act> </entryRelationship> <reference typeCode="REFR"> <externalDocument classCode="DOC" moodCode="EVN"> <!-- Informacja o dokumencie potwierdzającym uprawnienie dodatkowe --> <templateId root="2.16.840.1.113883.3.4424.13.10.4.59"/> <text>Nr leg.: 234/1992</text> </externalDocument> </reference> </act> </entryRelationship> </act> </entry> </section> </component> </structuredBody> </component></ClinicalDocument>`
Pozycja | Typ danych | Krotność | Wymagalność | Opis | Etykieta
--- | --- | --- | --- | --- | ---
`hl7:ClinicalDocument` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | DOCCLIN
`@moodCode` |  | 0 … 1 | F | EVN
`hl7:typeId` | II | 1 … 1 | M |  | (plCion)
`@extension` |  | 1 … 1 | F | POCD_HD000040
`@root` |  | 1 … 1 | F | 2.16.840.1.113883.1.3
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
| gdzie [@root='2.16.840.1.113883.3.4424.13.10.1.3']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.1.3
`@extension` | st | 0 … 1 |  |
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
| gdzie [@root='1.3.6.1.4.1.19376.1.9.1.1.1']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.9.1.1.1
`hl7:templateId` | II | 1 … 1 | R |  | (plCion)
| gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.1.1
`hl7:id` | II | 1 … 1 | R |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
| Schematron report | rola | error |
| test | (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.1') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code=('LEK','LEKD'))) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.2') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='PIEL')) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.3') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='POL')) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.4') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='FARM')) |
| Komunikat | Wskazana gałąź OID pracownika medycznego jest nieprawidłowa w stosunku do wskazanego zawodu autora dokumentu. |
`hl7:code` | CE | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | 57833-6
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.6.1 (LOINC)
`@codeSystemName` | 1 … 1 | F | LOINC
`@displayName` | 1 … 1 | F | Prescription for medication Document
`hl7:translation` |  | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | 04.01
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.11.1.32
`@codeSystemName` | 1 … 1 | F | KLAS_DOK_P1
`@displayName` | 1 … 1 | F | Recepta
`hl7:qualifier` | CR | 1 … 1 | M |  | (plCion)
|  |  | gdzie [hl7:name/@code='KDLEK']
`hl7:name` | CV | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | KDLEK
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`@codeSystemName` | 1 … 1 | F | PolskieKlasyfikatoryHL7v3
`@displayName` | 1 … 1 | F | Kategoria dostępności leku
`hl7:value` | CD | 1 … 1 | M |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.6 Kategoria dostępności leku (DYNAMICZNE)
`hl7:qualifier` | CR | 1 … 1 | M |  | (plCion)
|  |  | gdzie [hl7:name/@code='RLEK']
`hl7:name` | CV | 1 … | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | RLEK
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`@codeSystemName` | 1 … 1 | F | PolskieKlasyfikatoryHL7v3
`@displayName` | 1 … 1 | F | Rodzaj leku
`hl7:value` | CD | 1 … 1 | M |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.5 Rodzaj leku (DYNAMICZNE)
`hl7:qualifier` | CR | 1 … 1 | M |  | (plCion)
|  |  | gdzie [hl7:name/@code='TWREC']
`hl7:name` | CV | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | TWREC
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`@codeSystemName` | 1 … 1 | F | PolskieKlasyfikatoryHL7v3
`@displayName` | 1 … 1 | F | Tryb wystawienia recepty
`hl7:value` | CD | 1 … 1 | M |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.7 Tryb wystawienia recepty (DYNAMICZNE)
`hl7:qualifier` | CR | 1 … 1 | M |  | (plCion)
|  |  | gdzie [hl7:name/@code='TRREC']
`hl7:name` | CV | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | TRREC
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`@codeSystemName` | 1 … 1 | F | PolskieKlasyfikatoryHL7v3
`@displayName` | 1 … 1 | F | Tryb realizacji recepty
`hl7:value` | CD | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | Z
`@displayName` | 1 … 1 | F | Zwykły
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`hl7:qualifier` | CR | 0 … 1 |  |  | (plCion)
|  |  | gdzie [hl7:name/@code='RRECE']
`hl7:name` | CV | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | RRECE
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.5.1
`@codeSystemName` | 1 … 1 | F | PolskieKlasyfikatoryHL7v3
`@displayName` | 1 … 1 | F | Rodzaj recepty elektronicznej
`hl7:value` | CD | 1 … 1 | M |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.85 Rodzaj recepty elektronicznej (DYNAMICZNE)
`hl7:title` | ST | 1 … 1 | M |  | (plCion)
`hl7:effectiveTime` | TS | 1 … 1 | M |  | (plCion)
| Schematron assert | rola | error |
| test | concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date |
| Komunikat | Pierwsze 8 cyfr daty powinno być w formacie YYYYMMDD. |
`hl7:confidentialityCode` | CE | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | N
`@codeSystem` | 1 … 1 | F | 2.16.840.1.113883.5.25
`hl7:languageCode` | CS | 1 … 1 | M |  | (plCion)
`@code` | CONF | 1 … 1 | F | pl-PL
`hl7:setId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
| Schematron report | rola | error |
| test | (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.1') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code=('LEK','LEKD'))) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.2') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='PIEL')) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.3') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='POL')) or (starts-with(string(@root),'2.16.840.1.113883.3.4424.2.10.4') and not(/hl7:ClinicalDocument/hl7:author/hl7:functionCode/@code='FARM')) |
| Komunikat | Wskazana gałąź OID pracownika medycznego jest nieprawidłowa w stosunku do wskazanego zawodu autora dokumentu. |
`hl7:versionNumber` | INT | 1 … 1 | M |  | (plCion)
`@value` | int | 1 … 1 | F | 1
Dołączony | 1 … 1 | M | z 2.16.840.1.113883.3.4424.13.10.2.23 [2] Dane pacjenta dla dokumentu recepty (DYNAMICZNE)
`hl7:recordTarget` |  | 1 … 1 | M |  | (plCion)
`@typeCode` |  | 0 … 1 | F | RCT
`@contextControlCode` |  | 0 … 1 | F | OP
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.23
`hl7:patientRole` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | PAT
`hl7:id` | II | 1 … * | M |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
| Schematron report | rola | error |
| test | @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$')) |
| Komunikat | Jeżeli identyfikatorem jest numer PESEL, to musi zawierać 11 cyfr. |
| Schematron report | rola | warning |
| test | @root=('2.16.840.1.113883.3.4424.1.1','2.16.840.1.113883.3.4424.1.2','2.16.840.1.113883.3.4424.1.3','2.16.840.1.113883.3.4424.1.5') |
| Komunikat | Nieprawidłowa pula identyfikacji dla identyfikatora pacjenta. |
`hl7:addr` | AD.PL | 1 … 1 |  |  | (plCion)
`hl7:telecom` | TEL | 0 … * |  |  | (plCion)
| Przykład | Numer telefonu stacjonarnego `<telecom value="tel:(22)5690147"/>`
| Przykład | Numer telefonu komórkowego `<telecom value="tel:+48501234345"/>`
| Przykład | Numer faksu `<telecom value="fax:(22)5690239"/>`
| Przykład | Adres email `<telecom value="email:jan@kowalski.com"/>`
| Przykład | Numer telefonu komórkowego podany jako kontakt jedynie poprzez SMS `<telecom value="sms:+48501234345"/>`
`hl7:patient` |  | 1 … 1 | M | Szablon CDA danych pacjenta dla dokumentu recepty | (plCion)
`@classCode` |  | 0 … 1 | F | PSN
`@determinerCode` |  | 0 … 1 | F | INSTANCE
`hl7:id` | II | 0 … * | NP |  | (plCion)
Dołączony | 1 … 1 | R | z 2.16.840.1.113883.3.4424.13.10.7.2 [7] Nazwisko i imię osoby (bazowy) (DYNAMICZNE)
`hl7:name` |  | 1 … 1 | R |  | (plCion)
`hl7:prefix` | ENXP | 0 … 1 |  |  | (plCion)
`hl7:given` | ENXP | 1 … * | R |  | (plCion)
`hl7:family` | ENXP | 1 … * | R |  | (plCion)
`hl7:administrativeGenderCode` | CE | 1 … 1 | M |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.1 AdministrativeGender (DYNAMICZNE)
`hl7:birthTime` | TS.DATE | 0 … 1 |  |  | (plCion)
| Schematron assert | rola | error |
| test | concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date |
| Komunikat | Pierwsze 8 cyfr daty urodzenia powinno być w formacie YYYYMMDD. |
`hl7:guardian` |  | 0 … * |  |  | (plCion)
`@classCode` |  | 1 … 1 | F | GUARD
`hl7:id` | II | 1 … * |  |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
| Schematron report | rola | error |
| test | @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$')) |
| Komunikat | Jeżeli identyfikatorem jest numer PESEL to musi zawierać 11 cyfr. |
| Schematron report | rola | warning |
| test | @root=('2.16.840.1.113883.3.4424.1.1','2.16.840.1.113883.3.4424.1.2','2.16.840.1.113883.3.4424.1.3','2.16.840.1.113883.3.4424.1.5') |
| Komunikat | Nieprawidłowa pula identyfikacji dla identyfikatora pacjenta. |
`hl7:code` | CE | 0 … 1 |  |  | (plCion)
`@codeSystem` | CONF | 0 … 1 | F | 2.16.840.1.113883.5.111
`hl7:addr` | AD.PL | 0 … 1 |  |  | (plCion)
Wybór | 1 … 1 |  | Elementy do wyboru z: hl7:guardianPerson zawierający szablon2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) hl7:guardianOrganization zawierający szablon2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
`hl7:guardianPerson` |  |  |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  |  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
`hl7:guardianOrganization` |  |  |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  |  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.2']]
`extPL:multipleBirthInd` | BL | 0 … 1 |  |  | (plCion)
`extPL:multipleBirthOrderNumber` | INT.POS | 0 … 1 |  |  | (plCion)
| Schematron report | rola | error |
| test | extPL:multipleBirthInd/@value and not(extPL:multipleBirthOrderNumber/@value) |
| Komunikat | Dla ciąży mnogiej wymagane jest podanie numeru kolejności urodzenia. |
`hl7:providerOrganization` |  | 0 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.2']]
Dołączony | 1 … 1 | M | z 2.16.840.1.113883.3.4424.13.10.2.82 [2] Autor dokumentu recepty (DYNAMICZNE)
`hl7:author` |  | 1 … 1 | M |  | (plCion)
`@typeCode` |  | 0 … 1 | F | AUT
`@contextControlCode` |  | 0 … 1 | F | OP
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.82
`hl7:functionCode` | CE | 1 … 1 | R |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.37 Zawód medyczny (DYNAMICZNE)
`hl7:time` | TS | 1 … 1 | M |  | (plCion)
| Schematron assert | rola | error |
| test | (@value=/hl7:ClinicalDocument/hl7:legalAuthenticator/hl7:time/@value) or (@value=/hl7:ClinicalDocument/hl7:authenticator/hl7:time/@value) |
| Komunikat | Data utworzenia dokumentu powinna być taka sama jak data wystawienia lub autoryzacji dokumentu. |
`hl7:assignedAuthor` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | ASSIGNED
Wybór | 1 … 1 |  | Elementy do wyboru z: hl7:id[@root='2.16.840.1.113883.3.4424.1.6.1'] hl7:id[@root='2.16.840.1.113883.3.4424.1.6.2'] hl7:id[@root='2.16.840.1.113883.3.4424.1.6.3']
`hl7:id` | II | 0 … 1 |  |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.1.6.1
`@extension` | st | 1 … 1 | R |
`hl7:id` | II | 0 … 1 |  |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.1.6.2
`@extension` | st | 1 … 1 | R |
`hl7:id` | II | 0 … 1 |  |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.1.6.3
`@extension` | st | 1 … 1 | R |
Wybór | 0 … 1 |  | Elementy do wyboru z: hl7:code[@codeSystem='2.16.840.1.113883.3.4424.11.3.3'] hl7:code[@codeSystem='2.16.840.1.113883.3.4424.11.3.3.1']
`hl7:code` | CE | 0 … 1 |  |  | (plCion)
|  |  |  | gdzie [@codeSystem='2.16.840.1.113883.3.4424.11.3.3']
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.21 Specjalizacja lekarza (DYNAMICZNE)
lub
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.22 Specjalizacja lekarza dentysty (DYNAMICZNE)
`hl7:code` | CE | 0 … 1 |  |  | (plCion)
|  |  |  | gdzie [@codeSystem='2.16.840.1.113883.3.4424.11.3.3.1']
`@code` | cs | 1 … 1 | R |
`@displayName` | st | 1 … 1 | R |
`@codeSystem` | CONF | 1 … 1 | F | 2.16.840.1.113883.3.4424.11.3.3.1 (Mnogie specjalności lekarskie)
`hl7:addr` | AD | 0 … 1 |  |  | (plCion)
`hl7:telecom` | TEL | 0 … 1 |  |  | (plCion)
`hl7:assignedPerson` |  | 1 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
Wybór | 0 … 1 |  | Elementy do wyboru z: hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.15'] zawierający szablon2.16.840.1.113883.3.4424.13.10.2.15 [2] Praktyka medyczna (bazowy) (DYNAMICZNE) hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.17'] zawierający szablon2.16.840.1.113883.3.4424.13.10.2.17 [2] Jednostka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE) hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.18'] zawierający szablon2.16.840.1.113883.3.4424.13.10.2.18 [2] Komórka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE) hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.31'] zawierający szablon2.16.840.1.113883.3.4424.13.10.2.31 [2] Apteka (bazowy) (DYNAMICZNE)
`hl7:representedOrganization` |  | 0 … 1 | R | Zawiera 2.16.840.1.113883.3.4424.13.10.2.15 [2] Praktyka medyczna (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  | gdzie [hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.15']
`hl7:representedOrganization` |  | 0 … 1 | R | Zawiera 2.16.840.1.113883.3.4424.13.10.2.17 [2] Jednostka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  | gdzie [hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.17']
`hl7:representedOrganization` |  | 0 … 1 | R | Zawiera 2.16.840.1.113883.3.4424.13.10.2.18 [2] Komórka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  | gdzie [hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.18']
`hl7:representedOrganization` |  | 0 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.31 [2] Apteka (bazowy) (DYNAMICZNE) | (plCion)
|  |  |  | gdzie [hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.31']
| Schematron report | rola | error |
| test | /hl7:ClinicalDocument/hl7:code/hl7:translation/hl7:qualifier[(hl7:name/@code='RRECE') and (hl7:value/@code=('PA','PF'))] and not(hl7:addr) |
| Komunikat | Dla recepty pro auctore lub pro familiae należy podać adres osoby będącej autorem dokumentu. |
| Schematron report | rola | error |
| test | /hl7:ClinicalDocument/hl7:code/hl7:translation/hl7:qualifier[(hl7:name/@code='RRECE') and (hl7:value/@code=('PA','PF'))] and not(hl7:telecom) |
| Komunikat | Dla recepty pro auctore lub pro familiae należy podać numer telefonu osoby będącej autorem dokumentu. |
| Schematron report | rola | error |
| test | (not(/hl7:ClinicalDocument/hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='RRECE']) or /hl7:ClinicalDocument/hl7:code/hl7:translation/hl7:qualifier[(hl7:name/@code='RRECE') and (hl7:value/@code='ZW')]) and not(hl7:representedOrganization) |
| Komunikat | Dla recepty, która nie jest wystawiona w trybie pro auctore lub pro familiae, wymagane jest podanie danych organizacji, w ramach której utworzono receptę (w elemencie representedOrganization). |
Dołączony | 0 … 1 |  | z 2.16.840.1.113883.3.4424.13.10.2.44 [2] Dane umowy związanej z refundacją (DYNAMICZNE)
`extPL:boundedBy` |  | 0 … 1 |  |  | (plCion)
`@typeCode` | cs | 1 … 1 | F | PART
`extPL:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.44
`extPL:reimbursementRelatedContract` |  | 1 … 1 | M |  | (plCion)
`@classCode` | cs | 1 … 1 | F | CNTRCT
`@moodCode` | cs | 1 … 1 | F | EVN
Wybór | 1 … 1 |  | Elementy do wyboru z: extPL:id[@nullFlavor='NA'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.1'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.2'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.3'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.4'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.5'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.6'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.7'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.8'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.9'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.10'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.11'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.12'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.13'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.14'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.15'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.1.16'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.1'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.2'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.3'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.4'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.5'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.6'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.7'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.8'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.9'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.10'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.11'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.12'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.13'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.14'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.15'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.2.16'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.1'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.2'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.3'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.4'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.5'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.6'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.7'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.8'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.9'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.10'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.11'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.12'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.13'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.14'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.15'] extPL:id[@root='2.16.840.1.113883.3.4424.8.6.3.16']
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@nullFlavor='NA']
`@nullFlavor` | cs | 1 … 1 | F | NA
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.1']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.1
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.2']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.2
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.3']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.3
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.4']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.4
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.5']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.5
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.6']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.6
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.7']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.7
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.8']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.8
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.9']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.9
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.10']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.10
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.11']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.11
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.12']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.12
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.13']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.13
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.14']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.14
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.15']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.15
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.1.16']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.1.16
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.1']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.1
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.2']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.2
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.3']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.3
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.4']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.4
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.5']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.5
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.6']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.6
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.7']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.7
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.8']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.8
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.9']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.9
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.10']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.10
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.11']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.11
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.12']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.12
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.13']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.13
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.14']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.14
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.15']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.15
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.2.16']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.2.16
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.1']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.1
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.2']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.2
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.3']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.3
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.4']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.4
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.5']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.5
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.6']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.6
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.7']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.7
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.8']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.8
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.9']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.9
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.10']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.10
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.11']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.11
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.12']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.12
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.13']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.13
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.14']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.14
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.15']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.15
`@extension` | st | 1 … 1 | R |
`extPL:id` |  | 0 … 1 |  |  | (plCion)
|  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.8.6.3.16']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.8.6.3.16
`@extension` | st | 1 … 1 | R |
`extPL:code` |  | 0 … 1 |  |  | (plCion)
`extPL:bounding` |  | 1 … 1 | M |  | (plCion)
`@typeCode` | cs | 1 … 1 | F | PART
`extPL:reimburser` |  | 1 … 1 | M |  | (plCion)
`@classCode` | cs | 1 … 1 | F | UNDWRT
Wybór | 1 … 1 |  | Elementy do wyboru z: extPL:id[@root='2.16.840.1.113883.3.4424.3.1'] extPL:id[@root='1.0.3166.1'] extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']
`extPL:id` | II | 0 … 1 | R |  | (plCion)
|  |  |  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.3.1']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.3.1
`@extension` | st | 1 … 1 | R |
`extPL:id` | II | 0 … 1 | R |  | (plCion)
|  |  |  |  |  |  | gdzie [@root='1.0.3166.1']
`@root` | uid | 1 … 1 | F | 1.0.3166.1
`@extension` | st | 1 … 1 | R |
| Schematron assert | rola | warning |
| test | @extension=('AT','BE','BG','CY','CZ','DK','EE','FI','FR','GR','ES','NL','IS','IE','LI','LT','LU','LF','MT','DE','NO','PT','RO','SK','SI','CH','SE','HU','GB','IT','HR') |
| Komunikat | Nieprawidłowy identyfikator instytucji właściwej dla koordynacji |
`extPL:id` | II | 0 … 1 | R |  | (plCion)
|  |  |  |  |  |  | gdzie [@root='2.16.840.1.113883.3.4424.11.1.49']
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.11.1.49
`@extension` | st | 1 … 1 | R |
| Schematron report | rola | error |
| test | (hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.6.2' and not(hl7:functionCode/@code=('LEK','LEKD','FEL'))) or (hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.6.3' and not(hl7:functionCode/@code=('PIEL','POL'))) or (hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.6.1' and not(hl7:functionCode/@code=('FARM'))) or (hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.6.4' and not(hl7:functionCode/@code=('DLAB'))) |
| Komunikat | Wskazana pula numerów Prawa Wykonywania Zawodu jest nieprawidłowa w stosunku do wskazanego zawodu autora dokumentu. |
Dołączony | 0 … 1 |  | z 2.16.840.1.113883.3.4424.13.10.2.90 [2] Dane asystenta medycznego (DYNAMICZNE)
`hl7:dataEnterer` |  | 0 … 1 | R |  | (plCion)
`@typeCode` |  | 0 … 1 | F | ENT
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.90
`hl7:time` | TS | 0 … 1 |  |  | (plCion)
`hl7:assignedEntity` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | ASSIGNED
`hl7:id` | II | 1 … 1 | R |  | (plCion)
`hl7:addr` |  | 0 … 1 |  |  | (plCion)
`hl7:telecom` |  | 0 … 1 |  |  | (plCion)
`hl7:assignedPerson` |  | 1 … 1 | M | Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
`hl7:informant` |  |  | NP |  | (plCion)
Dołączony | 1 … 1 | M | z 2.16.840.1.113883.3.4424.13.10.2.20 [2] Organizacja odpowiedzialna za dokument dla P1 (DYNAMICZNE)
`hl7:custodian` |  | 1 … 1 | M |  | (plCion)
`@typeCode` |  | 0 … 1 | F | CST
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.20
`hl7:assignedCustodian` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | ASSIGNED
`hl7:representedCustodianOrganization` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | ORG
`@determinerCode` |  | 0 … 1 | F | INSTANCE
`hl7:id` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424
`@extension` | st | 0 | NP | NP/nie występuje
`@assigningAuthorityName` | st | 1 … 1 | F | CSIOZ
`@displayable` | bl | 1 … 1 | R |
`hl7:name` | ON | 0 … * | NP |  | (plCion)
`hl7:telecom` | TEL | 0 … * | NP |  | (plCion)
`hl7:addr` | AD | 0 … * | NP |  | (plCion)
Dołączony | 0 … * |  | z 2.16.840.1.113883.3.4424.13.10.2.61 [2] Odbiorca informacji (bazowy) (DYNAMICZNE)
`hl7:informationRecipient` |  | 0 … * |  |  | (plCion)
`@typeCode` | cs | 1 … 1 | R |
| CONF |
Wartość @typeCode musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.19366 x_InformationRecipient (DYNAMICZNE)
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.61
`hl7:intendedRecipient` |  | 1 … 1 |  |  | (plCion)
`@classCode` | cs | 1 … 1 | R |
| CONF |
@classCode musi mieć wartość "ASSIGNED"
`hl7:id` | II | 0 … * | R |  | (plCion)
`hl7:addr` | AD.PL | 0 … * |  |  | (plCion)
`hl7:telecom` | TEL | 0 … * |  |  | (plCion)
`hl7:informationRecipient` |  | 0 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
`hl7:receivedOrganization` |  | 1 … 1 | R | Zawiera 2.16.840.1.113883.3.4424.13.10.2.89 [2] Organizacja do której kierowany jest dokument (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.89']]
Dołączony | 1 … 1 | M | z 2.16.840.1.113883.3.4424.13.10.2.6 [2] Wystawca dokumentu (bazowy) (DYNAMICZNE)
`hl7:legalAuthenticator` |  | 1 … 1 | M |  | (plCion)
`@typeCode` |  | 0 … 1 | F | LA
`@contextControlCode` |  | 0 … 1 | F | OP
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.6
`hl7:time` | TS | 1 … 1 | R |  | (plCion)
`hl7:signatureCode` | CS | 1 … 1 | R |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.10282 ParticipationSignature (DYNAMICZNE)
`hl7:assignedEntity` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | ASSIGNED
`hl7:id` | II | 1 … * | M |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
`hl7:code` | CE | 0 … 1 |  |  | (plCion)
`hl7:addr` | AD.PL | 0 … * |  |  | (plCion)
`hl7:telecom` | TEL | 0 … * |  |  | (plCion)
`hl7:assignedPerson` |  | 0 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
`hl7:representedOrganization` |  | 0 … 1 |  | Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.2']]
| Schematron report | rola | error |
| test | not(hl7:assignedPerson/hl7:name) and not(hl7:id[@root=/hl7:ClinicalDocument/hl7:author/hl7:assignedAuthor/hl7:id/@root and @extension=/hl7:ClinicalDocument/hl7:author/hl7:assignedAuthor/hl7:id/@extension]) |
| Komunikat | Jeśli wystawca dokumentu jest również jego autorem to identyfikator wystawcy musi być taki sam jak identyfikator autora. W przeciwnym wypadku należy podać dane personalne wystawcy dokumentu. |
`hl7:authenticator` |  |  | NP |  | (plCion)
Dołączony | 0 … 1 |  | z 2.16.840.1.113883.3.4424.13.10.2.19 [2] Dane ubezpieczyciela publicznego (bazowy) (DYNAMICZNE)
`hl7:participant` |  | 0 … 1 |  |  | (plCion)
`@typeCode` | cs | 1 … 1 | F | IND
`@contextControlCode` |  | 0 … 1 | F | OP
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.19
`hl7:associatedEntity` |  | 1 … 1 | R |  | (plCion)
`@classCode` | cs | 1 … 1 | F | UNDWRT
Wybór | 1 … 1 |  | Elementy do wyboru z: hl7:id[@root='2.16.840.1.113883.3.4424.3.1'] hl7:id[@root='2.16.840.1.113883.3.4424.11.1.49']
`hl7:id` | II | 0 … 1 |  |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.3.1
`@extension` | st | 1 … 1 | R |
`hl7:id` | II | 0 … 1 |  |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.11.1.49
`@extension` | st | 1 … 1 | R |
Dołączony | 0 … * |  | z 2.16.840.1.113883.3.4424.13.10.2.53 [2] Dane zlecenia (bazowy) (DYNAMICZNE)
`hl7:inFulfillmentOf` |  | 0 … * |  |  | (plCion)
`@typeCode` |  | 0 … 1 | F | FLFS
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.53
`hl7:order` |  | 1 … 1 |  |  | (plCion)
`@classCode` |  | 0 … 1 | F | ACT
`@moodCode` |  | 1 … 1 | F | RQO
`hl7:id` | II | 1 … * | M |  | (plCion)
`hl7:code` | CE | 0 … 1 |  |  | (plCion)
`@codeSystem` | CONF | 0 … 1 | F | 2.16.840.1.113883.5.4 (ActCode)
`hl7:priorityCode` | CE | 0 … 1 |  |  | (plCion)
| CONF |
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.16866 ActPriority (DYNAMICZNE)
`hl7:documentationOf` |  |  | NP |  | (plCion)
Dołączony | 0 … 1 |  | z 2.16.840.1.113883.3.4424.13.10.2.83 [2] Dokument powiązany dla dokumentu recepty (DYNAMICZNE)
`hl7:relatedDocument` |  | 0 … 1 |  |  | (plCion)
`@typeCode` | cs | 1 … 1 | F | RPLC
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.83
`hl7:parentDocument` |  | 1 … 1 | R |  | (plCion)
`@classCode` |  | 0 … 1 | F | DOCCLIN
`@moodCode` |  | 0 … 1 | F | EVN
`hl7:id` | II | 1 … 1 | M |  | (plCion)
`hl7:setId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | R |
`@extension` | st | 1 … 1 | R |
`hl7:versionNumber` | INT | 1 … 1 | M |  | (plCion)
| Schematron report | rola | error |
| test | hl7:id[@root=/hl7:ClinicalDocument/hl7:id/@root and @extension=/hl7:ClinicalDocument/hl7:id/@extension] |
| Komunikat | Idetyfikator dokumentu jest taki sam jak identyfikator dokumentu powiązanego wskazujcego na jego poprzednią wersję. |
| Schematron assert | rola | error |
| test | hl7:setId[@root=/hl7:ClinicalDocument/hl7:setId/@root and @extension=/hl7:ClinicalDocument/hl7:setId/@extension] |
| Komunikat | Identyfikator grupy wersji dokumentów (setId) powienien być identyczny dla dokumentu i dokumentu powiązanego wskazującego na jego poprzednią wersję. |
| Schematron assert | rola | error |
| test | (xs:integer(hl7:versionNumber/@value)+1)=xs:integer(/hl7:ClinicalDocument/hl7:versionNumber/@value) |
| Komunikat | Dokument powiązany powienien wskazywać poprzednią wersję dokumentu. |
`hl7:authorization` |  |  | NP |  | (plCion)
`hl7:componentOf` |  |  | NP |  | (plCion)
Dołączony | 1 … 1 | M | z 2.16.840.1.113883.3.4424.13.10.2.25 [2] Treść dokumentu recepty (DYNAMICZNE)
`hl7:component` |  | 1 … 1 | M |  | (plCion)
`@typeCode` |  | 0 … 1 | F | COMP
`@contextConductionInd` | bl | 0 … 1 |  |
`hl7:templateId` | II | 1 … 1 | M |  | (plCion)
`@root` | uid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.2.25
`hl7:structuredBody` |  | 1 … 1 | M |  | (plCion)
`@classCode` |  | 0 … 1 | F | DOCBODY
`@moodCode` |  | 0 … 1 | F | EVN
`hl7:component` |  | 1 … 1 | M | Zawiera 2.16.840.1.113883.3.4424.13.10.3.4 [3] Sekcja zalecenia leku (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:section [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.3.4']]] [not(@nullFlavor)]
`hl7:component` |  | 0 … * | R | Zawiera 2.16.840.1.113883.3.4424.13.10.3.69 [3] Sekcja danych ubezpieczeniowych (DYNAMICZNE) | (plCion)
|  |  | gdzie [hl7:section [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.3.69']]]
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.3.13
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.3.6
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.3.8
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.3.23
`hl7:component` |  | 0 … * |  |  | (plCion)
|  |  | gdzie [hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']
`hl7:section` |  |  |  |  | (plCion)
`hl7:templateId` |  |  |  |  | (plCion)
|  |  |  |  | gdzie [@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']
`@root` |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4
| Schematron report | rola | error |
| test | count(//(hl7:observation|hl7:substanceAdministration|hl7:supply|hl7:procedure|hl7:encounter|hl7:act|hl7:externalDocument)[not(ancestor::hl7:section/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.3.55']) and not(ancestor::hl7:entryRelationship) and not(hl7:text/hl7:reference)])>0 |
| Komunikat | Element text dla danego wyrażenia klinicznego jest wymagany, ze wskazaniem referencji do odpowiedniego elementu section.text. |
| Zmienna let | Nazwa | versionLabel |
| Wartość | '1.3.2' |
| Schematron assert | rola | error |
| test | count(hl7:templateId[@root and xs:string(@extension)=xs:string($versionLabel)])=1 |
| Komunikat | Nie występuje prawidłowe oznaczenie zgodności dokumentu z daną wersją wydania Polskiej Implementacji Krajowej HL7 CDA. |
| Schematron report | rola | error |
| test | ./hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='TWREC']/hl7:value/@code = 'Z' and ./hl7:title != 'Recepta' |
| Komunikat | Nieprawidłowy tytuł recepty zwykłej. |
| Schematron report | rola | error |
| test | ./hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='TWREC']/hl7:value/@code = 'P' and ./hl7:title != 'Recepta pielęgniarska' |
| Komunikat | Nieprawidłowy tytuł recepty pielęgniarskiej. |
| Schematron report | rola | error |
| test | ./hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='TWREC']/hl7:value/@code = 'PL' and ./hl7:title != 'Recepta pielęgniarska na zlecenie lekarza' |
| Komunikat | Nieprawidłowy tytuł recepty pielęgniarkiej na zlecenie lekarza. |
| Schematron assert | rola | error |
| test | /processing-instruction('xml-stylesheet') = concat('href="CDA_PL_IG_',$versionLabel,'.xsl" type="text/xsl"') |
| Komunikat | Nieprawidłowe wskazanie transformaty generującej warstwę prezentacyjną dokumentu. |