...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|
This page tries to gather all the specification of Integration testing for the XCA client component.
...
This tests represent the normal usage of Patient Service.
Test #0 : "testQueryPS"
Test Id | PT_CLIENT_XCA_PS_#0 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryPS | |||||||||
Description | This test performs an XCA Query for PS, using valid Patient Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA query. | |||||||||
Test Inputs | Valid patient identifier.
| |||||||||
Expects | A list, containing valid document identifiers. | |||||||||
Status |
|
...
Test #1 : "testQueryPSNoConsent"
Test Id | PT_CLIENT_XCA_PS_#1 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryPSNoConsent | |||||||||
Description | (ERROR) The patient has not given consent to the requested service. | |||||||||
Test Inputs | A request for a patient which has not given any consent.
| |||||||||
Expects | Response Status: Failure | |||||||||
Message: No Consent | ||||||||||
Code: 4701 | ||||||||||
Status |
|
Test #2 : "testQueryPSLowAuth"
Test Id | PT_CLIENT_XCA_PS_#2 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSLowAuth | ||||||
Description | (ERROR) Country A requests a higher authentication trust level than assigned to the HCP (e.g. password-based login not accepted for the requested operation). | ||||||
Test Inputs | A request for a patient with lower authentication level - not supported by Country A.. | ||||||
Expects | Response Status: Failure | ||||||
Message: Weak Authentication | |||||||
Code: 4702 | |||||||
Status |
|
Test #3 : "testQueryPSInsRights"
Test Id | PT_CLIENT_XCA_PS_#3 | |||||||
---|---|---|---|---|---|---|---|---|
Name | testQueryPSInsRights | |||||||
Description | (ERROR) Either the security policy of country A or a privacy policy of the patient (that was given in country A) does not allow the requested operation to be performed by the HCP. | |||||||
Test Inputs | A request for a patient with an insufficient or invalid policy.
| |||||||
Expects | Response Status: Failure | |||||||
Message: Insufficient Rights | ||||||||
Code: 4703 | ||||||||
Status |
|
Test #4 : "testQueryNoPS"
Test Id | PT_CLIENT_XCA_PS_#4 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryNoPS | |||||||||
Description | (WARNING) No patient summary is registered for the given patient. | |||||||||
Test Inputs | A request for a patient with no registered Patient Summaries.
| |||||||||
Expects | Response Status: Success | |||||||||
Message: No Data | ||||||||||
Code: 1102 | ||||||||||
Status |
|
Test #5 : "testQueryPDFcoded"
Test Id | PT_CLIENT_XCA_PS_#5 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPDFcoded | ||||||
Description | (INFO) If PDF-coded patient summary is requested: Country A does not provide the (optional) source coded version of the patient summary. | ||||||
Test Inputs | A request for a PDF-coded Patient Summary. | ||||||
Expects | Response Status: Success | ||||||
Message: Unsupported Feature | |||||||
Code: 4201 | |||||||
Status |
|
Test #6 : "testQueryPSUnsSlots"
Test Id | PT_CLIENT_XCA_PS_#6 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSUnsSlots | ||||||
Description | (ERROR) The query argument slots used by the service consumer are not supported by the service provider. | ||||||
Test Inputs | A request with unsupported argument slots. | ||||||
Expects | Response Status: Failure | ||||||
Message: Unknown Signifier | |||||||
Code: 4202 | |||||||
Status |
|
Test #7 : "testQueryPSTranscErr"
Test Id | PT_CLIENT_XCA_PS_#7 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSTranscErr | ||||||
Description | (ERROR) The requested encoding cannot be provided due to a transcoding error. | ||||||
Test Inputs | A request for a document which will cause a transcoding error. | ||||||
Expects | Response Status: Failure | ||||||
Message: Transcoding Error | |||||||
Code: 4203 | |||||||
Status |
|
Test #8 : "testQueryPSInvArgs"
Test Id | PT_CLIENT_XCA_PS_#8 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSInvArgs | ||||||
Description | (ERROR). The service provider is unable to evaluate the given argument. | ||||||
Test Inputs | A request for a document with invalid argument values. | ||||||
Expects | Response Status: Failure | ||||||
Message: Unknown Filters | |||||||
Code: 4204 | |||||||
Status |
|
Additional invalid scenarios:
Test #7.1 : "testQueryPSPartTrnscSucc"
Test Id | PT_CLIENT_XCA_PS_#7.1 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSPartTrnscSucc | ||||||
Description | Not all of the requested encodings are provided (e.g. due to inability to transcode a certain national code). | ||||||
Test Inputs | A request for a document which will cause a partial transcoding error. | ||||||
Expects | Response Status: PartialSuccess Message: Rendering incomplete Code: 4101 | ||||||
Status |
|
Test #7.2 : "testQueryPSConsiderAddDoc"
Test Id | PT_CLIENT_XCA_PS_#7.2 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryPSConsiderAddDoc | ||||||
Description | The HCP MUST consider additionally the source coded document because it MAY contain information that is not included in the epSOS pivot CDA . Reason: field were | ||||||
Test Inputs | A request for a document which will cause a Source coded document must be considered success. | ||||||
Expects | Response Status: Success Message: Source coded document must be considered Code: 2102 | ||||||
Status |
|
...
This tests represent the normal usage of Order Service.
Test #0 : "testQueryEP"
Test Id | PT_CLIENT_XCA_OS_#0 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryEP | |||||||||
Description | This test performs an XCA Query for EP, using valid Patient Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA query. | |||||||||
Test Inputs | Valid patient identifier.
| |||||||||
Expects | A list, containing valid document identifiers. | |||||||||
Status |
|
Invalid Scenarios
The invalid scenarios for Order Service testing are described in WP3.4 Deliverable D3.4.2 - Common Components Specification v2.2 (Pages: 59)
Test #1 : "testQueryEPNoConsent"
Test Id | PT_CLIENT_XCA_EP_#1 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryOSNoConsent | |||||||||
Description | (ERROR) The patient has not given consent to the requested service. | |||||||||
Test Inputs | A request for a patient which has not given any consent.
| |||||||||
Expects | Response Status: Failure | |||||||||
Message: No Consent | ||||||||||
Code: 4701 | ||||||||||
Status |
|
Test #2 : "testQueryEPLowAuth"
Test Id | PT_CLIENT_XCA_EP_#2 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryOSLowAuth | ||||||
Description | (ERROR) Country A requests a higher authentication trust level than assigned to the HCP (e.g. password-based login not accepted for the requested operation). | ||||||
Test Inputs | A request for a patient with lower authentication level - not supported by Country A.. | ||||||
Expects | Response Status: Failure | ||||||
Message: Weak Authentication | |||||||
Code: 4702 | |||||||
Status |
|
Test #3 : "testQueryEPInsRights"
Test Id | PT_CLIENT_XCA_EP_#3 | |||||||
---|---|---|---|---|---|---|---|---|
Name | testQueryOSLowAuth | |||||||
Description | (ERROR) Either the security policy of country A or a privacy policy of the patient (that was given in country A) does not allow the requested operation to be performed by the HCP. | |||||||
Test Inputs | A request for a patient with an insufficient or invalid policy.
| |||||||
Expects | Response Status: Failure | |||||||
Message: Insufficient Rights | ||||||||
Code: 4703 | ||||||||
Status |
|
Test #4 : "testQueryNoEP"
Test Id | PT_CLIENT_XCA_EP_#4 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryNoEP | |||||||||
Description | (INFO) There is no ePrescription data registered for the given patient. | |||||||||
Test Inputs | A request for a patient with no registered ePs.
| |||||||||
Expects | Response Status: Success | |||||||||
Message: No Data | ||||||||||
Code: 1101 | ||||||||||
Status |
|
Test #5 : "testQueryEPTranscErr"
Test Id | PT_CLIENT_XCA_OS_#5 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryOSTranscErr | ||||||
Description | (ERROR) The requested encoding cannot be provided due to a transcoding error. | ||||||
Test Inputs | A request for a document which will cause a transcoding error. | ||||||
Expects | Response Status: Failure | ||||||
Message: Transcoding Error | |||||||
Code: 4203 | |||||||
Status |
|
Test #6 : "testQueryEPRegNotAccs"
Test Id | PT_CLIENT_XCA_EP_#6 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryEPRegNotAccs | |||||||||
Description | (ERROR) The ePrescription registry is not accessible. | |||||||||
Test Inputs | A request for an not accessible eP document.
| |||||||||
Expects | Response Status: Failure | |||||||||
Message: Registry Failure | ||||||||||
Code: 4103 | ||||||||||
Status |
|
Test #7 : "testQueryEPNotAccs"
Test Id | PT_CLIENT_XCA_EP_#7 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testQueryEPNotAccs | |||||||||
Description | (ERROR) There is ePrescription data registered for the patient but the service provider is unable to access it. | |||||||||
Test Inputs | A request for an not accessible eP document.
| |||||||||
Expects | Response Status: Failure | |||||||||
Message: Data Accesss Failure | ||||||||||
Code: 4104 | ||||||||||
Status |
|
Test #8 : "testQueryEPInvArgs"
Test Id | PT_CLIENT_XCA_EP_#8 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryOSInvArgs | ||||||
Description | (ERROR). The service provider is unable to evaluate the given argument. | ||||||
Test Inputs | A request for a document with invalid argument values. | ||||||
Expects | Response Status: Failure | ||||||
Message: Unknown Filters | |||||||
Code: 4204 | |||||||
Status |
|
Additional invalid scenarios:
Test #5.1 : "testQueryEPPartTrnscSucc"
Test Id | PT_CLIENT_XCA_EP_#5.1 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryEPPartTrnscSucc | ||||||
Description | Not all of the requested encodings are provided (e.g. due to inability to transcode a certain national code). | ||||||
Test Inputs | A request for a document which will cause a partial transcoding error. | ||||||
Expects | Response Status: PartialSuccess Message: Rendering incomplete Code: 4101 | ||||||
Status |
|
Test #5.2 : "testQueryEPConsiderAddDoc"
Test Id | PT_CLIENT_XCA_EP_#5.2 | ||||||
---|---|---|---|---|---|---|---|
Name | testQueryEPConsiderAddDoc | ||||||
Description | The HCP MUST consider additionally the source coded document because it MAY contain information that is not included in the epSOS pivot CDA . Reason: field were | ||||||
Test Inputs | A request for a document which will cause a Source coded document must be considered success. | ||||||
Expects | Response Status: Success Message: Source coded document must be considered Code: 2102 | ||||||
Status |
|
...
Retrieve Tests
...
MRO Service
Normal Usage
This tests represent the normal usage of Patient MRO Service.
Test
...
#0 : "
...
testQueryMro"
...
Test Id | PT_CLIENT_XCA_ | PSMRO_ | #9#0 | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testRetrievePS testQueryMro | |||||||||
Description | This test performs an XCA Retrieve Query for PSMRO, using valid Document Patient Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA Retrievequery. | |||||||||
Test Inputs | Valid document patient identifier.
| |||||||||
Expects | A list, containing valid document identifiers. | |||||||||
Status |
|
Invalid Scenarios
Test #9.1 : "testRetrievePSCIM"
...
...
Anchor | ||||
---|---|---|---|---|
|
Retrieve Tests
Patient Service
Normal Usage
This tests represent the normal usage of Patient Service.
Test #9 : "testRetrievePS"
Test Id | PT_CLIENT_XCA_PS_#9 | .1||||||
---|---|---|---|---|---|---|---|
Name | testRetrievePSCIMtestRetrievePS | ||||||
Description | Error messages related to the creation of the document content. There may be cases where failure may result in some elements of clinical information missing for example in a patient summary. These clinical content errors should be conveyed within the document content. | ||||||
Test Inputs | Some elements of clinical information missing. | ||||||
Expects | A list, containing valid document identifiers. | ||||||
Status |
|
Order Service
Normal Usage
This tests represent the normal usage of Order Service.
...
This test performs an XCA Retrieve for PS, using valid Document Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA Retrieve. | ||||||||||
Test Inputs | Valid document identifier.
| |||||||||
Expects | A valid document. | |||||||||
Status |
|
Invalid Scenarios
Test #9.1 : "testRetrievePSCIM"
Test Id | PT_CLIENT_XCA_ | EPPS_#9.1 | |||||
---|---|---|---|---|---|---|---|
Name | testRetrieveEPtestRetrievePSCIM | ||||||
Description | This test performs an XCA Retrieve for EP, using valid Document Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA Retrieve. | Test Inputs | Valid document identifier. Code Block | | |||
| |||||||
Test Inputs | Some elements of clinical information missing. | ||||||
Expects | A list, containing valid document identifiers. | ||||||
Status |
|
Order Service
Normal Usage
This tests represent the normal usage of Order Service.
Test #9 : "testRetrieveEP"
Test Id | PT_CLIENT_XCA_EP_#9 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testRetrieveEP | |||||||||
Description | This test performs an XCA Retrieve for EP, using valid Document Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA Retrieve. | |||||||||
Test Inputs | Valid document identifier.
| |||||||||
Expects | A valid document. | |||||||||
Status |
|
Invalid Scenarios
The invalid scenarios for Patient Service testing are described in WP3.4 Deliverable D3.4.2 - Common Components Specification v2.2 (Pages: 58 and 59).
N/A
MRO Service
Normal Usage
This tests represent the normal usage of MRO Service.
Test #1 : "testRetrieveMro"
Test Id | PT_CLIENT_XCA_MRO_#0 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | testRetrieveMro | |||||||||
Description | This test performs an XCA Retrieve for MRO, using valid Document Identifiers. It is a simple test designed uniquely for testing the normal work-flow of the XCA Retrieve. | |||||||||
Test Inputs | Valid document identifier.
| |||||||||
Expects | A valid document. | |||||||||
Status |
|
Invalid Scenarios
The invalid scenarios for Patient Service testing are described in WP3.4 Deliverable D3.4.2 - Common Components Specification v2.2 (Pages: 58 and 59).
...
References
WP3.4 Deliverable D3.4.2 - Common Components Specification v2.2 (Pages: 33, 44 and 59)
IHE International: IHE IT Infrastructure (ITI) Technical Framework. Volume 1: Integration Profiles. August 2011.
...