Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 13 Next »

Content of the Protocol Terminators

XCPD Service Integration Testing

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

Work In Progress!

 

Test Harness

Test #1 : "testQueryPatient"

Test NumberPT_SERVER_XCPD_#1
NametestQueryPatient
DescriptionThis test performs an XCPD query using a valid patient identifier.
Test InputsValid patient identifier.
Expected ResultsN/A
Last Passed DateN/A

Test #2 : "testQueryNullPatient"

Test NumberPT_SERVER_XCPD_#2
NametestQueryNullPatient
DescriptionThis test performs an XCPD query using a null patient identifier.
Test InputsNull patient identifier.
Expected Results
Error Message
<mitigatedBy typeCode="MITGT">
	<detectedIssueManagement classCode="ACT" moodCode="ENV">
		<code code="AnswerNotAvailable" codeSystem="1.3.6.1.4.1.19376.1.2.27.3"/>
	</detectedIssueManagement>
</mitigatedBy>
Last Passed DateN/A

Test #3 : "testQueryInvalidPatient"

Test NumberPT_SERVER_XCPD_#3
NametestQueryInvalidPatient
DescriptionThis test performs an XCPD query using a invalid patient identifier.
Test InputsInvalid patient identifier.
Expected ResultsN/A
Last Passed DateN/A

Test #4 : "testQueryEmptyPatient"

Test NumberPT_SERVER_XCPD_#4
NametestQueryEmptyPatient
DescriptionThis test performs an XCPD query using a empty patient identifier.
Test InputsEmpty patient identifier.
Expected Results
Error Message
<mitigatedBy typeCode="MITGT">
	<detectedIssueManagement classCode="ACT" moodCode="ENV">
		<code code="AnswerNotAvailable" codeSystem="1.3.6.1.4.1.19376.1.2.27.3"/>		</detectedIssueManagement>
</mitigatedBy>
Last Passed DateN/A

Test #5 : "testQueryIdOnly"

Test NumberPT_SERVER_XCPD_#5
NametestQueryIdOnly
Description

The service requestor tried an identification based on an ID only or did not provide enough data to univocally identify the patient.

(WARNING) The HCP SHOULD ask the patient for further demographics and re-issue the request.

AA (application accept) is returned in Acknowledgement.typeCode (transmission wrapper).

OK (data found, no errors) is returned in QueryAck.queryResponseCode (control act wrapper)

Test Inputs

Identification based on an ID only or not enough data to univocally identify the patient

Expected Results
Error Message
<triggerFor typeCode="TRIG">
	<actOrderRequired classCode="ACT" moodCode="ENV">
		<code code="AdditionalDemographicsRequested" codeSystem="1.3.6.1.4.1.12559.11.10.1.3.2.2.1"/>
	</actOrderRequired>
</triggerFor>
Last Passed DateN/A

Test #6 : "testQueryDemographicsOnly"

Test NumberPT_SERVER_XCPD_#6
NametestQueryDemographicsOnly
Description

The service provider only allows for patient identification by national/shared ID

(WARNING) The HCP SHOULD ask the patient for a national (health care) identification card and reissue the request using Shared/national Patient Identifier Query and Feed mode.

AA (application accept) is returned in Acknowledgement.typeCode (transmission wrapper).

AE (application error) is returned in QueryAck.queryResponseCode (control act wrapper)

Test Inputs

Query only using Patient Demographics

Expected Results
Error Message
<triggerFor typeCode="TRIG">
	<actOrderRequired classCode="ACT" moodCode="ENV">
		<code code="DemographicsQueryNotAllowed" codeSystem="1.3.6.1.4.1.12559.11.10.1.3.2.2.1"/>
	</actOrderRequired>
</triggerFor>
Last Passed DateN/A

Test #7 : "testQueryEHICardOnly"

Test NumberPT_SERVER_XCPD_#7
Name

testQueryEHICardOnly

Description

The service provider only allows for patient identification by national health card or EHIC.

Queries based on demographics only are not supported

(WARNING) The HCP SHOULD ask the patient for a health care identification card and re-issue the request.

AA (application accept) is returned in Acknowledgement.typeCode (transmissionwrapper).

AE (application error) is returned in QueryAck.queryResponseCode (control act wrapper)

Test Inputs

Query only using Patient Demographics

Expected Results
Error Message
<triggerFor typeCode="TRIG">
	<actOrderRequired classCode="ACT" moodCode="ENV">
		<code code="EHICDataRequested" codeSystem="1.3.6.1.4.1.12559.11.10.1.3.2.2.1"/>
	</actOrderRequired>
</triggerFor>
Last Passed DateN/A

Test #X : "testXXXX"

Test NumberPT_SERVER_XCPD_#X
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 DateN/A
  • No labels