Skip to main content

๐ŸŒ… TS-04 - Day periods

Descriptionโ€‹

See if software in test can handle all the authorized CD-DAYPERIOD by MS Cookbook :

Example
...
<transaction>
...
<item>
<id S="ID-KMEHR" SV="1.0">2</id>
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<regimen>
...
<daytime>
<dayperiod>
<!-- The focus on the test -->
<cd S="CD-DAYPERIOD" SV="1.0">morning</cd>
</dayperiod>
</daytime>
</regimen>
</item>
...
</transaction>
...

Test casesโ€‹

In other words, all values of CD-DAYPERIOD except these ones prohibited by MS Cookbook :

  • aftermeal
  • betweenmeals
  • afternoon
  • evening
  • night

Filesโ€‹

Expected resultsโ€‹

When looking to the patient medication scheme, for each value authorized :

  • The medication must be present (for easiness, they all have daily periodicity)
  • The day period translation to humans should respect CD-DAYPERIOD table
  • According Vitalink PDF specifications, medication should be put in the correct section of day according to their value