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

 Szablon  [1] Dokument recepty spełniający wymagania związane z refundacją

Szablon 2.16.840.1.113883.3.4424.13.10.1.26 - plCdaReimbursementConformantDrugPrescription
Id 2.16.840.1.113883.3.4424.13.10.1.26
Typ CDA document level template
Relacje Specialization: szablon 1.3.6.1.4.1.19376.1.9.1.1.1 (2016‑01‑07 22:13:03)
Kontekst Nazwa ścieżki /
Wersja 1.2.2 obowiązuje od 2017‑10‑26 status W trakcie tworzenia
Otwarty/Zamknięty Otwarty (pozostałe elementy poza zdefiniowanymi są dozwolone)
Opis Szablon CDA dokumentu recepty spełniającej wymagania związane z refundacją
Używane przez / Używa
Używane przez / Używa 9 szablonów
Używa Template id Name Wersja
2.16.840.1.113883.3.4424.13.10.2.23 plCdaDrugPrescriptionRecordTarget DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.79 plCdaReimbursementConformantDrugPrescriptionAuthor DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.20 plCdaP1BaseCustodian DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.61 plCdaBaseInformationRecipient DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.6 plCdaBaseLegalAuthenticator DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.19 plCdaBaseUnderwriterParticipant DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.53 plCdaBaseInFulfillmentOf DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.83 plCdaDrugPrescriptionRelatedDocument DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.25 plCdaDrugPrescriptionComponent DYNAMICZNE
Pozycja Typ danych Krotność Wymagalność Opis Etykieta
hl7:ClinicalDocument
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F DOCCLIN
@moodCode
0 .. 1 F EVN
hl7:typeId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@extension
1 .. 1 F POCD_HD000040
@root
1 .. 1 F 2.16.840.1.113883.1.3
hl7:templateId
gdzie
[@root='1.3.6.1.4.1.19376.1.9.1.1.1']
II 1 .. 1 M 6.3.1.1
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.9.1.1.1
hl7:templateId
gdzie
[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
II 1 .. 1 R 6.3.1.1.2
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.1.1
hl7:templateId
gdzie
[@root='2.16.840.1.113883.3.4424.13.10.1.26']
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.1.26
@extension
st 0 .. 1  
hl7:id
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
hl7:code
CE 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F 57833-6
@codeSystem
1 .. 1 F 2.16.840.1.113883.6.1
@codeSystemName
1 .. 1 F LOINC
@displayName
1 .. 1 F Prescription for medication Document
hl7:translation
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F 04.01
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.11.1.32 (Klasyfikacja dokumentów projektu P1)
@codeSystemName
1 .. 1 F KLAS_DOK_P1
@displayName
1 .. 1 F Recepta
hl7:qualifier
gdzie
[hl7:name/@code='KDLEK']
CR 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:name
CV 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F KDLEK
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.13.5.1 (Polskie klasyfikatory HL7 v3)
@codeSystemName
1 .. 1 F PolskieKlasyfikatoryHL7v3
@displayName
1 .. 1 F Kategoria dostępności leku
hl7:value
CD 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
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
gdzie
[hl7:name/@code='RLEK']
CR 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:name
CV 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F RLEK
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.13.5.1 (Polskie klasyfikatory HL7 v3)
@codeSystemName
1 .. 1 F PolskieKlasyfikatoryHL7v3
@displayName
1 .. 1 F Rodzaj leku
hl7:value
CD 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.5 Rodzaj leku (DYNAMICZNE)
hl7:qualifier
gdzie
[hl7:name/@code='TWREC']
CR 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:name
CV 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F TWREC
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.13.5.1 (Polskie klasyfikatory HL7 v3)
@codeSystemName
1 .. 1 F PolskieKlasyfikatoryHL7v3
@displayName
1 .. 1 F Tryb wystawienia recepty
hl7:value
CD 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
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
gdzie
[hl7:name/@code='TRREC']
CR 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:name
CV 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F TRREC
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.13.5.1 (Polskie klasyfikatory HL7 v3)
@codeSystemName
1 .. 1 F PolskieKlasyfikatoryHL7v3
@displayName
1 .. 1 F Tryb realizacji recepty
hl7:value
CD 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.8 Tryb realizacji recepty (DYNAMICZNE)
hl7:title
ST 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:effectiveTime
TS 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
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 (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F N
@codeSystem
1 .. 1 F 2.16.840.1.113883.5.25
hl7:languageCode
CS 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@code
1 .. 1 F pl-PL
hl7:setId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:versionNumber
INT 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@value
int 1 .. 1 F 1
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.23 [2] Dane pacjenta dla dokumentu recepty (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:recordTarget
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F RCT
@contextControlCode
0 .. 1 F OP
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.23
hl7:patientRole
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F PAT
hl7:id
II 1 .. * M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
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.
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 1 .. 1
hl7:addr
1 .. 1 (plCdaReimbursementConformantDrugPrescription)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:postalCode
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:streetName
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:houseNumber
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitID
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitType
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:censusTract
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Schematron report rola  error
test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))
Komunikat Dla polskiego adresu wymagane jest podanie kodu pocztowego.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)
Komunikat Dla polskiego adresu wymagane jest podanie miasta.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)
Komunikat Dla polskiego adresu wymagane jest podanie numeru domu.
Schematron assert rola  error
test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')
Komunikat Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
Schematron report rola  error
test @nullFlavor and count(./*) > 1
Komunikat Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.
hl7:telecom
TEL 0 .. 1 R (plCdaReimbursementConformantDrugPrescription)
hl7:patient
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F PSN
@determinerCode
0 .. 1 F INSTANCE
hl7:id
II 0 .. * NP (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.2 [7] Nazwisko i imię osoby (bazowy) (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:name
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:prefix
ENXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:given
ENXP 1 .. * R (plCdaReimbursementConformantDrugPrescription)
hl7:family
ENXP 1 .. * R (plCdaReimbursementConformantDrugPrescription)
hl7:administrativeGenderCode
CE 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.1 AdministrativeGender (DYNAMICZNE)
hl7:birthTime
TS.DATE 1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
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 .. * (plCdaReimbursementConformantDrugPrescription)
@classCode
1 .. 1 F GUARD
hl7:id
II 1 .. * (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
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.
hl7:code
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@codeSystem
1 .. 1 F 2.16.840.1.113883.5.111
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 0 .. 1
hl7:addr
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:postalCode
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:streetName
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:houseNumber
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitID
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitType
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:censusTract
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Schematron report rola  error
test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))
Komunikat Dla polskiego adresu wymagane jest podanie kodu pocztowego.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)
Komunikat Dla polskiego adresu wymagane jest podanie miasta.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)
Komunikat Dla polskiego adresu wymagane jest podanie numeru domu.
Schematron assert rola  error
test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')
Komunikat Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
Schematron report rola  error
test @nullFlavor and count(./*) > 1
Komunikat Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.
Wybór min 1 element(ów) oraz max 1 element(ów). Elementy do wyboru z:
  • hl7:guardianPerson zawierający hl7:templateId z szablonu [2] Osoba (bazowy) (DYNAMICZNE)
  • hl7:guardianOrganization zawierający hl7:templateId z szablonu [2] Organizacja (bazowy) (DYNAMICZNE)
hl7:guardianPerson
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.1']
(plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
hl7:guardianOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
(plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
extPL:multipleBirthInd
BL 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
extPL:multipleBirthOrderNumber
INT.POS 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
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
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.79 [2] Autor dokumentu recepty spełniającej warunki związane z refundacją (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:author
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F AUT
@contextControlCode
0 .. 1 F OP
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.79
hl7:functionCode
CE 1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
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 (plCdaReimbursementConformantDrugPrescription)
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 (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F ASSIGNED
Wybór min 1 element(ów) oraz max 1 element(ów). 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 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.1.6.1
@extension
st 1 .. 1  
hl7:id
II 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.1.6.2
@extension
st 1 .. 1  
hl7:id
II 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.1.6.3
@extension
st 1 .. 1  
Wybór min 0 element(ów) oraz max 1 element(ów). 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
gdzie
[@codeSystem='2.16.840.1.113883.3.4424.11.3.3']
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.3.4424.13.11.21 Specjalność lekarza (DYNAMICZNE)
hl7:code
gdzie
[@codeSystem='2.16.840.1.113883.3.4424.11.3.3.1']
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@code
cs 1 .. 1  
@displayName
st 1 .. 1  
@codeSystem
1 .. 1 F 2.16.840.1.113883.3.4424.11.3.3.1
hl7:addr
AD 0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:telecom
TEL 0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:assignedPerson
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.1']
1 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
Wybór min 1 element(ów) oraz max 1 element(ów). Elementy do wyboru z:
  • hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.15'] zawierający hl7:templateId z szablonu [2] Praktyka medyczna (bazowy) (DYNAMICZNE)
  • hl7:representedOrganization[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.17'] zawierający hl7:templateId z szablonu [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 hl7:templateId z szablonu [2] Komórka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE)
hl7:representedOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.15']
0 .. 1 R (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.15 [2] Praktyka medyczna (bazowy) (DYNAMICZNE)
hl7:representedOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.17']
0 .. 1 R (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.17 [2] Jednostka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE)
hl7:representedOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.18']
0 .. 1 R (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.18 [2] Komórka podmiotu wykonującego działalność leczniczą (bazowy) (DYNAMICZNE)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.44 [2] Dane umowy związanej z refundacją (DYNAMICZNE) 0 .. 1
extPL:boundedBy
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@typeCode
cs 1 .. 1 F PART
extPL:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.44
extPL:reimbursementRelatedContract
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
cs 1 .. 1 F CNTRCT
@moodCode
cs 1 .. 1 F EVN
Wybór min 1 element(ów) oraz max 1 element(ów). Elementy do wyboru z:
  • 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 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.1
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.2
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.3
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.4
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.5
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.6
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.7
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.8
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.9
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.10
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.11
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.12
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.13
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.14
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.15
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.1.16
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.1
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.2
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.3
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.4
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.5
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.6
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.7
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.8
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.9
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.10
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.11
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.12
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.13
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.14
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.15
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.2.16
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.1
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.2
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.3
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.4
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.5
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.6
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.7
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.8
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.9
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.10
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.11
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.12
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.13
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.14
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.15
@extension
st 1 .. 1  
extPL:id
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.8.6.3.16
@extension
st 1 .. 1  
extPL:code
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
extPL:bounding
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
cs 1 .. 1 F PART
extPL:reimburser
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
cs 1 .. 1 F UNDWRT
extPL:id
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.3.1
@extension
st 1 .. 1  
Schematron report rola  error
test (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.2' and not(hl7:functionCode/@code=('LEK','LEKD','FEL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.3' and not(hl7:functionCode/@code=('PIEL','POL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.1' and not(hl7:functionCode/@code=('FARM'))) or (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
hl7:dataEnterer
NP (plCdaReimbursementConformantDrugPrescription)
hl7:informant
NP (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.20 [2] Organizacja odpowiedzialna za dokument dla P1 (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:custodian
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F CST
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.20
hl7:assignedCustodian
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F ASSIGNED
hl7:representedCustodianOrganization
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F ORG
@determinerCode
0 .. 1 F INSTANCE
hl7:id
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 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  
hl7:name
ON 0 .. * NP (plCdaReimbursementConformantDrugPrescription)
hl7:telecom
TEL 0 .. * NP (plCdaReimbursementConformantDrugPrescription)
hl7:addr
AD 0 .. * NP (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.61 [2] Odbiorca informacji (bazowy) (DYNAMICZNE) 0 .. *
hl7:informationRecipient
0 .. * (plCdaReimbursementConformantDrugPrescription)
@typeCode
cs 1 .. 1  
  CONF
Wartość @typeCode musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.19366 x_InformationRecipient (DYNAMICZNE)
hl7:intendedRecipient
1 .. 1 (plCdaReimbursementConformantDrugPrescription)
@classCode
cs 1 .. 1  
  CONF
@classCode musi mieć wartość "ASSIGNED"
hl7:id
II 0 .. * R (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 0 .. *
hl7:addr
0 .. * (plCdaReimbursementConformantDrugPrescription)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:postalCode
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:streetName
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:houseNumber
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitID
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitType
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:censusTract
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Schematron report rola  error
test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))
Komunikat Dla polskiego adresu wymagane jest podanie kodu pocztowego.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)
Komunikat Dla polskiego adresu wymagane jest podanie miasta.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)
Komunikat Dla polskiego adresu wymagane jest podanie numeru domu.
Schematron assert rola  error
test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')
Komunikat Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
Schematron report rola  error
test @nullFlavor and count(./*) > 1
Komunikat Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.
hl7:telecom
TEL 0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:informationRecipient
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.1']
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
hl7:receivedOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.6 [2] Wystawca dokumentu (bazowy) (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:legalAuthenticator
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F LA
@contextControlCode
0 .. 1 F OP
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.6
hl7:time
TS 1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
hl7:signatureCode
CS 1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.10282 ParticipationSignature (DYNAMICZNE)
hl7:assignedEntity
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F ASSIGNED
hl7:id
II 1 .. * M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
hl7:code
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 0 .. *
hl7:addr
0 .. * (plCdaReimbursementConformantDrugPrescription)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:postalCode
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:streetName
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:houseNumber
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitID
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:unitType
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
hl7:censusTract
ADXP 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Schematron report rola  error
test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))
Komunikat Dla polskiego adresu wymagane jest podanie kodu pocztowego.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)
Komunikat Dla polskiego adresu wymagane jest podanie miasta.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)
Komunikat Dla polskiego adresu wymagane jest podanie numeru domu.
Schematron assert rola  error
test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')
Komunikat Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
Schematron report rola  error
test @nullFlavor and count(./*) > 1
Komunikat Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.
hl7:telecom
TEL 0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:assignedPerson
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.1']
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
hl7:representedOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
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 (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.19 [2] Dane ubezpieczyciela (bazowy) (DYNAMICZNE) 0 .. 1
hl7:participant
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@typeCode
cs 1 .. 1 F IND
@contextControlCode
0 .. 1 F OP
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.19
hl7:associatedEntity
1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
@classCode
cs 1 .. 1 F UNDWRT
Wybór min 1 element(ów) oraz max 1 element(ów). 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 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.3.1
@extension
st 1 .. 1  
hl7:id
II 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.11.1.49
@extension
st 1 .. 1  
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.53 [2] Dane zlecenia (bazowy) (DYNAMICZNE) 0 .. *
hl7:inFulfillmentOf
0 .. * (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F FLFS
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.53
hl7:order
1 .. 1 (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F ACT
@moodCode
1 .. 1 F RQO
hl7:id
II 1 .. * M (plCdaReimbursementConformantDrugPrescription)
hl7:code
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@codeSystem
1 .. 1 F 2.16.840.1.113883.5.4
hl7:priorityCode
CE 0 .. 1 (plCdaReimbursementConformantDrugPrescription)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.16866 ActPriority (DYNAMICZNE)
hl7:documentationOf
NP (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.83 [2] Dokument powiązany dla dokumentu recepty (DYNAMICZNE) 0 .. 1
hl7:relatedDocument
0 .. 1 (plCdaReimbursementConformantDrugPrescription)
@typeCode
cs 1 .. 1 F RPLC
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.83
hl7:parentDocument
1 .. 1 R (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F DOCCLIN
@moodCode
0 .. 1 F EVN
hl7:id
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:setId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
hl7:versionNumber
INT 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
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 (plCdaReimbursementConformantDrugPrescription)
hl7:componentOf
NP (plCdaReimbursementConformantDrugPrescription)
Dołączony z 2.16.840.1.113883.3.4424.13.10.2.25 [2] Treść dokumentu recepty (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:component
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@typeCode
0 .. 1 F COMP
@contextConductionInd
bl 0 .. 1  
hl7:templateId
II 1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.25
hl7:structuredBody
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
@classCode
0 .. 1 F DOCBODY
@moodCode
0 .. 1 F EVN
hl7:component
gdzie
[hl7:section [hl7:code [(@code='57828-6' and @codeSystem='2.16.840.1.113883.6.1')]]]
1 .. 1 M (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.3.4 [3] Sekcja zalecenia leku (DYNAMICZNE)
hl7:component
gdzie
[hl7:section [hl7:code [(@code='48768-6' and @codeSystem='2.16.840.1.113883.6.1')]]]
0 .. * R (plCdaReimbursementConformantDrugPrescription)
Zawiera 2.16.840.1.113883.3.4424.13.10.3.69 [3] Sekcja danych ubezpieczeniowych (DYNAMICZNE)
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.3.13
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.3.6
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.3.8
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.3.23
hl7:component
gdzie
[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']
0 .. * (plCdaReimbursementConformantDrugPrescription)
hl7:section
(plCdaReimbursementConformantDrugPrescription)
hl7:templateId
(plCdaReimbursementConformantDrugPrescription)
@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.2.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 count(//extPL:coveragePlan/extPL:code/hl7:qualifier[hl7:name/@code='RLPO' and hl7:value/@code])>0 and not(//hl7:participant[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.19'])
Komunikat Wymagane jest podanie danych oddziału NFZ jeżeli na dokumencie recepty znajdują się leki z określonym poziomem refundacji
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.