Scope

This page contains the Kmehrmessages for testing the calculation of the daily medicationscheme. This test is only for applications that use this type of medicationscheme.

Instructions for EVS use

IMPORTANT: This test has to be performed using the new version of EVS: EVS 3.0.4 (or newer version)

Each test contains an EVS export file that contains the MSE transactions used for that test.

Before starting the test, the export file should be uploaded using the EVS-action REPLACE and your own test patient.

The EVS parameter writeAsIs must be set to false.

The EVS parameter shiftAction must be set to shift_and_tag.


Description

To prevent validation fails from happening, this scenario should not be executed on the 29th, 30th or 31st of any month.

After reading the medication scheme, the results can be verified in the SUT.

Depending on the SUT, the visualisation may vary slightly.


S17R10: Daycalculation

This EVS export file contains all the MSE transactions used for this test.

Expected results

  • TS-1: There is a 'Global Medicationscheme' with 49 medications.
  • TS-2: All medications labeled as 'True' in the 'Verification Table' are present in the 'Daily Medicationscheme' of the correct day.
  • TS-3: EVSREF-124 contains a monthly frequency. As such, the medication should be listed on the Daily Medicationscheme of today, same day next month and same day the month after. For example, if today is 10/05/2018, that medication should also be listed on 10/06/2018 and 10/07/2018.
  • TS-4: EVSREF-125 contains a three monthly frequency. As such, the medication should be listed on the Daily Medicationscheme of today, same day in 3 months and same day in 6 months. For example, if today is 10/05/2018, that medication should also be listed on 10/08/2018 and 10/11/2018.
  • TS-5: EVSREF-126 contains a five monthly frequency. As such, the medication should be listed on the Daily Medicationscheme of today, same day in 5 months and same day in 10 months. For example, if today is 10/05/2018, that medication should also be listed on 10/10/2018 and 10/03/2019.
  • TS-6: EVSREF-127 contains a two monthly frequency with the administration date set to the current date. As such, the medication should be listed on the Daily Medicationscheme of today, same day in 2 months and same day in 4 months. For example, if today is 10/05/2018, that medication should also be listed on 10/07/2018 and 10/09/2018.
  • TS-7: EVSREF-128 contains a half yearly frequency. As such, the medication should be listed on the Daily Medicationscheme of today, same day in 6 months and same day in 12 months. For example, if today is 10/05/2018, that medication should also be listed on 10/11/2018 and 10/05/2019.

Verification table

If the tablecell contains the value 'True': Medication should be present in the daily medicationscheme of the day described in the column name.

If the tablecell contains the value 'False': Medication should not be present in the daily medicationscheme of the day described in the column name.

EVSREFYesterdayTodayTomorrow
100FalseTrueTrue
101TrueTrueTrue
102TrueTrueTrue
103FalseTrueFalse
104FalseTrueFalse
105FalseTrueFalse
106FalseTrueFalse
107FalseTrueFalse
108FalseTrueFalse
109FalseTrueFalse
110FalseTrueFalse
111FalseTrueFalse
112FalseTrueFalse
113FalseTrueFalse
114FalseTrueFalse
115FalseTrueFalse
116FalseTrueFalse
117FalseTrueFalse
118FalseTrueFalse
119FalseTrueFalse
120FalseTrueFalse
121FalseTrueFalse
122FalseTrueFalse
123FalseTrueFalse
124FalseTrueFalse
125FalseTrueFalse
126FalseTrueFalse
127FalseTrueFalse
128FalseTrueFalse
129FalseTrueFalse
130FalseTrueFalse
131FalseTrueFalse
132FalseTrueFalse
133FalseTrueFalse
134FalseTrueFalse
135FalseTrueFalse
136FalseTrueFalse
137FalseTrueFalse
138FalseTrueFalse
139FalseTrueFalse
140FalseTrueFalse
141FalseTrueFalse
142

If yesterday is 'Monday': True

Else: False

If today is 'Monday': True

Else: False

If tomorrow is 'Monday': True

Else: False

143

If yesterday is 'Tuesday': True

Else: False

If today is 'Tuesday': True

Else: False

If tomorrow is 'Tuesday': True

Else: False

144

If yesterday is 'Wednesday: True

Else: False

If today is 'Wednesday': True

Else: False

If tomorrow is 'Wednesday': True

Else: False

145

If yesterday is 'Thursday': True

Else: False

If today is 'Thursday': True

Else: False

If tomorrow is 'Thursday': True

Else: False

146

If yesterday is 'Friday': True

Else: False

If today is 'Friday': True

Else: False

If tomorrow is 'Friday': True

Else: False

147

If yesterday is 'Saturday': True

Else: False

If today is 'Saturday': True

Else: False

If tomorrow is 'Saturday': True

Else: False

148

If yesterday is 'Sunday': True

Else: False

If today is 'Sunday': True

Else: False

If tomorrow is 'Sunday': True

Else: False

S17R15: Daycalculation with Treatment Suspensions

This EVS export file contains all the MSE transactions used for this test.

Expected results

  • TS-1: There is a 'Global Medicationscheme' with 6 medications and 6 treatment suspensions..
  • TS-2: All medications labeled as 'True' in the 'Verification Table' are present in the 'Daily Medicationscheme' of the correct day.

Verification table

If the tablecell contains the value 'True': Medication should be present in the daily medicationscheme of the day described in the column name.

If the tablecell contains the value 'False': Medication should not be present in the daily medicationscheme of the day described in the column name.

EVSREFYesterdayTodayTomorrow
200FalseTrueTrue
201FalseFalseTrue
202FalseFalseFalse
203FalseFalseFalse
204TrueFalseFalse
205TrueTrueFalse


  • No labels