@typeCode
|
cs |
1 … 1 |
R |
|
|
CONF |
The value of @typeCode shall be drawn from value set ParticipationType ParticipationType (DYNAMIC)
|
|
@contextControlCode
|
|
1 … 1 |
F |
OP |
hl7:templateId
|
|
1 … 1 |
M |
|
(plC ant) |
@root
|
oid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.4.19 |
hl7:time
|
IVL_TS |
0 … 1 |
|
|
(plC ant) |
hl7:awarenessCode
|
CE |
0 … 1 |
|
|
(plC ant) |
|
CONF |
The value of @code shall be drawn from value set TargetAwareness TargetAwareness (DYNAMIC)
|
|
hl7:participantRole
|
|
1 … 1 |
|
|
(plC ant) |
@classCode
|
|
0 … 1 |
F |
ROL |
hl7:id
|
II |
0 … * |
|
|
(plC ant) |
hl7:code
|
CE |
0 … 1 |
|
|
(plC ant) |
@codeSystem
|
CONF |
0 … 1 |
F |
2.16.840.1.113883.5.111 |
Included |
0 … * |
|
from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
|
hl7:addr
|
|
0 … * |
|
|
(plC ant) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:country
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:postalCode
|
|
0 … 1 |
|
|
(plC ant) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:city
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:streetName
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:unitID
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:unitType
|
ADXP |
0 … 1 |
|
|
(plC ant) |
hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(plC ant) |
|
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 … * |
|
|
(plC ant) |
Choice |
0 … 1 |
|
Elements to choose from:
|
hl7:playingDevice
|
|
|
|
Contains 2.16.840.1.113883.3.4424.13.10.4.25 [4] Urządzenie (bazowy) (DYNAMIC)
|
(plC ant) |
 |
 |
where [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.4.25']] |
|
|
hl7:playingEntity
|
|
|
|
Contains 2.16.840.1.113883.3.4424.13.10.4.26 [4] Podmiot (DYNAMIC)
|
(plC ant) |
 |
 |
where [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.4.26']] |
|
|
hl7:scopingEntity
|
|
0 … 1 |
|
|
(plC ant) |
@classCode
|
|
0 … 1 |
F |
ENT |
@determinerCode
|
|
0 … 1 |
F |
INSTANCE |
hl7:id
|
II |
0 … * |
|
|
(plC ant) |
hl7:code
|
CE |
0 … 1 |
|
|
(plC ant) |
|
CONF |
The value of @code shall be drawn from value set EntityCode EntityCode (DYNAMIC)
|
|
hl7:desc
|
ED |
0 … 1 |
|
|
(plC ant) |