@classCode
|
cs |
1 … 1 |
F |
PAT |
hl7:id
|
II |
1 … 1 |
M |
|
(Patient) |
gdzie [@root='2.16.840.1.113883.2.48.3.4.1.3'] |
|
|
@root
|
oid |
1 … 1 |
F |
2.16.840.1.113883.2.48.3.4.1.3 |
@extension
|
st |
1 … 1 |
R |
|
hl7:id
|
II |
0 … * |
|
|
(Patient) |
gdzie [not(@root='2.16.840.1.113883.2.48.3.4.1.3')] |
|
|
@root
|
oid |
1 … 1 |
R |
|
@extension
|
st |
1 … 1 |
R |
|
Dołączony |
0 … * |
|
z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE)
|
hl7:hl7:addr
|
|
0 … * |
|
|
(Patient) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:hl7:country
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:postalCode
|
|
0 … 1 |
|
|
(Patient) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:hl7:city
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:streetName
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:unitID
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:unitType
|
ADXP |
0 … 1 |
|
|
(Patient) |
hl7:hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(Patient) |
|
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 … * |
|
|
(Patient) |
hl7:statusCode
|
CS |
1 … 1 |
R |
|
(Patient) |
@code
|
CONF |
0 … 1 |
F |
active |
hl7:confidentialityCode
|
CE |
0 … * |
|
|
(Patient) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości Confidentiality Confidentiality (DYNAMICZNE)
|
|
hl7:veryImportantPersonCode
|
CE |
0 … 1 |
|
|
(Patient) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości PatientImportance PatientImportance (DYNAMICZNE)
|
|
hl7:patientPerson
|
|
1 … 1 |
M |
Zawiera 2.16.840.1.113883.2.48.7.1.4.10.59 Person (DYNAMICZNE)
|
(Patient) |
gdzie [@classCode='PSN'] [not(@nullFlavor)] |
|
|
hl7:providerOrganization
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.2.48.7.1.4.10.7 ProviderOrganization (DYNAMICZNE)
|
(Patient) |
|
|
hl7:subjectOf1
|
|
1 … * |
R |
Zawiera 2.16.840.1.113883.2.48.7.1.4.10.84 PatientSubject (DYNAMICZNE)
|
(Patient) |