@nullFlavor
|
cs |
0 … 1 |
|
|
@classCode
|
cs |
1 … 1 |
F |
PSN |
@determinerCode
|
cs |
1 … 1 |
F |
INSTANCE |
hl7:name
|
PN |
1 … * |
R |
|
(Add son) |
hl7:telecom
|
TEL |
0 … * |
|
|
(Add son) |
hl7:administrativeGenderCode
|
CE |
0 … 1 |
|
|
(Add son) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości AdministrativeGender AdministrativeGender (DYNAMICZNE)
|
|
hl7:birthTime
|
TS |
0 … 1 |
|
|
(Add son) |
hl7:deceasedInd
|
BL |
0 … 1 |
|
|
(Add son) |
hl7:deceasedTime
|
TS |
0 … 1 |
|
|
(Add son) |
hl7:multipleBirthInd
|
BL |
0 … 1 |
|
|
(Add son) |
hl7:multipleBirthOrderNumber
|
INT |
0 … 1 |
|
|
(Add son) |
Dołączony |
0 … * |
|
z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE)
|
hl7:hl7:addr
|
|
0 … * |
|
|
(Add son) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:hl7:country
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:postalCode
|
|
0 … 1 |
|
|
(Add son) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:hl7:city
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:streetName
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:unitID
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:unitType
|
ADXP |
0 … 1 |
|
|
(Add son) |
hl7:hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(Add son) |
|
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:maritalStatusCode
|
CE |
0 … 1 |
|
|
(Add son) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości MaritalStatus MaritalStatus (DYNAMICZNE)
|
|
hl7:religiousAffiliationCode
|
CE |
0 … 1 |
|
|
(Add son) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości ReligiousAffiliation ReligiousAffiliation (DYNAMICZNE)
|
|
hl7:raceCode
|
CE |
0 … * |
|
|
(Add son) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości Race Race (DYNAMICZNE)
|
|
hl7:ethnicGroupCode
|
CE |
0 … * |
|
|
(Add son) |
|
CONF |
Wartość @code musi pochodzić ze zbioru wartości Ethnicity Ethnicity (DYNAMICZNE)
|
|
hl7:asEmployee
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.93 Employee (DYNAMICZNE)
|
(Add son) |
|
|
hl7:asCitizen
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.18 Citizen (DYNAMICZNE)
|
(Add son) |
gdzie [hl7:politicalNation [hl7:code [concat(@code,@codeSystem)=doc('include/voc-2.16.840.1.113883.1.11.19749-DYNAMIC.xml')//valueSet
[1]/conceptList/concept/concat(@code,@codeSystem)]]] |
|
|
hl7:asOtherIDs
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.20 OtherIDs (DYNAMICZNE)
|
(Add son) |
|
|
hl7:personalRelationship
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.21 PersonalRelationship (DYNAMICZNE)
|
(Add son) |
gdzie [@classCode='PRS'] [hl7:code [concat(@code,@codeSystem)=doc('include/voc-2.16.840.1.113883.1.11.19563-DYNAMIC.xml')//valueSet
[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor]] |
|
|
hl7:birthPlace
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.31 Birthplace (DYNAMICZNE)
|
(Add son) |
gdzie [@classCode='BIRTHPL'] |
|
|
hl7:languageCommunication
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.2.48.7.1.3.10.36 LanguageCommunication (DYNAMICZNE)
|
(Add son) |
gdzie [hl7:languageCode [@codeSystem=doc('include/voc-2.16.840.1.113883.1.11.11526-DYNAMIC.xml')//valueSet
[1]/completeCodeSystem/@codeSystem or @nullFlavor]] |
|
|