@typeCode
|
|
0 … 1 |
F |
AUT |
@contextControlCode
|
|
0 … 1 |
F |
OP |
hl7:templateId
|
|
1 … 1 |
M |
|
(plChor) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.4.78 |
hl7:functionCode
|
CE |
0 … 1 |
|
|
(plChor) |
|
CONF |
|
hl7:time
|
TS |
1 … 1 |
R |
|
(plChor) |
hl7:assignedAuthor
|
|
1 … 1 |
|
|
(plChor) |
@classCode
|
|
0 … 1 |
F |
ASSIGNED |
Wybór |
1 … 1 |
|
Elementy do wyboru z:
- hl7:id[@root='2.16.840.1.113883.3.4424.1.6.1']
- hl7:id[@root='2.16.840.1.113883.3.4424.1.6.2']
- hl7:id[@root='2.16.840.1.113883.3.4424.1.6.3']
|
hl7:id
|
II |
0 … 1 |
|
|
(plChor) |
|
|
gdzie [@root='2.16.840.1.113883.3.4424.1.6.1'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.1.6.1 |
@extension
|
st |
1 … 1 |
R |
|
hl7:id
|
II |
0 … 1 |
|
|
(plChor) |
|
|
gdzie [@root='2.16.840.1.113883.3.4424.1.6.2'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.1.6.2 |
@extension
|
st |
1 … 1 |
R |
|
hl7:id
|
II |
0 … 1 |
|
|
(plChor) |
|
|
gdzie [@root='2.16.840.1.113883.3.4424.1.6.3'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.1.6.3 |
@extension
|
st |
1 … 1 |
R |
|
hl7:code
|
CE |
0 … 1 |
|
|
(plChor) |
@codeSystem
|
CONF |
0 … 1 |
F |
2.16.840.1.113883.5.111 |
Dołączony |
0 … * |
|
z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE)
|
hl7:addr
|
|
0 … * |
|
|
(plChor) |
@nullFlavor
|
cs |
0 … 1 |
F |
UNK |
hl7:country
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:postalCode
|
|
0 … 1 |
|
|
(plChor) |
@xsi:type
|
|
0 … 1 |
F |
extPL:adxp |
@postCity
|
st |
0 … 1 |
|
|
hl7:city
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:streetName
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:houseNumber
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:unitID
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:unitType
|
ADXP |
0 … 1 |
|
|
(plChor) |
hl7:censusTract
|
ADXP |
0 … 1 |
|
|
(plChor) |
|
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 … * |
|
|
(plChor) |
hl7:assignedPerson
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
|
(plChor) |
|
gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']] |
|
|
hl7:representedOrganization
|
|
0 … 1 |
|
|
(plChor) |
hl7:id
|
II |
1 … 1 |
M |
|
(plChor) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.2.2.1 |
@extension
|
st |
1 … 1 |
R |
|
|
Schematron report |
rola |
error
|
|
|
test |
//hl7:act[hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.67']]/ hl7:entryRelationship/hl7:observation[hl7:code[@code='RLPO']]/hl7:value/@code!='100%'
and not(/hl7:ClinicalDocument[hl7:code[hl7:translation[hl7:qualifier[hl7:name/@code='RRECP']/hl7:value/@code=('PA','PF')]]])
and not(hl7:representedOrganization)
|
|
|
Komunikat |
Jeżeli realizacja dotyczy recepty refundowanej i nie jest to recepta pro auctore lub
pro familiae to wymagane jest podanie REGONU instytucji wystawiającej receptę.
|
|