Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Medication element <beginmoment>

...

This is the date from when the medication should be suspended.

In the next example, the medication should not be taken anymore starting from the 1th of august 2030: 

Code Block
languagexml
titleExample
linenumberstrue
...
<transaction>
	<id S="ID-KMEHR" SV="1.0">46</id>
	...
	<cd S="CD-TRANSACTION" SV="1.11">medicationschemeelement</cd>
	...
</transaction>
...
<transaction>
	<id S="ID-KMEHR" SV="1.0">49</id>
	...
	<cd S="CD-TRANSACTION" SV="1.11">treatmentsuspension</cd>
	...
	<item>
		...
		<beginmoment>
        	<date>2030-08-01</date>
        </beginmoment>
		...
		<lnk TYPE="isplannedfor" URL="//kmehr:transaction[id[@S='ID-KMEHR']='46']"/>
	</item>
	...
</transaction>
...
Medication element <endmoment>

This is the date until which the medication should be suspended.

In the next example, the medication can be taken again earliest starting from the 1th of july 2030: 

Code Block
languagexml
titleExample
linenumberstrue
...
<transaction>
	<id S="ID-KMEHR" SV="1.0">46</id>
	...
	<cd S="CD-TRANSACTION" SV="1.11">medicationschemeelement</cd>
	...
</transaction>
...
<transaction>
	<id S="ID-KMEHR" SV="1.0">49</id>
	...
	<cd S="CD-TRANSACTION" SV="1.11">treatmentsuspension</cd>
	...
	<item>
		...
		<beginmoment>
        	<date>2000-01-01</date>
        </beginmoment>
		<endmoment>
        	<date>2030-06-30</date>
        </endmoment>
		...
		<lnk TYPE="isplannedfor" URL="//kmehr:transaction[id[@S='ID-KMEHR']='46']"/>
	</item>
	...
</transaction>
...
Medication element <duration>

...