Id2.16.840.1.113883.3.4424.13.10.1.3Effective Date2017‑01‑28
Statusdraft DraftVersion Label1.2
NameplCdaDrugPrescriptionDisplay Name[1] Dokument recepty
DescriptionSzablon CDA dokumentu recepty
ContextPathname /
ClassificationCDA Document Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 1 transaction and 0 templates, Uses 12 templates
Used by as NameVersion
2.16.840.1.113883.3.4424.13.4.1Transactiondraft Dokument recepty2014‑08‑14
Uses as NameVersion
2.16.840.1.113883.3.4424.13.10.2.4Includeactive [2] Autor dokumentu (bazowy) (1.2)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.11Containmentactive [2] Dokumenty uprawnień (rozszerzenie) (1.1)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.12Containmentdraft [2] Uprawnienie dodatkowe związane z refundacją leków (rozszerzenie) (0.9.10 errata)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.13Containmentactive [2] Potwierdzenie ubezpieczenia w NFZ (rozszerzenie) (0.9.10 errata)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.19Includeactive [2] Dane ubezpieczyciela publicznego (bazowy) (1.2)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.20Includedraft [2] Organizacja odpowiedzialna za dokument dla P1 (0.9.9)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.21Includedraft [2] Dokument powiązany dla P1 (0.9.10)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.23Includedraft [2] Dane pacjenta dla dokumentu recepty (1.1)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.24Includedraft [2] Wystawca dokumentu recepty (1.1)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.25Includedraft [2] Treść dokumentu recepty (1.1.1)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.53Includeactive [2] Dane zlecenia (bazowy) (0.9.10)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.61Includeactive [2] Odbiorca informacji (bazowy) (0.9.10)DYNAMIC
RelationshipSpecialization: template 2.16.840.1.113883.3.4424.13.10.1.2 [1] Szablon bazowy dla P1 (2014‑09‑23)
Example
Example
<ClinicalDocument classCode="DOCCLIN" moodCode="EVN">
  <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.1.1"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.1.2"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.1.3" extension="1.2"/>  <id extension="1234" root="1.2.3.999"/>  <code code="57833-6" codeSystem="2.16.840.1.113883.6.1" displayName="Prescription for medication Document">
    <translation code="04.01" codeSystem="2.16.840.1.113883.3.4424.11.1.32" displayName="Recepta">
      <qualifier>
        <name code="KDLEK" codeSystem="2.16.840.1.113883.3.4424.13.5.1" displayName="Kategoria dostępności leku"/>        <value code="Rp" displayName="" 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" 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" 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" 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="20140923151914"/>  <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>  <languageCode code="pl-PL"/>  <setId root="1.2.3.998" extension="2345"/>  <versionNumber value="1"/>  <!-- include template plCdaDrugPrescriptionRecordTarget (dynamic) 1..1 M -->
  <!-- include template plCdaBaseAuthor (dynamic) 1..1 M -->
  <!-- include template plCdaP1BaseCustodian (dynamic) 1..1 M -->
  <!-- include template plCdaBaseInformationRecipient (dynamic) 0..* 0 -->
  <!-- include template plCdaDrugPrescriptionLegalAuthenticator (dynamic) 1..1 M -->
  <!-- include template plCdaBaseUnderwriterParticipant (dynamic) 0..1 O -->
  <!-- include template plCdaBaseInFulfillmentOf (dynamic) 0..* 0 -->
  <!-- include template plCdaP1BaseRelatedDocument (dynamic) 0..1 O -->
  <!-- include template plCdaDrugPrescriptionComponent (dynamic) 1..1 M -->
  <extPL:pertinentInformaction typeCode="PERT">
    <!-- template plExtEntitlementDocument (dynamic) -->
  </extPL:pertinentInformaction>
  <extPL:pertinentInformaction typeCode="PERT">
    <!-- include template plExtCoverageEligibilityConfirmation (dynamic) -->
  </extPL:pertinentInformaction>
  <extPL:pertinentInformaction typeCode="PERT">
    <!-- include template plExtDrugPrescriptionSpecialEntitlement (dynamic) -->
  </extPL:pertinentInformaction>
