Skip to main content

โณ TS-13 - Durations

See if software in test can handle the formats of duration possible in KMEHR, authorized by MS Cookbook :

Example
...
<transaction>
...
<item>
<id S="ID-KMEHR" SV="1.0">2</id>
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<beginmoment>
<date>2023-01-01</date>
</beginmoment>
...
<!-- The focus of the test -->
<duration>
<decimal>5</decimal>
<unit>
<cd S="CD-TIMEUNIT" SV="2.0">d</cd>
</unit>
</duration>
...
</item>
...
</transaction>
...

Test casesโ€‹

Filesโ€‹

Expected resultsโ€‹

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

  • All values of CD-TIMEUNIT, authorized by MS Cookbook must be supported and have the correct start & end period :
  • Medication line suspended by <duration> must be supported and have the correct start & end periods :