This test deals with the subset of trigger events defined for the Inpatient/Outpatient Encounter Management option of ITI-31 transaction. As a reminder, here is the list of events your system must support to fulfill the requirements of this option:
- Pre-admit patient (A05/A38)
- Transfer patient (A02/A12)
- Change inpatient to outpatient (A07)
- Change outpatient to inpatient (A06)
This test is written for both Patient Encounter Supplier and Patient Encounter Consumer, refer to the right section according the actors your system under test supports.
Patient Encounter Supplier
In this test, we check the capability of your system under test to send messages for notifying the PEC actor of new events. You are asked to test against the PAMSimulator. Your first task is to configured your system under test to tell it to send the messages to the PAMSimulator. To do so, retrieve the configuration of the PEC part of the simulator under Patient Encounter Management/Patient Encounter Consumer/Configuration. Do not forgot to select the right character encoding before specifying the port to your system.
1. Initialize test
In this first step, you will feed the PAMSimulator with a new patient and encounter.
- Create a new patient and a new encounter (patient class = I) within your system
- Send a ADT^A01^ADT_A01 message to admit the patient
- Retrieve this patient in the simulator (use the All patients menu) and copy and paste the permanent link to the patient in your pre-connectathon logs.
2. Transfer patient and cancel movement
Once the patient is admitted, we will transfer him/her to a new bed.
- Within your system, update the bed (PL-3) in the patient location.
- Send a ADT^A02^ADT_A02 message to the simulator to transfer the patient to this new bed.
- Check that the simulator acknowledges the message with MSA-1 = AA.
- Tell your system under test that you have made a mistake and want to cancel the transfer.
- Send a ADT^A12^ADT_A12 message to cancel the transfer.
- Check that the simulator acknowledges the message with MSA-1 = AA.
- Go to HL7 messages menu of the simulator and retrieve the two messages you have sent to the simulator. Copy the permanent links to the test report and paste them in your pre-connectathon logs.
3. Change inpatient to outpatient
In this step, we will change the patient class to outpatient.
- Within your system, change the patient class to outpatient (code = O)
- Send a ADT^A07^ADT_A06 message to the simulator to update the patient class
- Check that the simulator acknowledges the message with MSA-1 = AA.
- Go to HL7 messages menu of the simulator and retrieve the message you have sent to the simulator. Copy the permanent link to the test report and paste it in your pre-connectathon logs.
4. Change outpatient to inpatient
In this step, we will change back the patient class to inpatient
- Within your system, put the patient class to inpatient (code = I)
- Send a ADT^A06^ADT_A06 message to the simulator to update the patient class
- Check that the simulator acknowledges the message with MSA-1 = AA.
- Go to HL7 messages menu of the simulator and retrieve the mesage you have sent to the simulator. Copy the permanent link to the test report and paste it in your pre-connectathon logs.
5. Pre-admit the patient for a new encounter and cancel it
This last step is used to check the ability of your system to send a pre-admission notification and its cancellation
- Within your system, pre-admit the patient for a new encounter planned on May, 20th 2012 at noon.
- Send a ADT^A05^ADT_A05 message to the simulator to notify it of this new encounter
- Tell your system under test that you have made a mistake and want to cancel the pre-admission.
- Send a ADT^A38^ADT_A38 message to cancel the pre-admission.
- Check that the simulator acknowledges the message with MSA-1 = AA.
- Go to HL7 messages menu of the simulator and retrieve the two messages you have sent to the simulator. Copy the permanent links to the test report and paste them in your pre-connectathon logs.
Patient Encounter Consumer
In this step, we check the capability of your system under test to act as a Patient Encounter Consumer for the PAM profile, and for the Inpatient/Outpatient Encounter Management option in particular. We want you to demonstrate that your system is able to integrate the notifications received from the PAM Simulator and to correctly acknowledge them.
1. Initialize test
- Access the PAMSimulator
- You can log in using CAS if you want to be set as the creator of the patients and encounters you will generate.
- You may have already registered your system under test within the simulator when performing test #12122.
- Go to Patient Encounter Management/Patient Encounter Supplier section of the PAM Simulator
- Create a new patient and a new inpatient encounter (class code = I/Inpatient) for this patient. Patient's location must be the following:
{syntaxhighlighter brush: as3;fontsize: 100; first-line: 1; }Point of care: Nursing station 1-East
Room: Room 10 (1-East)
Bed: Aisle
Facility: British Hospital{/syntaxhighlighter}
- Send a ADT^A01^ADT_A01 message to your system under test (refer to test #12122 for detailed informations)
- Take a screenshot of your application as a proof of the admission of the patient (ensure that the assigned location of the patient is visible)
- Retrieve this patient in the simulator (use the All patients menu) and copy and paste the permanent link to the patient in your pre-connectathon logs.
2. Transfer patient to new bed and cancel the movement
In this step, we will transfer the patient to a new bed.
- Go to Patient Encounter Management/Patient Encounter Supplier section of the PAM Simulator
- From the "category of event" drop-down menu, select Transfer patient
- From the "action to perform" drop-down list, select INSERT (A02)
- Select the patient you have previously admitted and update his/her new bed. New patient's location must be the following {syntaxhighlighter brush: as3;fontsize: 100; first-line: 1; }Point of care: Nursing station 1-East
Room: Room 10 (1-East)
Bed: Middle
Facility: British Hospital{/syntaxhighlighter}
- Click on the send button and check that your system returns an acknowledgement with MSA-1=AA
- Take a screenshot of your application as a proof of the transfer of the patient (we must see the new location)
- Click on "Perform another test"
- From the "action to perform" drop-down list, select CANCEL(A12) and select the patient's encounter you are working on
- Confirm the movement cancellation to send the ADT^A12^ADT_A12 message to your system under test.
- Take a screenshot of your application as a proof of the cancellation of the transfer (we must see the previous location)
- Go to the HL7 messages section of the simulator, retrieve the two previous messages, copy the permanent links to the test report and paste them in your pre-connectathon logs.
3. Change patient class to outpatient
This step is used to change the patient class to outpatient (code = O)
- Go back to Patient Encounter Management/Patient Encounter Supplier section of the PAM Simulator
- From the "category if event" drop-down menu, select Change patient class to outpatient
- Select the patient/encounter you have previously admitted
- Edit the informations about the new outpatient encounter and click on "Send message"
- Check that your system returns an acknowledgement with MSA-1=AA
- Take a screenshot of your application as a proof of the modification of the patient class
- Go to the HL7 messages section of the simulator, retrieve the message you have just sent, copy the permanent link to the test report and paste it in your pre-connectathon logs.
4. Change patient class to inpatient
This step is used to change the patient class to inpatient (code = I)
- Go back to Patient Encounter Management/Patient Encounter Supplier section of the PAM Simulator
- From the "category if event" drop-down menu, select Change patient class to inpatient
- Select the patient/encounter you have previously admitted
- Edit the informations about the new inpatient encounter and click on "Send message"
- Check that your system returns an acknowledgement with MSA-1=AA
- Take a screenshot of your application as a proof of the modification of the patient class
- Go to the HL7 messages section of the simulator, retrieve the message you have just sent, copy the permanent link to the test report and paste it in your pre-connectathon logs.
5. Pre-admit patient and cancel the pre-admission
In this step, we test the capability of your system to pre-admit a patient and to cancel this pre-admission.
- Go to Patient Encounter Management/Patient Encounter Supplier section of the PAM Simulator
- From the "category of event" drop-down menu, select Pre-admit patient
- From the "action to perform" drop-down list, select INSERT (A05)
- Select the patient you have previously admitted and create a new encounter for him/her.
- Click on the "Send message" button and check that your system returns an acknowledgement with MSA-1=AA
- Take a screenshot of your application as a proof of the pre-admission of this patient
- Click on "Perform another test"
- From the "action to perform" drop-down list, select CANCEL(A38) and select the patient's encounter you are working on
- Confirm the movement cancellation to send the ADT^A38^ADT_A38 message to your system under test.
- Take a screenshot of your application as a proof of the cancellation of the pre-admission
- Go to the HL7 messages section of the simulator, retrieve the two previous messages, copy the permanent links to the test report and paste them in your pre-connectathon logs.