...
Medication element <beginmoment>
Medication element <endmoment>
...
This is the date from when the medication can at the earliest taken.
In the next example, the medication can be taken at the earliest starting from the 1th of september 2030:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
...
<transaction>
<id S="ID-KMEHR" SV="1.0">46</id>
...
<cd S="CD-TRANSACTION" SV="1.11">medicationschemeelement</cd>
...
<item>
...
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<beginmoment>
<date>2030-09-01</date>
</beginmoment>
...
</item>
...
</transaction>
... |
Medication element <endmoment>
This is the date until which the medication can be taken.
In the next example, the medication should not be taken anymore starting from the 1th of november 2030:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
...
<transaction>
<id S="ID-KMEHR" SV="1.0">46</id>
...
<cd S="CD-TRANSACTION" SV="1.11">medicationschemeelement</cd>
...
<item>
...
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<beginmoment>
<date>2000-01-01</date>
</beginmoment>
<endmoment>
<date>2030-10-31</date>
</endmoment>
...
</item>
...
</transaction>
... |
Medication element <duration>
An implicit endmoment can be expressed by defining a duration. This duration defines the period, starting from the beginmoment, during which the medication can be taken.
In the next example, the medication should not be taken anymore starting from the 1th of november 2030:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
... <item> ... <beginmoment> <date>2025<date>2030-0110-15<01</date> </beginmoment> ... <duration> <decimal>4<<decimal>31</decimal> <unit> <cd S="CD-TIMEUNIT" SV="2.1">d</cd> </unit> </duration> ... |
...
Warning | ||
---|---|---|
| ||
The rest of this paragraph is obsolete information. It is not omitted from the documentation in order to preserve the history of its orginal original intention. |
By using a value of the table CD-MS-ADAPTATION it can be indicated where in the kmehr message modifications have been made by the end user.
...