</ClinicalDocument>
ItemDTCardConfDescriptionLabel
hl7:ClinicalDocument
1 … 1MplCddotstion
@classCode
cs0 … 1FDOCCLIN
@moodCode
cs0 … 1FEVN
hl7:typeId
II1 … 1MplCddotstion
@extension
st1 … 1FPOCD_HD000040
@root
uid1 … 1F2.16.840.1.113883.1.3
hl7:templateId
II1 … 1MplCddotstion
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.1.1
@extension
st0NPNP/not present
hl7:templateId
II1 … 1MplCddotstion
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.1.2
@extension
st0NPNP/not present
hl7:templateId
II1 … 1MplCddotstion
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.1.3
@extension
st0 … 1 
hl7:id
II1 … 1RplCddotstion
@root
oid1 … 1R
@extension
st1 … 1R
hl7:code
CE1 … 1MplCddotstion
@code
CONF1 … 1F57833-6
@codeSystem
1 … 1F2.16.840.1.113883.6.1
@codeSystemName
1 … 1FLOINC
@displayName
1 … 1FPrescription for medication Document
hl7:translation
1 … 1MplCddotstion
@code
CONF1 … 1F04.01
@codeSystem
1 … 1F2.16.840.1.113883.3.4424.11.1.32
@codeSystemName
1 … 1FKLAS_DOK_P1
@displayName
1 … 1FRecepta
hl7:qualifier
1 … 1MplCddotstion
where [hl7:name/@code='KDLEK']
hl7:name
1 … 1MplCddotstion
@code
CONF1 … 1FKDLEK
@codeSystem
1 … 1F2.16.840.1.113883.3.4424.13.5.1
@codeSystemName
1 … 1FPolskieKlasyfikatoryHL7v3
@displayName
1 … 1FKategoria dostępności leku
hl7:value
1 … 1MplCddotstion
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.4424.13.11.6 Kategoria dostępności leku (DYNAMIC)
hl7:qualifier
1 … 1MplCddotstion
where [hl7:name/@code='RLEK']
hl7:name
1 … 1MplCddotstion
@code
CONF1 … 1FRLEK
@codeSystem
1 … 1F2.16.840.1.113883.3.4424.13.5.1
@codeSystemName
1 … 1FPolskieKlasyfikatoryHL7v3
@displayName
1 … 1FRodzaj leku
hl7:value
1 … 1MplCddotstion
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.4424.13.11.5 Rodzaj leku (DYNAMIC)
hl7:qualifier
1 … 1MplCddotstion
where [hl7:name/@code='TWREC']
hl7:name
1 … 1MplCddotstion
@code
CONF1 … 1FTWREC
@codeSystem
1 … 1F2.16.840.1.113883.3.4424.13.5.1
@codeSystemName
1 … 1FPolskieKlasyfikatoryHL7v3
@displayName
1 … 1FTryb wystawienia recepty
hl7:value
1 … 1MplCddotstion
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.4424.13.11.7 Tryb wystawienia recepty (DYNAMIC)
hl7:qualifier
1 … 1MplCddotstion
where [hl7:name/@code='TRREC']
hl7:name
1 … 1MplCddotstion
@code
CONF1 … 1FTRREC
@codeSystem
1 … 1F2.16.840.1.113883.3.4424.13.5.1
@codeSystemName
1 … 1FPolskieKlasyfikatoryHL7v3
@displayName
1 … 1FTryb realizacji recepty
hl7:value
1 … 1MplCddotstion
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.4424.13.11.8 Tryb realizacji recepty (DYNAMIC)
hl7:title
ST1 … 1MplCddotstion
hl7:effectiveTime
TS1 … 1MplCddotstion
 Schematron assertrolered error 
 testconcat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date 
 MessagePierwsze 8 cyfr daty powinno być w formacie YYYYMMDD. 
hl7:confidentialityCode
CE1 … 1MplCddotstion
@code
CONF1 … 1FN
@codeSystem
1 … 1F2.16.840.1.113883.5.25
hl7:languageCode
CS1 … 1MplCddotstion
@code
CONF1 … 1Fpl-PL
hl7:setId
II1 … 1MplCddotstion
hl7:versionNumber
INT1 … 1MplCddotstion
@value
int1 … 1F1
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.2.23 [2] Dane pacjenta dla dokumentu recepty (DYNAMIC)
hl7:recordTarget
1 … 1MplCddotsrget
@typeCode
cs0 … 1FRCT
@contextControlCode
cs0 … 1FOP
hl7:templateId
II1 … 1MplCddotsrget
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.3
hl7:templateId
II1 … 1MplCddotsrget
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.23
hl7:patientRole
1 … 1MplCddotsrget
@classCode
cs0 … 1FPAT
hl7:id
II1 … *MplCddotsrget
@root
oid1 … 1R
@extension
st1 … 1R
 Schematron reportrolered error 
 test@root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$')) 
 Message Jeżeli identyfikatorem jest numer PESEL, to musi zawierać 11 cyfr.  
