Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Content of the Protocol Terminators

Page Tree
root@none
sortcreation
searchBoxtrue

XDR Client Integration Testing

This page tries to gather all the specification of Integration testing for the XDR client component, including several aspects such as the description, inputs, results and last passed date.

Note
titlePlease Note:

These test definitions match the code implementation. The same Id and Test Name is used in method definitions.

Please follow the same convention and remember to reflect the code changes in these tables and vice-versa.

For each new test please add a new table and keep it updated.

Initial Information

If the epSOS Consent Service provider is able to decode the received consent document IDs but the deprecating of the consent document failed, it responds with an ebXML Registry Response that contains a respective status indicator (see below).The response MUST contain a RegistryErrorList element that indicates the failure condition.

The response status MUST be set to “urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure”. A failure location MUST NOT be given. The severity of each registry error message MUST be set to ”urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”. Multiple registry error messages MAY be included within a single <rs:RegistryErrorList> element.

epSOS Consent Service allows for all of the XDS-b error messages defined in Table 4.1-11 of [IHE ITI TF - 3].

eDispensation

If the epSOS Dispensation Service provider is able to decode the received message but the processing of one or more dispensations failed, it responds with an ebXML Registry response That contains a respective status indicator (see below).The response MUST contain a RegistryErrorList element that indicates the failure condition.

If none of the eDispensations was processed succesfully, the response status MUST be set to “urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure”. If at least one EDispensation was processed successfully, the response status MUST be set to “urn:ihe:iti:2007:ResponseStatusType:PartialSuccess”.

A failure location MUST be provided if the error does not apply to all provided eDispensation documents. It MUST NOT be given if the error applies to all provided documents.

The severity of each registry error message MUST be set to ”urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”. Multiple registry error messages MAY be included within a single <rs:RegistryErrorList> element. 

Tests

Consent

The consent tests are related with the put() operation.

Normal Usage

Test #0 : "testSubmitConsent"
Test IdPT_CLIENT_XDR_CS_#0
Name

testSubmitConsent

Description

This test performs a simple submitting action for a consent.

It is a simple test designed uniquely for testing the normal work-flow of the XDR.

Test Inputs

A Consent submitting action with a valid document.

