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 |
R |
|
(plCion) |
|
gdzie [@root='2.16.840.1.113883.3.4424.13.10.1.7'] |
|
|
@root
|
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.1.7 |
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 |
|
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) |
@code
|
CONF |
1 … 1 |
F |
Rp |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.11.1.25 |
@codeSystemName
|
1 … 1 |
F |
PolskieKlasyfikatoryHL7v3 |
hl7:qualifier
|
CR |
1 … 1 |
M |
|
(plCion) |
|
|
|
gdzie [hl7:name/@code='RLEK'] |
|
|
hl7:name
|
CV |
1 … 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) |
@code
|
CONF |
1 … 1 |
F |
G |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.5.1 |
@codeSystemName
|
1 … 1 |
F |
PolskieKlasyfikatoryHL7v3 |
@displayName
|
1 … 1 |
F |
Lek gotowy |
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) |
@code
|
CONF |
1 … 1 |
F |
F |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.5.1 |
@codeSystemName
|
1 … 1 |
F |
PolskieKlasyfikatoryHL7v3 |
@displayName
|
1 … 1 |
F |
Farmaceutyczna |
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 |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.5.1 |
@codeSystemName
|
1 … 1 |
F |
PolskieKlasyfikatoryHL7v3 |
@displayName
|
1 … 1 |
F |
Zwykły |
hl7:title
|
ST |
1 … 1 |
M |
|
(plCion) |
|
CONF |
zawartość elementu musi być "Recepta" |
|
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 |
|
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 |
|
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
|
|
|
|
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.81 [2] Autor dokumentu recepty farmaceutycznej (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.81 |
hl7:functionCode
|
CE |
1 … 1 |
R |
|
(plCion) |
@code
|
CONF |
0 … 1 |
F |
FARM |
@codeSystem
|
0 … 1 |
F |
2.16.840.1.113883.3.4424.11.3.18 |
@codeSystemName
|
0 … 1 |
F |
ZAWODY_MED |
@displayName
|
0 … 1 |
F |
Farmaceuta |
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 |
R |
|
(plCion) |
@classCode
|
|
0 … 1 |
F |
ASSIGNED |
hl7:id
|
II |
1 … * |
M |
|
(plCion) |
@extension
|
st |
1 … 1 |
R |
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.1.6.1 |
hl7:addr
|
AD |
0 … * |
|
|
(plCion) |
hl7:telecom
|
TEL |
0 … * |
|
|
(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']] |
|
|
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: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 |
|
(plCion) |
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 |
|
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 |
|
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) |
hl7:participant
|
|
|
NP |
|
(plCion) |
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 |
|
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. |
|