Special Instructions
In this case we will test the Update Document Set (ITI-57) transaction with the Document Registry as a simulator.
Firstly, we will initiate this test by an ITI-41 and ITI-42 transaction to a Document Repository/Registry simulator. The data registered will be provided to the SUT operator as an ITI-18 response from the Registry.
Using the data provided, the SUT will then execute an ITI-57 towards the Document Registry to modify the metadata registered. These modifications will be evaluated by an ITI-18 request to the Registry simulator.
The data you'll use for the transactions are :
patient : Nilesh WITTWER-CHRISTEN (EPR-SPID : 761337610411265304^^^&2.16.756.5.30.1.127.3.10.3&ISO)
Metadata Update Registry endpoint : https://ehealthsuisse.ihe-europe.net:10443/xdstools7/sim/epr-testing__one_registry_to_rule_them_all/reg/update
ITI-41 must be grouped with an ITI-40. Before each request you must :
- Use the Identity Provider Simulator to do an Authenticate User transaction (Use the patient nwittwerchristen)
- Then do an Get X-User Assertion to the Assertion Provider Simulator (https://ehealthsuisse.ihe-europe.net:10443/STS?wsdl)
- Use the SAML Assertion in your ITI-57 request
- This part is checked in the test case XUA_X-SERVICE-USER_ITI-40. (you must link this test instance in the corresponding test step.)
Description
- Before anything, configure your system to be able to test its role as X-Service User as explained in XUA_X-SERVICE-USER_ITI-40.
- The requests will be sent to the Document Registry simulator from Gazelle Webservice Tester. To execute this test:
- Access Gazelle Webservice Tester and log into the application;
- Go to the menu "Run";
- Select the test project name EPR XDS Document Administrator from the drop-down list;
- Select test suite [INIT] Registry Initialization by ticking the checkbox in front of its name;
- Click on "Run" button
- Wait for the script to complete its execution;
In order for the initialization of test data to be properly done, all the steps must be
Passed.
- From your GWT run, go see the response to the step "[INIT] LeafClass query registry for document". All the metadata that are needed for the construction of your ITI-57 query can be found there.
- With the proper metadata, sned an ITI-57 Metadata Update query to the Document Registry simulator. Take note of the initial and of the new Document UUIDs. The rest of the new metadata you'll use is not important as long as they are in accordance to the specifications rules for ITI-57.
Take note of the time at which you initiated your transaction, it'll be helpful for the next step.
To validate this test :
- Once your requests have been executed, you'll need to retrieve their logs from XDSTools :
- Go to XDSTools7 home page
- At the top of the page, set the Environment to ehealthsuisse and the Test Session to epr-testing from the drop-down lists
- At the left side of the page, click on the "New Simulator Logs" option (in the "Toolkit" section)
- Select the simulator that participated in your transaction (here it's epr-testing__one_registry_to_rule_them_all)
- In the Message menu, pick the logs corresponding to your transaction using your IP and transaction time
- From the Request Body tab, copy the Enveloppe of your request in an XML file
- Now to validate your request
with the validation tool EVSClient
:
- In
EVSClient, choose on the menu EPR > XDS-CH > Validate
- Upload
your XML message. Then, in
Model Based Validation select: CH XDS.b ITI-57 Metadata Update - request (CH codes) to
validate your request
- Copy the permanent link to your validation in the corresponding test step
- We will also confirm that the document metadata has been updated properly :
- Access Gazelle Webservice Tester and log into the application;
- Go to the menu "Run";
- Select the test project name EPR XDS Document Administrator from the drop-down list;
- Select test suite [ITI-18] Registry Stored Query For Evaluation by ticking the checkbox in front of its name;
- Enter the proper values for the initial Document UUID and the updated Document UUID
- Click on "Run" button
- Wait for the script to complete its execution;
- Copy the permanent link to your validation in the corresponding test step
Evaluation
The monitor will check that you copied the link to this test instance to the corresponding test step of the test case XUA_X-SERVICE-USER_ITI-40.
The status of the validation on GWT must be "Passed".
The validations on EVS Client for the ITI-57 transaction must return "Passed".