Code Block
languagehtml/xml
titleRequest Soap Body
collapsetrue
<cli:submitDocument>
    <arg0>
        <countryCode>ZZ</countryCode>
        <document>
            <author>Author</author>
            <classCode>
                <nodeRepresentation>57016-8</nodeRepresentation>
                <schema>2.16.840.1.113883.6.1</schema>
                <value>57016-8</value>
            </classCode>
            <creationDate>2012-10-26T21:32:52</creationDate>
            <description>Description</description>
            <formatCode>
                <nodeRepresentation>57016-8</nodeRepresentation>
                <schema>2.16.840.1.113883.6.1</schema>
                <value>57016-8</value>
            </formatCode>
            <mimeType>text/xml</mimeType>
            <title>A consent Document</title>
            <uuid>9876</uuid>
            <base64Binary>JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0ZpbHRlci9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nHWNMQsCMQyF9/yKzA41Sa9pC6XgiQ5uBwUHcVMPHARv8e8b8QYRJZA8HnnfI8f4gDuSjbJgzILTGfYLvM0u4TRC34BjdgFV1Qm2Ey63jNHUpRCTkKeOwry1titsGgxfhM6LSz8J4U+Cle03JG/Nn4lDoVhZCyXKVrmqXEz0r7Oux7Z7swZ8An3GL4kKZW5kc3RyZWFtCmVuZG9iagoKMyAwIG9iagoxNDEKZW5kb2JqCgo1IDAgb2JqCjw8L0xlbmd0aCA2IDAgUi9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoMSA5NDE2Pj4Kc3RyZWFtCnic5Vh9UFvXlT/3PX08hIAnJPElm/fE48sWX5YMtokNMiAMtjFgQyLskCCQQKqFpErCNm0SHLcuhDSu0+5uv7Jptk3T1m4bYTcd3O1u3K3bSXea3c5Op9PpbJNMZ6fNzpQ0mSaZ5A9be+59TxhcN53Zf/pHJd57556ve87vnHvfRenkXAjMcBZ48E7NBhJV5SXFAPBTAFI8dSoti9WyDenXADjbdGJmtsH9QzsA/zaAQZmJzk9/4aFX/hfAVIZXOhwKBPU38rYD2D6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sIDBdCi9MYW5nKGVuLVVTKQo+PgplbmRvYmoKCjEzIDAgb2JqCjw8L0F1dGhvcjxGRUZGMDA2RDAwNjEwMDcyMDA2MzAwNjUwMDZDMDA2RjAwMjA+Ci9DcmVhdG9yPEZFRkYwMDU3MDA3MjAwNjkwMDc0MDA2NTAwNzI+Ci9Qcm9kdWNlcjxGRUZGMDA0QzAwNjkwMDYyMDA3MjAwNjUwMDRGMDA2NjAwNjYwMDY5MDA2MzAwNjUwMDIwMDAzMzAwMkUwMDM1PgovQ3JlYXRpb25EYXRlKEQ6MjAxMjA5MDUxNzMxMjQrMDEnMDAnKT4+CmVuZG9iagoKeHJlZgowIDE0CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwNjY0OSAwMDAwMCBuIAowMDAwMDAwMDE5IDAwMDAwIG4gCjAwMDAwMDAyMzEgMDAwMDAgbiAKMDAwMDAwNjc5MiAwMDAwMCBuIAowMDAwMDAwMjUxIDAwMDAwIG4gCjAwMDAwMDU4MDcgMDAwMDAgbiAKMDAwMDAwNTgyOCAwMDAwMCBuIAowMDAwMDA2MDE0IDAwMDAwIG4gCjAwMDAwMDYzNjMgMDAwMDAgbiAKMDAwMDAwNjU2MiAwMDAwMCBuIAowMDAwMDA2NTk0IDAwMDAwIG4gCjAwMDAwMDY4OTEgMDAwMDAgbiAKMDAwMDAwNjk4OCAwMDAwMCBuIAp0cmFpbGVyCjw8L1NpemUgMTQvUm9vdCAxMiAwIFIKL0luZm8gMTMgMCBSCi9JRCBbIDw0ODU4NThDNEI0NDFERDY1RkEyMzcwNzI2QTcxOEU1NT4KPDQ4NTg1OEM0QjQ0MURENjVGQTIzNzA3MjZBNzE4RTU1PiBdCi9Eb2NDaGVja3N1bSAvQzBDNUNBMDA2NEE4NzE2RjcxMDk3MzIwNjkwRTBGNUEKPj4Kc3RhcnR4cmVmCjcyMDkKJSVFT0YK</base64Binary>
            <associatedDocuments></associatedDocuments>
        </document>
        <patientDemographics>
            <administrativeGender>M</administrativeGender>
            <city>Aveiro</city>
            <country>ZZ</country>
            <email>email@example.com</email>
            <familyName>Doe</familyName>
            <givenName>John</givenName>
            <homeCommunityId>2.16.17.710.0.1000.990.1</homeCommunityId>
            <id>1</id>
            <postalCode>3810</postalCode>
            <streetAddress>Rua de Ceuta</streetAddress>
            <telephone>912345678</telephone>
            <birthDate>2001-10-26T21:32:52</birthDate>
        </patientDemographics>
    </arg0>
</cli:submitDocument>
Expected Results

N/A

Implementation Status
Status
colourGreen
title

...

YES

Invalid Scenarios

Test #1 : "testSubmitUnsupCons"
Test IdPT_CLIENT_XDR_CS_#1
Name

testSubmitNoPDF

Description

(ERROR)

Country A does not allow for consent giving or revoking in other countries

Test InputsA consent submitting to a Country A that does not support consent giving or revoking.
Expected Results

Response Status: Failure

Message: Policy Violation
Code: 4705
Status
Status
colour

...

Yellow
title

...

