hl7:comp waar [@xsi:type='SXPR_TS'] [count(hl7:comp [@operator='A'])=0]
SXPR_TS
.. 1
Toediening op vaste tijden (per dag)
(SubstanceAdministrationComponent)
@operator
1 .. 1
F
A
Voorbeeld
<compxsi:type="SXPR_TS"operator="A">
<compxsi:type="PIVL_TS">
<phase>
<centervalue="{eerste tijdstip}"/>
</phase>
<periodvalue="1"unit="d"/>
</comp>
<compxsi:type="PIVL_TS"operator="I">
<phase>
<centervalue="{tweede tijdstip}"/>
</phase>
<periodvalue="1"unit="d"/>
</comp>
<!-- etc. -->
</comp>
hl7:comp waar [@xsi:type='PIVL_TS'] [not(@operator)]
PIVL_TS
1 .. 1
(SubstanceAdministrationComponent)
hl7:phase
IVL_TS
1 .. 1
(SubstanceAdministrationComponent)
hl7:period
PQ
1 .. 1
(SubstanceAdministrationComponent)
@value
1 .. 1
F
1
CONF
unit is "d"
hl7:comp waar [@xsi:type='PIVL_TS'] [@operator='I']
PIVL_TS
1 .. 1
(SubstanceAdministrationComponent)
@operator
1 .. 1
F
I
hl7:phase
IVL_TS
1 .. 1
(SubstanceAdministrationComponent)
hl7:period
PQ
1 .. 1
(SubstanceAdministrationComponent)
@value
1 .. 1
F
1
CONF
unit is "d"
hl7:comp waar [@xsi:type='SXPR_TS'] [hl7:comp [@operator='A']]
SXPR_TS
.. 2
Toediening volgens cyclisch schema
(SubstanceAdministrationComponent)
Keuze max 1 element(en). Elementen om uit te kiezen:
hl7:comp[@xsi:type='IVL_TS'][hl7:width]
hl7:comp[@xsi:type='IVL_TS'][hl7:high]
hl7:comp waar [@xsi:type='IVL_TS'] [hl7:width]
IVL_TS
.. 1
(SubstanceAdministrationComponent)
hl7:low
TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:width
TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:comp waar [@xsi:type='IVL_TS'] [hl7:high]
IVL_TS
.. 1
Ambulante medicatie
(SubstanceAdministrationComponent)
hl7:low
TS
1 .. 1
(SubstanceAdministrationComponent)
hl7:high
TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:comp
PIVL_TS
0 .. *
(SubstanceAdministrationComponent)
@operator
1 .. 1
F
A
hl7:phase
IVL_TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:period
PQ
1 .. 1
(SubstanceAdministrationComponent)
hl7:effectiveTime waar [@xsi:type='IVL_TS']
IVL_TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:effectiveTime waar [@xsi:type='PIVL_TS']
PIVL_TS
0 .. 1
(SubstanceAdministrationComponent)
hl7:routeCode
CE
0 .. 1
(SubstanceAdministrationComponent)
@displayName
1 .. 1
@codeSystem
1 .. 1
F
2.16.840.1.113883.2.4.4.9
hl7:translation
NP
(SubstanceAdministrationComponent)
hl7:doseQuantity
IVL_PQ
0 .. 1
(SubstanceAdministrationComponent)
Schematron assert
role
error
test
(count(*//hl7:translation)=1 and *//hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.900.2'])
or (count(*//hl7:translation)=2 and *//hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.900.2']
and *//hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.361'])
Melding
Doseerhoeveelheid MOET een vertaling hebben naar G-Standaard basiseenheden tabel 2
en mag
ook een vertaling hebben naar Tabel 25 eenheden gebruiksadvies
Schematron assert
role
error
test
not(hl7:translation/@codeSystem) or hl7:translation/@displayName
Melding
In translation elementen MOET @displayName een waarde hebben als er een code is
Schematron assert
role
error
test
not(hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.900.2']) or hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.900.2'
and @value=../@value]
Melding
translation/@value in G-Standaard basiseenheden tabel 2 MOET gelijk zijn aan doseQuantity/@value
Schematron assert
role
error
test
not(hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.361' and @code='10' and
not(@value=../@value div 15)])
Melding
Als NHG Tabel 25 code '10' is, dan MOET value in Tabel 25 vertaling gelijk zijn aan
doseQuantity/@value / 15
Schematron assert
role
error
test
not(hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.361' and @code='11' and
not(@value=../@value div 8)])
Melding
Als NHG Tabel 25 code '11' is, dan MOET value in Tabel 25 vertaling gelijk zijn aan
doseQuantity/@value / 8
Schematron assert
role
error
test
not(hl7:translation[@codeSystem='2.16.840.1.113883.2.4.4.1.361' and @code='14' and
not(@value=../@value div 3)])
Melding
Als NHG Tabel 25 code '14' is, dan MOET value in Tabel 25 vertaling gelijk zijn aan
doseQuantity/@value / 3