Scope

This page contains the Kmehrmessages for testing the behaviour of the SUT when transactions are put in the vault that do not conform to the recommended build of a transaction.

Instructions for EVS use

IMPORTANT: This test has to be performed using the new version of EVSc: EVS

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

The tests will explain what to do with the export file.

The EVS parameter writeAsIs must be set to false.


Description

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

Depending on the SUT, the handling of the medication scheme may vary slightly.


The table below shows the contents of each medication line.

This is a work in progress.

EVSREFRuleAlteration
1001001a

Weekday is used when frequency is a multiple of days.

M. Combined use of frequency and day#Multipleofdays

1011001b

Daynumber is bigger than the frequency.

M. Combined use of frequency and day#Multipleofdays

1021001c

Date is used when frequency is a multiple of weeks.

M. Combined use of frequency and day#Multipleofweeks

1031001e

Regimen with both weekdays and nothing (startdate will be used).

M. Combined use of frequency and day#Multipleofweeks

1041001fNo frequency is specified and weekday is used.
1051001g

Daynumber is used when frequency is a multiple of months.

M. Combined use of frequency and day#Multipleofmonths

1061001h

The 'day' part in the date field of the regimen is higher than 28 when frequency is a multiple of months.

M. Combined use of frequency and day#Multipleofmonths

1071001i

Weekday is used when frequency is a multiple of years.

M. Combined use of frequency and day#Multipleofyears

1081001j

The 'day' part in the date field of the regimen is higher than 28 when frequency is a multiple of years.

M. Combined use of frequency and day#Multipleofyears

1091001k

Daynumber in the regimen is higher than the multiple of weeks frequency.

M. Combined use of frequency and day#Multipleofweeks

1101011Medication is suspended without an endmoment.
1111004Temporality is missing.
1121006Length of the instructionforpatient field is longer than 340 characters.
1131007Medication in the treatment suspension differs from the corresponding medicationscheme element.
1141012Quantity contains a value that is bigger than 4 digits.
1151013More than five treatment suspensions.
1161018Drugroute value is not supported.
1171020

Endmoment and duration are used together.

M. Ending a medication treatment

1181021

Value for timeunit in duration contains an invalid code.

M. Ending a medication treatment

1191022Duration bevat de waarde 0.
1201028Quantity is kleiner of gelijk aan 0.
1211023Quantity contains a value with trailing zeros.
1221032iscomplete is false.
1231015Dayperiod value is 'betweenmeals'.
1241016Periodicity value is not supported.
1251024Invalid administration unit.
1261030Invalid CNK / INNCLUSTER code.
1271010Deliveredname is missing.
1281031

CNK / INNCLUSTER code is in the range 0900-000 -> 0999-999.
This range is reserved for pharmacists for their own use.

1291034The element <isvalidated> is false.



S11R10: Reading Gateway Validation Fails

Preparation

  1. Upload the first scheme (S11_all_validation_fails_evs_ref100.xml) using the EVS-action REPLACE and your own test patient.
  2. Upload all other schemes using the EVS-action ADD and the same test patient.

Expected results

  • TS-1: The SUT should continue to work as intended.
  • TS-2: Either there should be no medications in the UI or print, or all 24 medications are present. The SUT should not display only a set of the medicationlines.
  • TS-3: The user should be able to notice that there is an abnormality with his medication scheme.

To find out more about why these transactions are considered to not conform to the recommended build of a transaction, have a look at the .val file EVS generates.

S11W15: Writing Gateway Validation Fails

Preparation

  1. Before testing this, make sure you have performed the 'S11R10: Reading Gateway Validation Fails' test.
  2. Alter every medication by putting an extra dot (.) in the 'Instruction For Patient'.
  3. Sync the altered medication scheme with Vitalink.

Expected results

  • TS-1: The SUT should have succesfully altered the medication scheme.
  • TS-2: Either there should be no medications in the UI or print, or all 24 medications are present. The SUT should not display only a set of the medicationlines.
  • TS-3: The user should be able to notice that there is an abnormality with his medication scheme.


S11R20: Reading Single Validation Fail

This test will require you to upload every medicationline separately.

The export file will contain comments that show where a medicationline starts and where it ends. Separate that part (and close the remaining open tags) and put it in a separate file (don't forget to include the header information and medicationscheme transaction). That separate file has to be uploaded using the EVS-action REPLACE and your own test patient. This has to be done for each medicationline. Each medicationline should be in a format similar to this:

Expected results

  • TS-1: The SUT should continue to work as intended.


S11W25: Writing Single Validation Fail

This test will require you to alter every medicationline separately.

  1. Upload the medicationscheme using the EVS-action REPLACE and your own test patient.
  2. Alter a medication by putting an extra dot (.) in the 'Instruction For Patient'. Then sync the altered medication scheme with Vitalink.
  3. Verify the results.
  4. Repeat step 2 and 3 for every medication in the medicationscheme.

Expected results

  • TS-1: The SUT should have succesfully altered the medication scheme.
  • No labels