IMPEDED
Reason: Missing behaviour at Mocked NI
Test #2 : "testSubmitLowAuth"
Test IdPT_CLIENT_XDR_CS_#2
Name

testSubmitLowAuth

Description

(ERROR)

Country A requests a higher authentication trust level than assigned to the HCP (e.g. password-based login is not accepted for the requested operation).

Test InputsA eDispensation/Consent submitting action for an already dispensed ePrescription.
Expected Results

Response Status: Failure

Message: Weak Authentication
Code: 4702
Status
Status
colourRed
titleNo
Test #3 : "testSubmitUnsppPol"
Test IdPT_CLIENT_XDR_CS_#3
Name

testSubmitUnsppPol

Description

(ERROR)

The provided privacy policy identifiers not supported by country A.

Test InputsA consent submitting to a Country A that does not support the given policy.
Expected Results

Response Status: Failure

Message: Unknown policy
Code: 4706
Status
Status
colourRed
titleNo
Test #4 : "testSubmitCmplxCons"
Test IdPT_CLIENT_XDR_CS_#4
Name

testSubmitCmplxCons

Description

(ERROR)

Country-A requires for a general consent for epSOS that MUST have been given in country A before more specific consents can be accepted.

Test InputsA consent submitting to a Country A that does not support complex consents.
Expected Results

Response Status: Failure

Message: No consent
Code: 4701
Status
Status
colourRed
titleNo

eDispensation

The eDispensation tests are related with the initialize() operation.

Invalid Scenarios

Test #0 : "testSubmitED"
Test IdPT_CLIENT_XDR_ED_#0
Name

testSubmitED

Description

This test performs a simple submitting action for a eDispensation.

It is a simple test designed uniquely for testing the normal work-flow of the XDR.

Test Inputs

A eDispensation submitting action with a valid document.

Code Block
languagehtml/xml
titleRequest Soap Body
collapsetrue
<cli:submitDocument>
    <arg0>
        <countryCode>ZZ</countryCode>
        <document>
            <author>Author</author>
            <classCode>
                <nodeRepresentation>60593-1</nodeRepresentation>
                <schema>2.16.840.1.113883.6.1</schema>
                <value>60593-1</value>
            </classCode>
            <creationDate>2012-10-26T21:32:52</creationDate>
            <description>Description</description>
            <formatCode>
                <nodeRepresentation>60593-1</nodeRepresentation>
                <schema>2.16.840.1.113883.6.1</schema>
                <value>60593-1</value>
            </formatCode>
            <mimeType>text/xml</mimeType>
            <title>A eDispensation Document</title>
            <uuid>6543</uuid>
            <base64Binary>JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0ZpbHRlci9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nHWNMQsCMQyF9/yKzA41Sa9pC6XgiQ5uBwUHcVMPHARv8e8b8QYRJZA8HnnfI8f4gDuSjbJgzILTGfYLvM0u4TRC34BjdgFV1Qm2Ey63jNHUpRCTkKeOwry1titsGgxfhM6LSz8J4U+Cle03JG/Nn4lDoVhZCyXKVrmqXEz0r7Oux7Z7swZ8An3GL4kKZW5kc3RyZWFtCmVuZG9iagoKMyAwIG9iagoxNDEKZW5kb2JqCgo1IDAgb2JqCjw8L0xlbmd0aCA2IDAgUi9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoMSA5NDE2Pj4Kc3RyZWFtCnic5Vh9UFvXlT/3PX08hIAnJPElm/fE48sWX5YMtokNMiAMtjFgQyLskCCQQKqFpErCNm0SHLcuhDSu0+5uv7Jptk3T1m4bYTcd3O1u3K3bSXea3c5Op9PpbJNMZ6fNzpQ0mSaZ5A9be+59Txhc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zE2RjcxMDk3MzIwNjkwRTBGNUEKPj4Kc3RhcnR4cmVmCjcyMDkKJSVFT0YK</base64Binary>
            <associatedDocuments></associatedDocuments>
        </document>
        <patientDemographics>
            <administrativeGender>M</administrativeGender>
            <city>Aveiro</city>
            <country>ZZ</country>
            <email>email@example.com</email>
            <familyName>Doe</familyName>
            <givenName>John</givenName>
            <homeCommunityId>2.16.17.710.0.1000.990.1</homeCommunityId>
            <id>1</id>
            <postalCode>3810</postalCode>
            <streetAddress>Rua de Ceuta</streetAddress>
            <telephone>912345678</telephone>
            <birthDate>2001-10-26T21:32:52</birthDate>
        </patientDemographics>
    </arg0>
