Skip to main content

๐Ÿš€ TS-10 - Future medications

Descriptionโ€‹

See if software in test can handle medications that are in future (e.g 2099) according MS Cookbook :

Example
...
<transaction>
...
<item>
<id S="ID-KMEHR" SV="1.0">2</id>
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<!-- Start date in the future -->
<beginmoment>
<date>2099-01-01</date>
</beginmoment>
<!-- End date in the future -->
<endmoment>
<date>2099-12-30</date>
</endmoment>
...
</item>
...
</transaction>
...

Test casesโ€‹

  • Medication that starts in future
  • Medication that starts and ends in future

Filesโ€‹

Expected resultsโ€‹

When looking to the patient medication scheme, all these criterias must be fulfilled :

  • Medication that starts in future case is handled properly
    • Available on January 1, 2099
    • Still available on January 1, 2100
  • Medication that starts and ends in future case is handled properly
    • Available on January 1, 2099
    • Not available after December 30, 2099