Included1 … 1 from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
1 … 1plCddotsAddr
@nullFlavor
cs0 … 1FUNK
hl7:country
ADXP0 … 1plCddotsAddr
hl7:postalCode
0 … 1plCddotsAddr
@xsi:type
0 … 1FextPL:adxp
@postCity
st0 … 1 
hl7:city
ADXP0 … 1plCddotsAddr
hl7:streetName
ADXP0 … 1plCddotsAddr
hl7:houseNumber
ADXP0 … 1plCddotsAddr
hl7:unitID
ADXP0 … 1plCddotsAddr
hl7:unitType
ADXP0 … 1plCddotsAddr
hl7:censusTract
ADXP0 … 1plCddotsAddr
 Schematron reportrolered error 
 testnot(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode)) 
 Message Dla polskiego adresu wymagane jest podanie kodu pocztowego.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) 
 Message Dla polskiego adresu wymagane jest podanie miasta.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber) 
 Message Dla polskiego adresu wymagane jest podanie numeru domu.  
 Schematron assertrolered error 
 testnot(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:') 
 Message Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".  
 Schematron reportrolered error 
 test@nullFlavor and count(./*) > 1 
 Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.  
hl7:patient
1 … 1MplCddotsrget
@classCode
cs0 … 1FPSN
@determinerCode
cs0 … 1FINSTANCE
hl7:id
II0 … *NPplCddotsrget
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.7.2 [7] Nazwisko i imię osoby (bazowy) (DYNAMIC)
hl7:name
1 … 1MplCddotsName
hl7:prefix
ENXP0 … 1plCddotsName
hl7:given
ENXP1 … *RplCddotsName
hl7:family
ENXP1 … *RplCddotsName
hl7:administrativeGenderCode
CE0 … 1plCddotsrget
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.1.11.1 AdministrativeGender (DYNAMIC)
hl7:birthTime
TS.DATE0 … 1plCddotsrget
 Schematron assertrolered error 
 testconcat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date 
 MessagePierwsze 8 cyfr daty urodzenia powinno być w formacie YYYYMMDD. 
hl7:guardian
0 … *plCddotsrget
@classCode
cs1 … 1FGUARD
hl7:id
II1 … *plCddotsrget
@root
oid1 … 1R
@extension
st1 … 1R
 Schematron reportrolered error 
 test@root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$')) 
 Message Jeżeli identyfikatorem jest numer PESEL to musi zawierać 11 cyfr.  
hl7:code
CE0 … 1plCddotsrget
@codeSystem
CONF0 … 1F2.16.840.1.113883.5.111
Included0 … 1 from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … 1plCddotsAddr
@nullFlavor
cs0 … 1FUNK
hl7:country
ADXP0 … 1plCddotsAddr
hl7:postalCode
0 … 1plCddotsAddr
@xsi:type
0 … 1FextPL:adxp
@postCity
st0 … 1 
hl7:city
ADXP0 … 1plCddotsAddr
hl7:streetName
ADXP0 … 1plCddotsAddr
hl7:houseNumber
ADXP0 … 1plCddotsAddr
hl7:unitID
ADXP0 … 1plCddotsAddr
hl7:unitType
ADXP0 … 1plCddotsAddr
hl7:censusTract
ADXP0 … 1plCddotsAddr
 Schematron reportrolered error 
 testnot(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode)) 
 Message Dla polskiego adresu wymagane jest podanie kodu pocztowego.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) 
 Message Dla polskiego adresu wymagane jest podanie miasta.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber) 
 Message Dla polskiego adresu wymagane jest podanie numeru domu.  
 Schematron assertrolered error 
 testnot(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:') 
 Message Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".  
 Schematron reportrolered error 
 test@nullFlavor and count(./*) > 1 
 Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.  
Choice1 … 1Elements to choose from:
hl7:guardianPerson
Contains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC)plCddotsrget
hl7:guardianOrganization
Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC)plCddotsrget
extPL:multipleBirthInd
BL0 … 1plCddotsrget
extPL:multipleBirthOrderNumber
INT.POS0 … 1plCddotsrget
 Schematron reportrolered error 
 testextPL:multipleBirthInd/@value and not(extPL:multipleBirthOrderNumber/@value) 
 Message Dla ciąży mnogiej wymagane jest podanie numeru kolejności urodzenia.  
hl7:providerOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC)plCddotsrget
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.2.4 [2] Autor dokumentu (bazowy) (DYNAMIC)
hl7:author
1 … 1MplCddotsthor
@typeCode
cs0 … 1FAUT
@contextControlCode
cs0 … 1FOP
hl7:templateId
II1 … 1MplCddotsthor
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.4
hl7:time
TS1 … 1MplCddotsthor
 Schematron assertrolered error 
 test(@value=/hl7:ClinicalDocument/hl7:legalAuthenticator/hl7:time/@value) or (@value=/hl7:ClinicalDocument/hl7:authenticator/hl7:time/@value) 
 Message Data utworzenia dokumentu powinna być taka sama jak data wystawienia lub autoryzacji dokumentu.  
hl7:assignedAuthor
1 … 1RplCddotsthor
@classCode
cs0 … 1FASSIGNED
hl7:id
II1 … *MplCddotsthor
hl7:assignedPerson
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC)plCddotsthor
 Schematron reportrolered error 
 testnot(hl7:assignedPerson/hl7:name) and not(((hl7:id/@root = /hl7:ClinicalDocument/hl7:legalAuthenticator/hl7:assignedEntity/hl7:id/@root) and (hl7:id/@extension = /hl7:ClinicalDocument/hl7:legalAuthenticator/hl7:assignedEntity/hl7:id/@extension)) or ((hl7:id/@root = /hl7:ClinicalDocument/hl7:authenticator/hl7:assignedEntity/hl7:id/@root) and (hl7:id/@extension = /hl7:ClinicalDocument/hl7:authenticator/hl7:assignedEntity/hl7:id/@extension))) 
 Message Jeśli autor dokumentu jest osobą autoryzującą dokument to jego identyfikator musi być identyczny z identyfikatorem jednej z osób autoryzujących dokument. W przeciwnym wypadku należy podać dane personalne autora.  
hl7:dataEnterer
NPplCddotstion
hl7:informant
NPplCddotstion
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.2.20 [2] Organizacja odpowiedzialna za dokument dla P1 (DYNAMIC)
hl7:custodian
1 … 1MplCddotsdian
@typeCode
cs0 … 1FCST
hl7:templateId
II1 … 1MplCddotsdian
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.5
hl7:templateId
II1 … 1MplCddotsdian
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.20
hl7:assignedCustodian
1 … 1MplCddotsdian
@classCode
cs0 … 1FASSIGNED
hl7:representedCustodianOrganization
1 … 1MplCddotsdian
@classCode
cs0 … 1FORG
@determinerCode
cs0 … 1FINSTANCE
hl7:id
II1 … 1MplCddotsdian
@root
oid1 … 1F2.16.840.1.113883.3.4424
@extension
st0NPNP/not present
@assigningAuthorityName
st1 … 1FCSIOZ
@displayable
bl1 … 1R
hl7:name
ON0 … *NPplCddotsdian
hl7:telecom
TEL0 … *NPplCddotsdian
hl7:addr
AD0 … *NPplCddotsdian
Included0 … * from 2.16.840.1.113883.3.4424.13.10.2.61 [2] Odbiorca informacji (bazowy) (DYNAMIC)
hl7:informationRecipient
0 … *plCddotsient
@typeCode
cs1 … 1R
 CONF
The value of @typeCode shall be drawn from value set 2.16.840.1.113883.1.11.19366 x_InformationRecipient (DYNAMIC)
hl7:intendedRecipient
1 … 1plCddotsient
@classCode
cs1 … 1R
 CONF
@classCode shall be "ASSIGNED"
hl7:id
II0 … *RplCddotsient
Included0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … *plCddotsAddr
@nullFlavor
cs0 … 1FUNK
hl7:country
ADXP0 … 1plCddotsAddr
hl7:postalCode
0 … 1plCddotsAddr
@xsi:type
0 … 1FextPL:adxp
@postCity
st0 … 1 
hl7:city
ADXP0 … 1plCddotsAddr
hl7:streetName
ADXP0 … 1plCddotsAddr
hl7:houseNumber
ADXP0 … 1plCddotsAddr
hl7:unitID
ADXP0 … 1plCddotsAddr
hl7:unitType
ADXP0 … 1plCddotsAddr
hl7:censusTract
ADXP0 … 1plCddotsAddr
 Schematron reportrolered error 
 testnot(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode)) 
 Message Dla polskiego adresu wymagane jest podanie kodu pocztowego.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) 
 Message Dla polskiego adresu wymagane jest podanie miasta.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber) 
 Message Dla polskiego adresu wymagane jest podanie numeru domu.  
 Schematron assertrolered error 
 testnot(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:') 
 Message Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".  
 Schematron reportrolered error 
 test@nullFlavor and count(./*) > 1 
 Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.  
hl7:telecom
TEL0 … *plCddotsient
hl7:informationRecipient
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC)plCddotsient
hl7:receivedOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC)plCddotsient
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.2.24 [2] Wystawca dokumentu recepty (DYNAMIC)
hl7:legalAuthenticator
1 … 1MplCddotsator
@typeCode
cs0 … 1FLA
@contextControlCode
cs0 … 1FOP
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.6
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.63
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.24
hl7:time
TS1 … 1RplCddotsator
hl7:signatureCode
CS1 … 1RplCddotsator
@code
CONF0 … 1FS
hl7:assignedEntity
1 … 1MplCddotsator
@classCode
cs0 … 1FASSIGNED
Choice1 … 1Elements to choose from:
  • hl7:id
  • hl7:id
  • hl7:id
hl7:id
II0 … 1plCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.1.6.1
@extension
st1 … 1R
hl7:id
II0 … 1plCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.1.6.2
@extension
st1 … 1R
hl7:id
II0 … 1plCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.1.6.3
@extension
st1 … 1R
hl7:code
CE1 … 1RplCddotsator
@displayName
st1 … 1R
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.4424.13.11.23 Zawód medyczny uprawniony do wystawiania recept (DYNAMIC)
Included0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … *plCddotsAddr
@nullFlavor
cs0 … 1FUNK
hl7:country
ADXP0 … 1plCddotsAddr
hl7:postalCode
0 … 1plCddotsAddr
@xsi:type
0 … 1FextPL:adxp
@postCity
st0 … 1 
hl7:city
ADXP0 … 1plCddotsAddr
hl7:streetName
ADXP0 … 1plCddotsAddr
hl7:houseNumber
ADXP0 … 1plCddotsAddr
hl7:unitID
ADXP0 … 1plCddotsAddr
hl7:unitType
ADXP0 … 1plCddotsAddr
hl7:censusTract
ADXP0 … 1plCddotsAddr
 Schematron reportrolered error 
 testnot(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode)) 
 Message Dla polskiego adresu wymagane jest podanie kodu pocztowego.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) 
 Message Dla polskiego adresu wymagane jest podanie miasta.  
 Schematron reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber) 
 Message Dla polskiego adresu wymagane jest podanie numeru domu.  
 Schematron assertrolered error 
 testnot(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:') 
 Message Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".  
 Schematron reportrolered error 
 test@nullFlavor and count(./*) > 1 
 Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.  
hl7:telecom
TEL0 … *plCddotsator
hl7:assignedPerson
1 … 1MContains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC)plCddotsator
Choice1 … 1Elements to choose from:
hl7:representedOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.15 [2] Praktyka medyczna (bazowy) (DYNAMIC)plCddotsator
hl7:representedOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.17 [2] Jednostka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMIC)plCddotsator
hl7:representedOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.18 [2] Komórka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMIC)plCddotsator
hl7:representedOrganization
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.31 [2] Apteka (bazowy) (DYNAMIC)plCddotsator
Included0 … 1 from 2.16.840.1.113883.3.4424.13.10.2.44 [2] Dane umowy związanej z refundacją (DYNAMIC)
extPL:boundedBy
0 … 1plExdotsract
@typeCode
cs1 … 1FPART
extPL:templateId
II1 … 1MplExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.44
extPL:reimbursementRelatedContract
1 … 1MplExdotsract
@classCode
cs1 … 1FCNTRCT
@moodCode
cs1 … 1FEVN
Choice1 … 1Elements to choose from:
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.1
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.2
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.3
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.4
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.5
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.6
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.7
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.8
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.8
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.9
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.10
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.11
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.12
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.13
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.14
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.15
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.16
@extension
st1 … 1R
extPL:code
0 … 1plExdotsract
extPL:bounding
1 … 1MplExdotsract
@typeCode
cs1 … 1FPART
extPL:reimburser
1 … 1MplExdotsract
@classCode
cs1 … 1FUNDWRT
extPL:id
II1 … 1MplExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.3.1
@extension
st1 … 1R
 Schematron reportrolered error 
 test(hl7:id/@root='2.16.840.1.113883.3.4424.1.6.2' and not(hl7:code/@code=('LEK','LEKD','FEL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.3' and not(hl7:code/@code=('PIEL','POL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.1' and not(hl7:code/@code=('FARM'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.4' and not(hl7:code/@code=('DLAB'))) 
 Message Wskazana pula numerów Prawa Wykonywania Zawodu jest nieprawidłowa w stosunku do wskazanego zawodu wystawcy dokumentu  
 Schematron reportrolered error 
 testnot(//hl7:wholeOrganization/hl7:addr) and not(//hl7:representedOrganization/hl7:addr) 
 Message Jeżeli nie istnieje adres na żadnym z poziomów wholeOrganization, to musi istnieć adres dla representedOrganization  
 Schematron reportrolered error 
 testnot(//hl7:wholeOrganization/hl7:telecom) and not(//hl7:representedOrganization/hl7:telecom) 
 Message Jeżeli nie istnieje numer telefonu na żadnym z poziomów wholeOrganization, to musi istnieć numer telefonu dla representedOrganization  
 Schematron reportrolered error 
 testnot(//hl7:representedOrganization/hl7:id[@root='2.16.840.1.113883.3.4424.2.2.1']) and not(//hl7:wholeOrganization[hl7:id/@root='2.16.840.1.113883.3.4424.2.2.1' and not(hl7:asOrganizationPartOf)]) 
 Message Dla dokumentu recepty wymagany jest numer REGON. Jeżeli identyfikator representedOrganization nie wskazuje numeru REGON, to musi on wystepować na ostanim poziomie wholeOrganization.  
hl7:authenticator
NPplCddotstion
Included0 … 1 from 2.16.840.1.113883.3.4424.13.10.2.19 [2] Dane ubezpieczyciela publicznego (bazowy) (DYNAMIC)
hl7:participant
0 … 1plCddotspant
@typeCode
cs1 … 1FIND
@contextControlCode
cs0 … 1FOP
hl7:templateId
II1 … 1MplCddotspant
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.19
hl7:associatedEntity
1 … 1RplCddotspant
@classCode
cs1 … 1FUNDWRT
Choice1 … 1Elements to choose from:
  • hl7:id
  • hl7:id
hl7:id
II0 … 1plCddotspant
@root
oid1 … 1F2.16.840.1.113883.3.4424.3.1
@extension
st1 … 1R
hl7:id
II0 … 1plCddotspant
@root
oid1 … 1F2.16.840.1.113883.3.4424.11.1.49
@extension
st1 … 1R
Included0 … * from 2.16.840.1.113883.3.4424.13.10.2.53 [2] Dane zlecenia (bazowy) (DYNAMIC)
hl7:inFulfillmentOf
0 … *plCddotsntOf
@typeCode
cs0 … 1FFLFS
hl7:templateId
II1 … 1MplCddotsntOf
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.53
hl7:order
1 … 1plCddotsntOf
@classCode
cs0 … 1FACT
@moodCode
cs1 … 1FRQO
hl7:id
II1 … *MplCddotsntOf
hl7:code
CE0 … 1plCddotsntOf
@codeSystem
CONF0 … 1F2.16.840.1.113883.5.4
hl7:priorityCode
CE0 … 1plCddotsntOf
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.1.11.16866 ActPriority (DYNAMIC)
hl7:documentationOf
NPplCddotstion
Included0 … 1 from 2.16.840.1.113883.3.4424.13.10.2.21 [2] Dokument powiązany dla P1 (DYNAMIC)
hl7:relatedDocument
0 … 1plCddotsment
@typeCode
cs1 … 1R
 CONF
@typeCode shall be "RPLC"
or
@typeCode shall be "APND"
hl7:templateId
II1 … 1MplCddotsment
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.7
hl7:templateId
II1 … 1MplCddotsment
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.21
hl7:parentDocument
1 … 1RplCddotsment
@classCode
cs0 … 1FDOCCLIN
@moodCode
cs0 … 1FEVN
hl7:id
II1 … 1MplCddotsment
hl7:setId
II1 … 1MplCddotsment
hl7:versionNumber
INT1 … 1MplCddotsment
hl7:authorization
NPplCddotstion
hl7:componentOf
NPplCddotstion
Included1 … 1M from 2.16.840.1.113883.3.4424.13.10.2.25 [2] Treść dokumentu recepty (DYNAMIC)
hl7:component
1 … 1MplCddotsnent
@typeCode
cs0 … 1FCOMP
@contextConductionInd
bl0 … 1 
hl7:templateId
II1 … 1MplCddotsnent
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.8
hl7:templateId
II1 … 1MplCddotsnent
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.25
hl7:structuredBody
1 … 1MplCddotsnent
@classCode
cs0 … 1FDOCBODY
@moodCode
cs0 … 1FEVN
hl7:component
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.3.2 [3] Sekcja informacji dodatkowych (DYNAMIC)plCddotsnent
@typeCode
cs0 … 1FCOMP
hl7:component
1 … 1MContains 2.16.840.1.113883.3.4424.13.10.3.4 [3] Sekcja zalecenia leku (DYNAMIC)plCddotsnent
@typeCode
cs0 … 1FCOMP
hl7:component
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.3.39 [3] Sekcja załączników (DYNAMIC)plCddotsnent
@typeCode
cs0 … 1FCOMP
 Schematron reportrolered error 
 testcount(//(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 
 Message Element text dla danego wyrażenia klinicznego jest wymagany, ze wskazaniem referencji do odpowiedniego elementu section.text.  
extPL:pertinentInformation
0 … *Contains 2.16.840.1.113883.3.4424.13.10.2.11 [2] Dokumenty uprawnień (rozszerzenie) (DYNAMIC)plCddotstion
where [extPL:entitlementDocument]
@typeCode
cs1 … 1FPERT
extPL:pertinentInformation
0 … 1Contains 2.16.840.1.113883.3.4424.13.10.2.13 [2] Potwierdzenie ubezpieczenia w NFZ (rozszerzenie) (DYNAMIC)plCddotstion
where [extPL:coverageEligibilityConfirmation]
@typeCode
cs1 … 1FPERT
extPL:pertinentInformation
0 … *Contains 2.16.840.1.113883.3.4424.13.10.2.12 [2] Uprawnienie dodatkowe związane z refundacją leków (rozszerzenie) (DYNAMIC)plCddotstion
where [extPL:coveragePlan]
@typeCode
cs1 … 1FPERT
 Variable letNameversionLabel 
 Value1.2 
 Schematron assertrolered error 
 testcount(hl7:templateId[@root and @extension=$versionLabel])=1 
 Message Nie występuje prawidłowe oznaczenie zgodności dokumentu z daną wersją wydania Polskiej Implementacji Krajowej HL7 CDA.  
 Schematron reportrolered error 
 test./hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='TWREC']/hl7:value/@code = 'Z' and ./hl7:title != 'Recepta' 
 Message Nieprawidłowy tytuł recepty zwykłej.  
 Schematron reportrolered error 
 test./hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='TWREC']/hl7:value/@code = 'P' and ./hl7:title != 'Recepta pielęgniarska' 
 Message Nieprawidłowy tytuł recepty pielęgniarskiej.  
 Schematron reportrolered 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' 
 Message Nieprawidłowy tytuł recepty pielęgniarkiej na zlecenie lekarza.  
 Schematron assertrolered error 
 test/processing-instruction('xml-stylesheet') = concat('href="CDA_PL_IG_',/hl7:ClinicalDocument/hl7:templateId[@extension]/@extension,'.xsl" type="text/xsl"') 
 Message Nieprawidłowe wskazanie transformaty generującej warstwę prezentacyjną dokumentu.