</cli:submitDocument>
Expected Results

N/A

Status
Status
colourGreen
titleDone
Test #1 : "testSubmitNoEP"
Test IdPT_CLIENT_XDR_ED_#1
Name

testSubmitNoEP

Description

(ERROR)

No matching ePrescription was found.

Test InputsA eDispensation submitting action for an nonexistent ePrescription.
Expected Results

Response Status: Failure

Message: No Match
Code: 4105
Status
Status
colourGreen
titleDone
Test #2 : "testSubmitDispEP"
Test IdPT_CLIENT_XDR_ED_#2
Name

testSubmitDispEP

Description

(ERROR)

ePrescription has already been dispensed.

Test InputsA eDispensation submitting action for an already dispensed ePrescription.
Expected Results

Response Status: Failure

Message: Invalid Dispensation
Code: 4106
Status
Status
colourGreen
titleDone
Test #3 : "testSubmitLowAuth"
Test IdPT_CLIENT_XDR_ED_#3
Name

testSubmitLowAuth

Description

(ERROR)

Country A requests a higher authentication trust level than assigned to the HCP (e.g. password-based login is not accepted for the requested operation).

Test InputsA eDispensation/Consent submitting action for an already dispensed ePrescription.
Expected Results

Response Status: Failure

Message: Weak Authentication
Code: 4702
Status
Status
colourRed
titleNo
Test #4 : "testSubmitNoSign"
Test IdPT_CLIENT_XDR_ED_#4
Name

testSubmitNoSign

Description

(ERROR)

The eDispensation service provider only accepts dispensation data that is digitally signed by an HCP.

Test InputsA eDispensation submitting action with no digital signature.
Expected Results

Response Status: Failure

Message: No Signature
Code: 4704
Status
Status
colourRed
titleNo
Test #5 : "testSubmitNoPDF"
Test IdPT_CLIENT_XDR_ED_#5
Name

testSubmitNoPDF

Description

(ERROR)

The service consumer did not provide the source coded PDF document for an eDispensation.

Test InputsA eDispensation submitting action with no PDF document.
Expected Results

Response Status: Failure

Message: Original data missing
Code: 4107
Status
Status
colourRed
titleNo
Test #6 : "testSubmitNoDoc"
Test IdPT_CLIENT_XDR_ED_#6
Name

testSubmitNoDoc

Description

(ERROR)

The service consumer did not provide the epSOS pivot coded document for an eDispensation.

Test InputsA eDispensation submitting action with no epSOS pivot coded document for an eDispensation.
Expected Results

Response Status: Failure

Message: Original data missing
Code: 4108
Status
Status
colourRed
titleNo

HCER

The HCER tests are related to the submit() operation.

Test #0 : "testSubmitHcer"

Test IdPT_CLIENT_XDR_#0
Name

testSubmitHcer

Description

Test submitting HCER document

Test Inputs
Code Block
xdr/edispensation/testSubmitHcer.xml

A valid ProvideAndRegisterDocumentSetRequest XML document containing a valid CDA XML document.

Expected Results

Response Status: Success

Code Block
languagehtml/xml
<ns2:RegistryResponse
   status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success">
Last Passed Date
Status
colourRed
titleN/A
Implementation status
Status
colourGreen
titleDone
Test #X : "testXXXX"
Test Numberx
NametestXXXX
Description

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam fermentum vestibulum est.

Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

Test Inputs

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam fermentum vestibulum est.

Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

Expected ResultsN/A
Last Passed Date
Status
colourRed
titleN/A