Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Code Block
languagehtml/xml
titleRequest Soap Body
collapsetrue
<cc:queryDocuments xmlns:cc="http://clientconnector.protocolterminator.openncp.epsos/"> <arg0> <countryCode>ZZ</countryCode> <classCode> <nodeRepresentation>60591-5</nodeRepresentation> <schema>2.16.840.1.113883.6.1</schema> <value>60591-5</value> </classCode> <patientId> <root>2.16.999.1000.990.1</root> <extension>1</extension> </patientId> </arg0> </cc:queryDocuments>
Expects

Response Status: Failure

Message: No Consent
Code: 4701
Status
Status
colourYellow
titleIMPEDED
Reason: Consent Service always replay with answer: "Yes".

...