Skip to main content

๐Ÿšจ TS-11 - Unexpected scenarios

Descriptionโ€‹

See if software in test can handle scenarios that passed validations whereas they should not.
Inspired by IMEC own set of test : https://wiki.ivlab.ilabt.imec.be/display/VLMS/EVS_Scenarios_S11_Validation_Fails

Test casesโ€‹

EVSREFDescription
100Weekday is used when frequency is a multiple of days.
101Daynumber is bigger than the frequency.
102Date is used when frequency is a multiple of weeks.
103Regimen with both weekdays and nothing (startdate will be used).
104No frequency is specified and weekday is used.
105Daynumber is used when frequency is a multiple of months.
106The 'day' part in the date field of the regimen is higher than 28 when frequency is a multiple of months.
107Weekday is used when frequency is a multiple of years.
108The 'day' part in the date field of the regimen is higher than 28 when frequency is a multiple of years.
109Daynumber in the regimen is higher than the multiple of weeks frequency.
110Medication is suspended without an endmoment.
111Temporality is missing.
112Length of the instructionforpatient field is longer than 340 characters.
113Medication in the treatment suspension differs from the corresponding medicationscheme element.
114Quantity contains a value that is bigger than 4 digits.
115More than five treatment suspensions.
117Endmoment and duration are used together.
119Duration contains the value 0.
120Quantity is less than or equal to 0.
121Quantity contains a value with trailing zeros.
126Invalid CNK / INNCLUSTER code.

Filesโ€‹

Expected resultsโ€‹

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

  • The software should not crash for any medication following these unexpected scenarios
  • The software should follow a "best effort" strategy. In other words, display what the software can.
  • The software could warn professional users, so they can fix medication lines later (Invalid CNK, ...)