Scope

This page contains the Kmehrmessages for testing the integration of the 4 mainly used Kmehr tables.

Instructions for EVS use

IMPORTANT: This test can be performed using both the original EVSc and the new version: EVS

Each test that requires an export file will contain export files for both versions.

The EVS export file contain all MSE transactions used for the test.

Before each download 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.

S01R10: CD-ADMINISTRATIONUNIT

Description

This EVS export (EVSc) and this EVS export (EVS) contains for each code of CD-ADMINISTRATIONUNIT a unique medication.

Each medication has in the text of the "medicationuse" healthcareelement the value <dutch translation>.

...
<transaction>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">2</id>
		<cd S="CD-ITEM" SV="1.11">medication</cd>
		...
		<regimen>
			...
			<quantity>
				<decimal>1</decimal>
				<unit>
					<cd S="CD-ADMINISTRATIONUNIT" SV="1.2">tsp</cd>
				</unit>
			</quantity>
			...
		</regimen>
		...
	</item>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">3</id>
		<cd S="CD-ITEM" SV="1.11">healthcareelement</cd>
		<content>
			<cd S="CD-ITEM-MS" SV="1.0">medicationuse</cd>
		</content>
		<content>
			<text L="nl">Koffielepel</text>
		</content>
	</item>
	...
</transaction>
...

This allows to verify quickly, in the reading application, if the free text value matches the parsed values.

E.g. for the EVS:

Expected results

After reading a medication scheme with only these lines, you should end up with:

S01R15: CD-DAYPERIOD

Description

This EVS export (EVSc) and this EVS export (EVS) contains for each code of CD-DAYPERIOD a unique medication.

Each medication has in the text of the "medicationuse" healthcareelement the value <dutch translation>.

...
<transaction>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">2</id>
		<cd S="CD-ITEM" SV="1.11">medication</cd>
		...
		<regimen>
			...
			<daytime>
				<dayperiod>
					<cd S="CD-DAYPERIOD" SV="1.0">beforelunch</cd>
				</dayperiod>
			</daytime>
			...
		</regimen>
		...
	</item>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">3</id>
		<cd S="CD-ITEM" SV="1.11">healthcareelement</cd>
		<content>
			<cd S="CD-ITEM-MS" SV="1.0">medicationuse</cd>
		</content>
		<content>
			<text L="nl">Voor het middageten</text>
		</content>
	</item>
	...
</transaction>
...

This allows to verify quickly, in the reading application, if the free text value matches the parsed values.

E.g. for the EVS:

Expected results

After reading a medication scheme with only these lines, you should end up with:

S01R20: CD-DRUG-ROUTE

Description

This EVS export (EVSc) and this EVS export (EVS) contains for each code of CD-DRUG-ROUTE a unique medication.

Each medication has in the text of the "medicationuse" healthcareelement the next values: <dutch translation>.

...
<transaction>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">2</id>
		<cd S="CD-ITEM" SV="1.11">medication</cd>
		...
		<route>
        	<cd S="CD-DRUG-ROUTE" SV="2.0">00001</cd>
        </route>
		...
	</item>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">3</id>
		<cd S="CD-ITEM" SV="1.11">healthcareelement</cd>
		<content>
			<cd S="CD-ITEM-MS" SV="1.0">medicationuse</cd>
		</content>
		<content>
			<text L="nl">In het oor</text>
		</content>
	</item>
	...
</transaction>
...

This allows to verify quickly, in the reading application, if the free text value matches the parsed values.

E.g. for the EVS:

Expected results

After reading a medication scheme with only these lines, you should end up with:

S01R25: CD-PERIODICITY

Description

This EVS export (EVSc) and this EVS export (EVS) contains for each code of CD-PERIODICITY a unique medication.

Each medication has in the text of the "medicationuse" healthcareelement the next values: <order>/<dutch translation>.

...
<transaction>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">2</id>
		<cd S="CD-ITEM" SV="1.11">medication</cd>
		...
		<frequency>
			<periodicity>
				<cd S="CD-PERIODICITY" SV="1.1">D</cd>
			</periodicity>
		</frequency>
		...
	</item>
	...
	<item>
		<id S="ID-KMEHR" SV="1.0">3</id>
		<cd S="CD-ITEM" SV="1.11">healthcareelement</cd>
		<content>
			<cd S="CD-ITEM-MS" SV="1.0">medicationuse</cd>
		</content>
		<content>
			<text L="nl">1/Dagelijks</text>
		</content>
	</item>
	...
</transaction>
...

This allows to verify quickly, in the reading application, if the free text value matches the parsed values.

E.g. for the EVS:

Expected results

After reading a medication scheme with only these lines, you should end up with:

S01W30: Writing CD-ADMINISTRATIONUNIT Minimal Change

  1. Upload this EVS export file (EVSc) or this EVS export (EVS) using the EVS action REPLACE and your own test patient.
  2. Alter every medication in the medicationscheme by adding a dot(.) in every 'instructionforpatient' field. 
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W35: Writing CD-DAYPERIOD Minimal Change

  1. Upload this EVS export file (EVSc) or this EVS export (EVS) using the EVS action REPLACE and your own test patient.
  2. Alter every medication in the medicationscheme by adding a dot(.) in every 'instructionforpatient' field. 
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W36: Writing CD-DAYPERIOD Minimal Change (UPDATE action) 

  1. Upload this EVS export (EVS) using the EVS action REPLACE and your own test patient.
  2. Update every medication in the medicationscheme that has dayperiod value = 'afterbreakfast' to 'beforebreakfast' and add a dot(.) in every 'instructionforpatient' field. 
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W40: Writing CD-DRUG-ROUTE Minimal Change

  1. Upload this EVS export file (EVSc) or this EVS export (EVS) using the EVS action REPLACE and your own test patient.
  2. Alter every medication in the medicationscheme by adding a dot(.) in every 'instructionforpatient' field. 
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W45: Writing CD-PERIODICITY Minimal Change

  1. Upload this EVS export file (EVSc) or this EVS export (EVS) using the EVS action REPLACE and your own test patient.
  2. Alter every medication in the medicationscheme by adding a dot(.) in every 'instructionforpatient' field. 
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W50: Writing CD-ADMINISTRATIONUNIT Constructing From Scratch

  1. Empty the vault by uploading an empty textfile using EVS action REPLACE and your own test patient.
  2. Construct the CD-ADMINISTRATIONUNIT medicationscheme using the SUT.
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W55: Writing CD-DAYPERIOD Constructing From Scratch

  1. Empty the vault by uploading an empty textfile using EVS action REPLACE and your own test patient.
  2. Construct the CD-DAYPERIOD medicationscheme using the SUT.
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W60: Writing CD-DRUG-ROUTE Constructing From Scratch

  1. Empty the vault by uploading an empty textfile using EVS action REPLACE and your own test patient.
  2. Construct the CD-DRUG-ROUTE medicationscheme using the SUT.
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results

S01W65: Writing CD-PERIODICITY Constructing From Scratch

  1. Empty the vault by uploading an empty textfile using EVS action REPLACE and your own test patient.
  2. Construct the CD-PERIODICITY medicationscheme using the SUT.
  3. Check the results by using EVS action EXPORT and the same patient and opening the pdf that EVS generates.

Expected results