hl7:supply
|
|
1 … 1 |
M |
|
(plCtry) |
@classCode
|
cs |
1 … 1 |
F |
SPLY |
@moodCode
|
cs |
1 … 1 |
F |
RQO |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plCtry) |
|
gdzie [@root='2.16.840.1.113883.3.4424.13.10.4.55'] |
|
|
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.4.55 |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plCtry) |
|
gdzie [@root='1.3.6.1.4.1.19376.1.9.1.3.8'] |
|
|
@root
|
uid |
1 … 1 |
F |
1.3.6.1.4.1.19376.1.9.1.3.8 |
hl7:id
|
II |
0 … * |
|
|
(plCtry) |
Wybór |
1 … 1 |
|
Elementy do wyboru z:
- hl7:effectiveTime[@value]
- hl7:effectiveTime[hl7:low/@value and hl7:high/@value]
|
hl7:effectiveTime
|
TS |
0 … 1 |
R |
|
(plCtry) |
|
|
gdzie [@value] |
|
|
|
Przykład |
Data realizacji od <effectiveTime value="20171012"/> |
|
Schematron assert |
rola |
error
|
|
|
test |
/hl7:ClinicalDocument/hl7:effectiveTime/@value <= @value |
|
|
Komunikat |
Data zleconego wydania leku (data realizacji recepty) musi być równa lub późniejsza
od daty wystawienia dokumentu |
|
hl7:effectiveTime
|
IVL_TS |
0 … 1 |
R |
|
(plCtry) |
|
|
gdzie [hl7:low/@value and hl7:high/@value] |
|
|
|
Przykład |
Data realizacji od i data realizacji do (dla recept do realizacji na 365 dni) <effectiveTime xsi:type="IVL_TS"> <low value="20171012"/> <high value="20181012"/></effectiveTime> |
hl7:low
|
TS |
1 … 1 |
M |
|
(plCtry) |
@value
|
ts |
1 … 1 |
R |
|
hl7:high
|
TS |
1 … 1 |
M |
|
(plCtry) |
@value
|
ts |
1 … 1 |
R |
|
hl7:priorityCode
|
CE |
0 … 1 |
|
|
(plCtry) |
@code
|
CONF |
0 … 1 |
F |
UR |
@codeSystem
|
0 … 1 |
F |
2.16.840.1.113883.5.7 |
hl7:independentInd
|
BL |
1 … 1 |
M |
|
(plCtry) |
@value
|
bl |
1 … 1 |
F |
false |
hl7:quantity
|
PQ |
1 … 1 |
M |
|
(plCtry) |
|
Schematron assert |
rola |
error
|
|
|
test |
@value>0 |
|
|
Komunikat |
Atrybut @value (ilość ordynowanego leku) musi być większe od 0. |
|
hl7:product
|
|
0 … 1 |
|
|
(plCtry) |
@typeCode
|
|
0 … 1 |
F |
PRD |
hl7:manufacturedProduct
|
|
1 … 1 |
M |
|
(plCtry) |
@classCode
|
|
0 … 1 |
F |
MANU |
hl7:id
|
II |
0 … * |
|
|
(plCtry) |
hl7:manufacturedLabeledDrug
|
|
1 … 1 |
M |
|
(plCtry) |
@classCode
|
|
0 … 1 |
F |
MMAT |
@determinerCode
|
|
0 … 1 |
F |
KIND |
hl7:code
|
CE |
1 … 1 |
M |
|
(plCtry) |
@codeSystem
|
CONF |
1 … 1 |
F |
1.3.160 |
@codeSystemName
|
1 … 1 |
F |
GS1 |
hl7:entryRelationship
|
|
0 … 1 |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.4.57 [4] Poziom odpłatności leku (DYNAMICZNE)
|
(plCtry) |
|
gdzie [hl7:act/hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.57'] |
|
|
@typeCode
|
|
1 … 1 |
F |
COMP |
hl7:entryRelationship
|
|
0 … * |
|
Zawiera 2.16.840.1.113883.3.4424.13.10.4.80 [4] Potwierdzenie całkowitej dawki substancji czynnej (DYNAMICZNE)
|
(plCtry) |
|
gdzie [hl7:supply/hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.80'] |
|
|
|
Schematron report |
rola |
error
|
|
|
test |
/hl7:ClinicalDocument/hl7:code/hl7:translation/hl7:qualifier[hl7:name/@code='KDLEK']/hl7:value/@code='Rpw'
and not(hl7:entryRelationship[hl7:supply/hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.80'])
|
|
|
Komunikat |
Dla recepty na lek kategorii dostępności Rpw wymagane jest wskazanie całkowitej dawki
substancji czynnej tego leku. |
|