@classCode
|
|
0 … 1 |
F |
PLC |
@determinerCode
|
|
0 … 1 |
F |
INSTANCE |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plCred) |
@root
|
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.4.27 |
hl7:name
|
EN |
0 … 1 |
|
|
(plCred) |
Dołączony |
0 … 1 |
|
z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE)
|
hl7:addr
|
|
0 … 1 |
|
|
(plCred) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:country
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:postalCode
|
|
0 … 1 |
|
|
(plCred) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:city
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:streetName
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:unitID
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:unitType
|
ADXP |
0 … 1 |
|
|
(plCred) |
hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(plCred) |
|
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. |
|