Scope
This page contains the Kmehrmessages for testing the calculation of an endmoment, see concept M. Ending a medication treatment. The "implicit by calculation of last day to be taken" as mentioned on M. Ending a medication treatment is out of scope.
Attention
Only CD-TIMEUNIT values "a", "mo", "wk" and "d" are considered to be allowed within Vitalink. Therefore other CD-TIMEUNIT values are out of scope for the test
Instructions for EVS use
IMPORTANT: This test can be performed using both the original EVSc and the new version: EVS
This test contains export files for both versions.
This EVS export file (EVSc) and this EVS export file (EVS) contains all MSE transactions used for the test.
Before starting the test, this export file should be uploaded using the EVS-action REPLACE and your own test patient.
The EVS parameter writeAsIs must be set to false.
S06R10: The calculated endmoment
Every medication scheme element in the EVS export file has a duration specified.
Whenever the endmoment is displayed in the SUT, the endmoment is expected to be calculated based on the beginmoment of the medication and the duration. A typical location would be the caretaker print or the patient print.
For every EVSREF in the table below, make sure that the correct endmoment value is calculated as shown in column "expected calculated endmoment". If the duration is displayed too, make sure that the correct duration is displayed as shown in column "expected duration"
Expected results
TS-1 | |||
EVSREF | mse beginmoment | expected duration | expected calculated endmoment |
---|---|---|---|
100 | 31/01/2030 | 1 jaar | 30/01/2031 |
101 | 31/01/2030 | 3 jaar | 30/01/2033 |
102 | 31/01/2030 | 1 maand | 27/02/2030 |
103 | 27/02/2030 | 1 maand | 26/03/2030 |
104 | 31/01/2030 | 3 maanden | 29/04/2030 |
105 | 31/01/2030 | 1 week | 06/02/2030 |
106 | 31/01/2030 | 10 weken | 10/04/2030 |
107 | 31/01/2030 | 1 dag | 31/01/2030 |
108 | 31/01/2030 | 100 dagen | 10/05/2030 |
109 | 29/02/2032 | 1 dag | 29/02/2032 |
110 | 25/02/2032 | 1 maand | 24/03/2032 |
111 | 31/01/2032 | 100 dagen | 09/05/2032 |
112 | 01/02/2032 | 1 maand | 29/02/2032 |