@nullFlavor
|
cs |
0 … 1 |
|
|
@classCode
|
cs |
1 … 1 |
F |
GUAR |
hl7:id
|
II |
0 … * |
|
|
(Per tor) |
Included |
0 … * |
|
from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC) |
hl7:hl7:addr
|
|
0 … * |
|
|
(Per tor) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:hl7:country
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:postalCode
|
|
0 … 1 |
|
|
(Per tor) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:hl7:city
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:streetName
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:unitID
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:unitType
|
ADXP |
0 … 1 |
|
|
(Per tor) |
hl7:hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(Per tor) |
|
Schematron report |
role |
error |
|
|
test |
not(@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 report |
role |
error |
|
|
test |
not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) |
|
|
Message |
Dla polskiego adresu wymagane jest podanie miasta. |
|
|
Schematron report |
role |
error |
|
|
test |
not(@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 assert |
role |
error |
|
|
test |
not(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 report |
role |
error |
|
|
test |
@nullFlavor and count(./*) > 1 |
|
|
Message |
Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu. |
|
hl7:telecom
|
TEL |
0 … * |
|
|
(Per tor) |
hl7:statusCode
|
CS |
0 … 1 |
|
|
(Per tor) |
hl7:effectiveTime
|
IVL_TS |
0 … 1 |
|
|
(Per tor) |
Choice |
|
|
Elements to choose from:
|
hl7:guarantorPerson
|
|
1 … 1 |
R |
Contains 2.16.840.1.113883.2.48.3.5.2.3.10.77 RelatedPerson (DYNAMIC) |
(Per tor) |
hl7:guarantorOrganization
|
|
1 … 1 |
R |
Contains 2.16.840.1.113883.2.48.3.5.2.3.10.67 IdentifierScopingOrganization (DYNAMIC) |
(Per tor) |