Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELZ 0.2.0-beta test material #161

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ba35b69
Initial commit of folder structure and build files for ELZ
May 31, 2023
a4cc545
HZP-192 First Test resources for the ELZ project.
NictizEduard Sep 7, 2023
ff787a4
HZP-192 First XIS Receiving Testscripts (beta) for the ELZ project.
NictizEduard Oct 27, 2023
bfc0d6e
HZP-192 Textual changes
NictizEduard Oct 27, 2023
fb7e98c
HZP-192 Rebuild of the testscripts for ELZ Testmaterials (beta)
NictizEduard Nov 6, 2023
74a64e0
Merge branch 'main' into ELZ
NictizEduard Nov 6, 2023
5138ab3
HZP-192 Testmaterial for ELZ
NictizEduard Nov 6, 2023
2376b58
HZP-192 Changed the scenarios
NictizEduard Nov 10, 2023
8caa478
ELZ-109 Added the Test material for Serving XIS of ELZ
NictizEduard Jan 26, 2024
b019f65
ELZ-109 Added a system value for the Identifiers
NictizEduard Jan 26, 2024
0669bbd
ELZ-109 Fixes after validation for the Test material for Serving XIS …
NictizEduard Feb 19, 2024
6f31c3e
ELZ-109 Changed to Read operation at the Test material for Serving XI…
NictizEduard Feb 29, 2024
bf453d3
Merge branch 'main' into ELZ for a up-to-date branche with content as…
NictizEduard Jul 8, 2024
68250f4
Added the Content Asserts to the ELZ XIS scripts
NictizEduard Jul 17, 2024
4b65fb7
Add the content asserts to ELZ XIS serving scripts (in build)
NictizEduard Jul 18, 2024
d3e33c3
Regenerated the scripts for ELZ beta
NictizEduard Oct 8, 2024
e2c02ef
Merge branch 'main' into ELZ
NictizEduard Nov 18, 2024
49d8417
Fixed the content asserts bug at the Composition resources
NictizEduard Nov 18, 2024
863e201
XIS Checkcontent fix
NictizEduard Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir" xmlns:nts="http://nictiz.nl/xsl/testscript">
<id value="elz-receiving-xis-scenario-1-maximal"/>
<meta>
<profile value="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript"/>
</meta>
<url value="http://nictiz.nl/fhir/TestScript/elz-receiving-xis-scenario-1-maximal"/>
<version value="R4-patchlevel 2023-10"/>
<name value="ELZ - Receiving XIS - Scenario 1 - Retrieve ELZ resources of van-XXX-Sanderink-de-Kok"/>
<status value="active"/>
<publisher value="Nictiz"/>
<contact>
<name value="Nictiz"/>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
<use value="work"/>
</telecom>
</contact>
<description value="Scenario 1 - Retrieve ELZ resources of van-XXX-Sanderink-de-Kok"/>
<origin>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<test id="01-retrieve-Task">
<name value="Scenario 1.1 - Task"/>
<description value="Query Task resource"/>
<action>
<operation>
<type>
<system value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="Task"/>
<description value="Test Client to retrieve Task resources."/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="?_id=task-hg-VerwijzingHuisartsParamedicusMaximaalbericht"/>
<requestHeader>
<field value="Authorization"/>
<value value="Bearer 6wfue3a9-aab0-4417-9b3c-e6f635892fea"/>
</requestHeader>
</operation>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="true"/>
</extension>
<description value="Make sure that the test server (WildFHIR) gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the test server (WildFHIR) returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the response Bundle contains 1 Task resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(Task)).count() = 1"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test id="02-retrieve-ServiceRequest">
<name value="Scenario 1.2 - ServiceRequest"/>
<description value="Query ServiceRequest resource"/>
<action>
<operation>
<type>
<system value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="ServiceRequest"/>
<description value="Test Client to retrieve ServiceRequest resources."/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="?_id=servicerequest-hg-VerwijzingHuisartsParamedicusMaximaalbericht"/>
<requestHeader>
<field value="Authorization"/>
<value value="Bearer 6wfue3a9-aab0-4417-9b3c-e6f635892fea"/>
</requestHeader>
</operation>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="true"/>
</extension>
<description value="Make sure that the test server (WildFHIR) gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the test server (WildFHIR) returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the response Bundle contains 1 ServiceRequest resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(ServiceRequest)).count() = 1"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test id="03-retrieve-Composition">
<name value="Scenario 1.3 - Composition"/>
<description value="Query Composition resource with all the references by using the Document operation"/>
<action>
<operation>
<type>
<system value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="Composition"/>
<description value="Test Client to retrieve Composition resources."/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="$document?id=composition-hg-VerwijzingHuisartsParamedicusMaximaalbericht"/>
<requestHeader>
<field value="Authorization"/>
<value value="Bearer 6wfue3a9-aab0-4417-9b3c-e6f635892fea"/>
</requestHeader>
</operation>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="true"/>
</extension>
<description value="Make sure that the test server (WildFHIR) gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the test server (WildFHIR) returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the response Bundle contains 1 Composition resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(Composition)).count() = 1"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>
Loading
Loading