Skip to main content

๐Ÿšซ TS-08 - Treatment suspensions

Descriptionโ€‹

See if software in test can handle temporary or definitive suspensions, as stated in MS Cookbook :

Example
...
<!-- The medication that will be suspended temporary or definitively -->
<transaction>
...
<id S="ID-KMEHR" SV="1.0">13</id>
<item>
<id S="ID-KMEHR" SV="1.0">2</id>
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<beginmoment>
<date>2020-05-10</date>
</beginmoment>
<!-- In WG 3/4, definitive suspension will be done by putting endmoment directly on medication -->
<!-- As not in Cookbook yet, a new test will be created to reflect that (to ensure backwards compatibility with old schemes) -->
<!--
<endmoment>
<date>2024-05-10</date>
</endmoment>
-->
</item>
...
</transaction>
<!-- Suspension(s) -->
<transaction>
...
<cd S="CD-TRANSACTION" SV="1.4">treatmentsuspension</cd>
...
<!-- The reason -->
<item>
...
<cd S="CD-ITEM" SV="1.14">transactionreason</cd>
<content>
<text L="nl">Temporary suspension</text>
</content>
</item>
<!-- The medication under suspension -->
<item>
...
<cd S="CD-ITEM" SV="1.4">medication</cd>
...
<!-- When this suspension start -->
<beginmoment>
<date>2022-07-02</date>
</beginmoment>
<!-- Only for temporary suspension, a restart date must be specified -->
<endmoment>
<date>2022-07-03</date>
</endmoment>
<!-- Kind of suspension -->
<lifecycle>
<!-- "suspended" is for temporary suspension -->
<!-- "stopped" is for definitive suspension -->
<cd SV="1.3" S="CD-LIFECYCLE">suspended</cd>
</lifecycle>
...
<!-- Reference to the medication that will be suspended -->
<lnk TYPE="isplannedfor" URL="//transaction[id[@S=&apos;ID-KMEHR&apos;]=&apos;13&apos;]"/>
</item>
</transaction>
...

Test casesโ€‹

Medications with/without end date under following scenarios :

  • Only not-overlapping temporary suspension(s)
  • Only overlapping temporary suspension(s)
  • One temporary suspension then a definitive suspension
  • Overlapping suspensions

Filesโ€‹

Expected resultsโ€‹

When looking to the patient medication scheme, for each scenario as stated in the following table :

  • The medication must be present only the expected days
  • The software should warn users the last day before suspension (so that patients don't take the medication)
  • The suspension date & reason should be displayed (for example in the details of the medication)