hl7:authenticator
|
|
0 … 1 |
|
|
(plCtor) |
@typeCode
|
|
0 … 1 |
F |
LA |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plCtor) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.2.85 |
hl7:time
|
TS |
1 … 1 |
R |
|
(plCtor) |
hl7:signatureCode
|
CS |
1 … 1 |
R |
|
(plCtor) |
|
CONF |
|
hl7:assignedEntity
|
|
1 … 1 |
M |
|
(plCtor) |
@classCode
|
|
0 … 1 |
F |
ASSIGNED |
hl7:id
|
II |
1 … * |
M |
|
(plCtor) |
@root
|
uid |
1 … 1 |
R |
|
@extension
|
st |
1 … 1 |
R |
|
hl7:code
|
CE |
0 … 1 |
|
|
(plCtor) |
Dołączony |
0 … * |
|
z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE)
|
hl7:addr
|
|
0 … * |
|
|
(plCtor) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:country
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:postalCode
|
|
0 … 1 |
|
|
(plCtor) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:city
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:streetName
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:unitID
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:unitType
|
ADXP |
0 … 1 |
|
|
(plCtor) |
hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(plCtor) |
|
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 … * |
|
|
(plCtor) |
hl7:assignedPerson
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
|
(plCtor) |
|
|
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)
|
(plCtor) |
|
|
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 osoba autoryzująca dokument jest również jego autorem to identyfikator
osoby autoryzującej musi być taki sam jak identyfikator autora. W przeciwnym
wypadku należy podać dane personalne osoby autoryzującej dokument. |
|