Integrating the Healthcare Enterprise

 

 IHE/MESA Patient Encounter Source Tests

 

Electronic Radiology Laboratory
Mallinckrodt Institute of Radiology
510 South Kingshighway Blvd.
St. Louis, MO  63110
314.362.6965 (Voice)
314.362.6971 (Fax)

 

Revision 9.10.1
13-March-2006

Contents:

Patient Encounter Source
Introduction
Patient Identification
Configuration
Starting the MESA Servers
Installation Test
Test Software Environment
Submission of Results
Test Cases PAM

  1. Test 12120: PAM Admit/Discharge Patient
  2. Test 12121: PAM Register Outpatient

Patient Encounter Source

Introduction

The MESA tests include a number of cases each of which rely on a sequence of messages between actors. These tests range across different integration profiles:

This document lists the transactions and messages for a number of cases. It may not describe the clinical scenario behind each case, but listing the transactions should clearly define what is expected of each actor.  These are all of the transactions involving all of the actors.  When you test with your particular actor, you may see only a subset of these messages.

Patient Identification

The tests described in this document rely on patient demographics supplied as part of the test procedure. This document is intended for the Patient Encounter Source; therefore the tests assume the source is responsible for supplying an identifier for each test patient.

Configuration

The MESA scripts are run from the directory $MESA_TARGET/mesa_tests/iti/actors/pat_encounter_src.
The ASCII configuration file pat_encounter_src.cfg contains parameters that describe your system and the test environment.  If the Patient Encounter Source is not grouped with a Patient Demographics Source and needs to receive patient demographic information, the following parameters are used to tell the MESA software where to send those messages:


Variable Name

Default Value

TEST_PES_HOST_HL7

pat_encounter_src

TEST_PES_PORT_HL7

3900

Starting the MESA Servers

MESA servers are started from a DOS/CMD window or a terminal emulator. Follow these steps for Unix systems

  1. cd $MESA_TARGET/mesa_tests/iti/actors/pat_encounter_src
  2. scripts/start_mesa_servers.csh

To stop the servers:

     scripts/stop_mesa_servers.csh
The start instructions for MESA tools on a Windows system are:

  1. cd %MESA_TARGET%\mesa_tests\iti\actors\pat_encounter_src
  2. scripts\start_mesa_servers.bat

To stop the servers:

     scripts/stop_mesa_servers.bat

Installation Test

Test Software Environment

Submission of Results

Test descriptions below inform the reader to “submit results to the Project Manager”. This is does not mean “email”. The current submission process should be documented by the Project Manager, but will not include emailing files directly to the Project Manager.

Test Cases PAM

This section describes test cases that are generally associated with the PAM Integration Profile. There may be some overlap with other profiles.

Test 12120: PAM Admit/Discharge Patient

In test 12120, the Patient Encounter Source is required to send two messages to first admit and then discharge a patient. The test script allows the Patient Encounter Source to receive demographic information from the MESA system (that is, a standalone Encounter Source) or to use demographic information if grouped with a Patient Demographic Source.

Reference

ITI TF

Instructions

To run this test, follow these steps using a DOS window or terminal emulator:

  1. Read the document “IHE IT Infrastructure Test Cases” for a description of the transactions used for this test. Your system is required to produce the administration messages described in that document.
  2. Refer to the table in Section 2.1.4 below. It lists values that are used for Patient Demographics. If you are also a Patient Demographics Source, you need to use those values when you create the patient. If you choose to receive a demographics feed from MESA, you will receive those values.
  3. Set the current directory to $MESA_TARGET/mesa_tests/iti/actors/ pat_encounter_src.
  4. Make sure the MESA servers have been started as described in Starting the MESA Servers above.
  5. If your system is grouped with a Patient Demographics Source, you can generated your own Patient Identifier; however, you should use the demographics defined for this test. If you are a standalone Patient Encounter Source, you can receive an ADT message with the demographic information from the test script.
  6. Run the test script as follows:
     perl scripts/pat_encounter_src.pl 12120  <log level> 

where <log level> is a value between 1 (low) and 4 (high).

  1. Run the evaluation script below.

Evaluation

  1. Run the evaluation script:
  2. perl 12120/eval_12120.pl <log level>
  3. The evaluation output is found in 12120/grade_12120.txt. The final result should indicate 0 errors. Submit the result run at log level 4 to the Project Manager.

Patient Demographics for Test 12120

Segment / Field

Element Name

Value

PID.3.4

(Patient ID) Assigning Authority

&1.3.6.1.4.1.21367.2005.1.1&ISO

PID.3.5

(Patient ID) Identifier Type Code

PI

PID.5

Patient Name

YATES^MARY

PID.7

Date/Time of Birth

19381213

PID.8

Administrative Sex

M

PID.11

Patient Address

15 WESTMINSTER^^WEBSTER^MO^63119

PV1

Patient Class

N

Test 12121: PAM Register Outpatient

In test 12121, the Patient Encounter Source is required to send one messages to register a patient as an outpatient. The test script allows the Patient Encounter Source to receive demographic information from the MESA system (that is, a standalone Encounter Source) or to use demographic information if grouped with a Patient Demographic Source.

Patient Demographics for Test 12121

Segment / Field

Element Name

Value

PID.3.4

(Patient ID) Assigning Authority

&1.3.6.1.4.1.21367.2005.1.1&ISO

PID.3.5

(Patient ID) Identifier Type Code

PI

PID.5

Patient Name

SMITH^AMBER

PID.7

Date/Time of Birth

19791130

PID.8

Administrative Sex

M

PID.11

Patient Address

17 OCEAN^^WEBSTER^MO^63119

PV1

Patient Class

N

Reference

ITI TF

Instructions

To run this test, follow these steps using a DOS window or terminal emulator:

  1. Read the document “IHE IT Infrastructure Test Cases” for a description of the transactions used for this test. Your system is required to produce the administration messages described in that document.
  2. Refer to the table in Section 2.2.1 above. It lists values that are used for Patient Demographics. If you are also a Patient Demographics Source, you need to use those values when you create the patient. If you choose to receive a demographics feed from MESA, you will receive those values.
  3. Set the current directory to $MESA_TARGET/mesa_tests/iti/actors/ pat_encounter_src.
  4. Make sure the MESA servers have been started as described in Starting the MESA Servers above.
  5. If your system is grouped with a Patient Demographics Source, you can generated your own Patient Identifier; however, you should use the demographics defined for this test. If you are a standalone Patient Encounter Source, you can receive an ADT message with the demographic information from the test script.
  6. Run the test script as follows:
     perl  scripts/pat_encounter_src.pl 12121 <log level> 

where <log level> is a value between 1 (low) and 4 (high).

  1. Run the evaluation script below.

Evaluation

  1. Run the evaluation script:
  2. perl 12121/eval_12121.pl <log level>
  3. The evaluation output is found in 12121/grade_12121.txt. The final result should indicate 0 errors. Submit the result run at log level 4 to the Project Manager.