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

Added Cert map and added Test-1_2b to Test Map #106

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
69ab582
Migrate the eOverdracht TestScripts to the new component based approach
pieter-edelman-nictiz Mar 2, 2022
97348b0
Use the resource for pre-qualification scenario 1.1b
pieter-edelman-nictiz Mar 2, 2022
b224508
Use the resource for pre-qualification scenario 1.1b
pieter-edelman-nictiz Mar 2, 2022
ae5c7e5
corrected ref 1.1b to 1-1b
mikdejong Mar 10, 2022
4072c42
Added test patient 1.2b
mikdejong Mar 10, 2022
ee34b25
Changed XXX-Altenborg to nl-core-patient-eov-test-1-1b-01
mikdejong Mar 10, 2022
0acb0c2
Added test patient 1.2b to QualificationTtokens
mikdejong Mar 11, 2022
bc86511
Replaced .familyName spaces for "_"
mikdejong Mar 11, 2022
1b9b54f
Added 1-2b token and scenario's
mikdejong Mar 11, 2022
893871c
added token
mikdejong Mar 11, 2022
63501c2
Added Cert-1-1b patient to tokens
mikdejong Mar 14, 2022
dc37ace
Added Cert map to eOverdracht improvements
mikdejong Mar 14, 2022
4b0dac7
Corrected .input for nursingHandoff
mikdejong Mar 14, 2022
524153f
Changed file name from 1-1 to 1-1b since it is 1.1b
mikdejong Mar 14, 2022
86a0dde
Added test 1-3b + 1-3b token
mikdejong Mar 14, 2022
067619a
Added test patient 1.4b resources + token
mikdejong Mar 14, 2022
952c166
Added eov-test-1-9b + token 1-9b
mikdejong Mar 16, 2022
2e2f72d
Changed .id to ${task-id}
mikdejong Mar 16, 2022
12eae46
Added eov-test-1-10b resources
mikdejong Mar 16, 2022
2275e12
Added eov-test-1-11b resources
mikdejong Mar 16, 2022
400e135
Change the test/receiving XIS scripts to the notification mechanism w…
pieter-edelman-nictiz Apr 4, 2022
658e3e7
Change the cert/receiving XIS scripts to the notification mechanism w…
pieter-edelman-nictiz Apr 4, 2022
347a3c5
Change the sending XIS scripts to the notification mechanism where th…
pieter-edelman-nictiz Apr 4, 2022
240a4ef
Break out the step to read the accepted Task to a custom component fo…
pieter-edelman-nictiz Apr 4, 2022
0b6596c
Adopt notification mechanism with the Task id in the notification
pieter-edelman-nictiz Apr 4, 2022
d2dd669
Added Cert and Test maps
mikdejong Apr 4, 2022
10ec5ad
Merge branch 'EOVDR-70' into eOverdrachtImprovements
pieter-edelman-nictiz Apr 11, 2022
4749f45
Update scenario 11b to EOVDR-70
pieter-edelman-nictiz Apr 11, 2022
f61244d
Added .category to test 1_1b
mikdejong Apr 13, 2022
0f8f617
Added extra MentalStatus/problem to Cert and Test 1-1b so it fits the…
mikdejong Apr 13, 2022
0e13210
Added extra nutritionAdvice and reference to nursingHandoff to test a…
mikdejong Apr 13, 2022
7992e48
Corrected the id so they include no dot
mikdejong Apr 13, 2022
1769f9c
Changed id from payer test 1.4 to 1_4 so touchstone can read it
mikdejong Apr 14, 2022
fc796e7
Changed filenames so they have no dot, make it readable for TouchStone
mikdejong Apr 14, 2022
e044435
changed 1.3 to 1_3 so it fits TouchStone
mikdejong Apr 14, 2022
c18a820
Corrected the filenames and references in TestScripts
mikdejong Apr 14, 2022
00a1787
Merge branch 'main' into eOverdrachtImprovements
pieter-edelman-nictiz Apr 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions dev/Configuration/QualificationTokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
},
{
"accessToken": "Bearer 90d9027e-8535-439d-a14b-ee4a1309bf56",
"resourceId": "nl-core-patient-eov-test-1-9b-01",
"resourceId": "XXX-Hondius",
"familyName": "van XXX_Hondius",
"bsn": "999900079",
"qualificationScript": "eOverdracht 4.0"
Expand Down Expand Up @@ -675,4 +675,4 @@
"bsn": "999900717",
"qualificationScript": "MedMij Geboortezorg"
}
]
]
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir" xmlns:nts="http://nictiz.nl/xsl/testscript">
<id value="Receiving-XIS-scenario1.1"/>
<id value="Receiving-XIS-scenario1.1b"/>
<meta>
<profile value="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript"/>
</meta>
<url value="http://nictiz.nl/fhir/TestScript/Receiving-XIS-scenario1.1"/>
<version value="stu3-4.0- patchlevel 2022-02"/>
<name value="eOverdracht receiving system - scenario 1.1"/>
<url value="http://nictiz.nl/fhir/TestScript/Receiving-XIS-scenario1.1b"/>
<version value="stu3-4.0- patchlevel 2022-03"/>
<name value="eOverdracht receiving system - scenario 1.1b"/>
<status value="active"/>
<publisher value="Nictiz"/>
<contact>
Expand All @@ -17,7 +17,7 @@
<use value="work"/>
</telecom>
</contact>
<description value="Test for eOverdracht receiving systems according to qualification scenario 1.1"/>
<description value="Test for eOverdracht receiving systems according to qualification scenario 1.1b"/>
<origin>
<index value="1"/>
<profile>
Expand All @@ -34,17 +34,17 @@
</destination>
<fixture id="patient-token-fixture">
<resource>
<reference value="../_reference/eOverdracht-patient-XXX_Altenborg-token.xml"/>
<reference value="../_reference/eOverdracht-patient-XXX_Molog-token.xml"/>
</resource>
</fixture>
<fixture id="initial-task-fixture">
<resource>
<reference value="../_reference/resources/resources-specific/eOverdracht-Task-eov-test-1-1b-01-ACCEPTED.xml"/>
<reference value="../_reference/resources/resources-specific/eOverdracht-Task-eov-cert-1_1b-01-ACCEPTED.xml"/>
</resource>
</fixture>
<fixture id="completed-task-fixture">
<resource>
<reference value="../_reference/resources/resources-specific/eOverdracht-Task-eov-test-1-1b-01-COMPLETED.xml"/>
<reference value="../_reference/resources/resources-specific/eOverdracht-Task-eov-cert-1_1b-01-COMPLETED.xml"/>
</resource>
</fixture>
<profile id="eOverdracht-Task">
Expand All @@ -67,7 +67,7 @@
<variable>
<name value="nursing-handoff-id"/>
<expression value="Bundle.entry.where(resource is Task).resource.where(status = 'accepted').input.where(type.coding.system = 'http://snomed.info/sct' and type.coding.code = '371535009').value.reference.replace('Composition/', '')"/>
<sourceId value="search-accepted-tasks-response"/>
<sourceId value="get-accepted-tasks-response"/>
</variable>
<setup>
<action>
Expand Down Expand Up @@ -114,62 +114,60 @@
</operation>
</action>
</test>
<test id="Scenario1.1-SearchTask">
<name value="Scenario1.1 - Search for eOverdracht Task for patient XXX_Altenborg"/>
<description value="Test receiving XIS to search for eOverdracht Tasks which are new or changed since the last time the search was performed. A notification will be sent to the endpoint specified during the setup."/>
<test id="Scenario1.1b-GetTask">
<name value="Scenario1.1b - Get eOverdracht Task for patient XXX_Molog"/>
<description value="Test receiving XIS to get the eOverdracht Task. A notification will be sent to the endpoint specified during the setup."/>
<action>
<operation>
<type>
<system value="http://hl7.org/fhir/testscript-operation-codes"/>
<code value="search"/>
<code value="read"/>
</type>
<resource value="Task"/>
<label value="Search Task resources for eOverdracht"/>
<label value="Get Task resource for eOverdracht"/>
<accept value="xml"/>
<contentType value="xml"/>
<destination value="1"/>
<origin value="1"/>
<params value="?code=http://snomed.info/sct|308292007"/>
<params value="/${task-id}"/>
<requestHeader>
<field value="Authorization"/>
<value value="${patient-token-id}"/>
</requestHeader>
<responseId value="search-accepted-tasks-response"/>
<responseId value="get-accepted-task-response"/>
</operation>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
<valueBoolean value="true"/>
</extension>
<label value="Check if the request URL contains the _lastUpdated parameter with the ge modifier"/>
<operator value="contains"/>
<requestURL value="query: ?_lastUpdated=ge"/>
<description value="Confirm that the operation was succesful"/>
<operator value="in"/>
<responseCode value="200,201"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="true"/>
<valueBoolean value="false"/>
</extension>
<description value="Confirm that the operation was succesful"/>
<operator value="in"/>
<responseCode value="200,201"/>
<label value="Sanity check to see if the result is a Task."/>
<resource value="Task"/>
</assert>
</action>
<action>
<assert>
<extension url="http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-stopTestOnFail">
<valueBoolean value="false"/>
</extension>
<label value="Sanity check to see if the result contains a single Task with status=requested. If this is not the case, there are multiple tests being performed which interfere with each other. Please try again at a later time."/>
<expression value="Bundle.entry.where(resource is Task).resource.where(status = 'accepted').count() = 1"/>
<label value="Sanity check to see if the Task has status=accepted."/>
<expression value="Task.status = 'accepted'"/>
</assert>
</action>
</test>
<test>
<name value="Scenario1.1-RetrieveNursingHandoff"/>
<description value="Scenario 1.1 - Test receiving XIS to retrieve the nursing handoff Composition referenced in the eOverdracht Task."/>
<name value="Scenario1.1b-RetrieveNursingHandoff"/>
<description value="Scenario 1.1b - Test receiving XIS to retrieve the nursing handoff Composition referenced in the eOverdracht Task."/>
<action>
<operation>
<type>
Expand Down Expand Up @@ -208,8 +206,8 @@
</assert>
</action>
</test>
<test id="Scenario1.1-SendTaskUpdate">
<name value="Scenario1.1 - Update eOverdracht Task"/>
<test id="Scenario1.1b-SendTaskUpdate">
<name value="Scenario1.1b - Update eOverdracht Task"/>
<description value="Test receiving XIS to send an update to the eOverdracht Task with status 'completed'. This will be an update operation where the original Task is sent, with only the status element changed."/>
<action>
<operation>
Expand Down
Loading