hl7:author
|
|
1 … * |
M |
|
(plC hor) |
@typeCode
|
|
0 … 1 |
F |
AUT |
@contextControlCode
|
|
0 … 1 |
F |
OP |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plC hor) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.2.84 |
hl7:functionCode
|
CE |
1 … 1 |
R |
|
(plC hor) |
| |
CONF |
|
hl7:time
|
TS |
1 … 1 |
M |
|
(plC hor) |
| |
Schematron assert |
rola |
error
|
|
| |
test |
(@value=/hl7:ClinicalDocument/hl7:legalAuthenticator/hl7:time/@value) or (@value=/hl7:ClinicalDocument/hl7:authenticator/hl7:time/@value) |
|
| |
Komunikat |
Data utworzenia dokumentu powinna być taka sama jak data wystawienia lub autoryzacji
dokumentu. |
|
hl7:assignedAuthor
|
|
1 … 1 |
R |
|
(plC hor) |
@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.1.616']
|
hl7:id
|
II |
0 … 1 |
|
|
(plC hor) |
 |
 |
 |
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 |
|
|
(plC hor) |
 |
 |
 |
gdzie [@root='2.16.840.1.113883.3.4424.1.1.616'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.1.1.616 |
@extension
|
st |
1 … 1 |
R |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
@root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$')) |
|
| |
Komunikat |
Jeżeli identyfikatorem jest numer PESEL, to musi zawierać 11 cyfr. |
|
hl7:addr
|
AD |
0 … * |
|
|
(plC hor) |
hl7:telecom
|
TEL |
0 … * |
|
|
(plC hor) |
hl7:assignedPerson
|
|
1 … 1 |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
|
(plC hor) |
 |
 |
gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']] |
|
|
hl7:representedOrganization
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.2.31 [2] Apteka (bazowy) (DYNAMICZNE)
|
(plC hor) |
 |
 |
gdzie [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.31']] |
|
|
| Dołączony |
0 … 1 |
|
z 2.16.840.1.113883.3.4424.13.10.2.44 [2] Dane umowy związanej z refundacją (DYNAMICZNE)
|
extPL:boundedBy
|
|
0 … 1 |
|
|
(plC hor) |
@typeCode
|
cs |
1 … 1 |
F |
PART |
extPL:templateId
|
II |
1 … 1 |
M |
|
(plC hor) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.2.44 |
extPL:reimbursementRelatedContract
|
|
1 … 1 |
M |
|
(plC hor) |
@classCode
|
cs |
1 … 1 |
F |
CNTRCT |
@moodCode
|
cs |
1 … 1 |
F |
EVN |
extPL:id
|
|
1 … 1 |
R |
|
(plC hor) |
extPL:code
|
|
0 … 1 |
|
|
(plC hor) |
extPL:bounding
|
|
1 … 1 |
M |
|
(plC hor) |
@typeCode
|
cs |
1 … 1 |
F |
PART |
extPL:reimburser
|
|
1 … 1 |
M |
|
(plC hor) |
@classCode
|
cs |
1 … 1 |
F |
UNDWRT |
| Wybór |
1 … 1 |
|
Elementy do wyboru z:
- extPL:id[@root='2.16.840.1.113883.3.4424.3.1']
- extPL:id[@root='1.0.3166.1']
- extPL:id[@root='2.16.840.1.113883.3.4424.11.1.49']
|
extPL:id
|
II |
0 … 1 |
R |
|
(plC hor) |
 |
 |
 |
 |
 |
 |
 |
gdzie [@root='2.16.840.1.113883.3.4424.3.1'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.3.1 |
@extension
|
st |
1 … 1 |
R |
|
extPL:id
|
II |
0 … 1 |
R |
|
(plC hor) |
 |
 |
 |
 |
 |
 |
 |
gdzie [@root='1.0.3166.1'] |
|
|
@root
|
uid |
1 … 1 |
F |
1.0.3166.1 |
@extension
|
st |
1 … 1 |
R |
|
| |
Schematron assert |
rola |
warning
|
|
| |
test |
@extension=('AT','BE','BG','CY','CZ','DK','EE','FI','FR','GR','ES','NL','IS','IE','LI','LT','LU','LF','MT','DE','NO','PT','RO','SK','SI','CH','SE','HU','GB','IT','HR') |
|
| |
Komunikat |
Nieprawidłowy identyfikator instytucji właściwej dla koordynacji |
|
extPL:id
|
II |
0 … 1 |
R |
|
(plC hor) |
 |
 |
 |
 |
 |
 |
 |
gdzie [@root='2.16.840.1.113883.3.4424.11.1.49'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.11.1.49 |
@extension
|
st |
1 … 1 |
R |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
(hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.6.1' and not(hl7:functionCode/@code='FARM'))
or (hl7:assignedAuthor/hl7:id/@root='2.16.840.1.113883.3.4424.1.1.616' and not(hl7:functionCode/@code='TFARM'))
|
|
| |
Komunikat |
Wskazana pula numerów Prawa Wykonywania Zawodu jest nieprawidłowa w stosunku do wskazanego
zawodu autora dokumentu. |
|