Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions Configuration/QualificationTokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@
},
{
"accessToken": "Bearer 988c42b3-738c-11f0-b558-0800200c9a66",
"resourceId": "nl-core-Patient-mp9-AXXX_Toorn",
"resourceId": "nl-core-Patient-mp9-AvandeXXX-Toorn",
"familyName": "XXX_Toorn",
"bsn": "999908868",
"qualificationScript": "MP9 Cert"
Expand Down Expand Up @@ -1179,14 +1179,14 @@
"qualificationScript": "MP9 Cert"
},
{
"accessToken": "Bearer 9we86dg8-aab0-4417-9b3c-e6f635892fea",
"accessToken": "Bearer 24a9d82d-e4ca-4680-8885-4ff3f00a7f7c",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze klopt

"resourceId": "patient-XXX-Andrioli",
"familyName": "XXX_Andrioli",
"bsn": "999900262",
"qualificationScript": "ELZ Test (beta)"
},
{
"accessToken": "Bearer 6wfue3a9-aab0-4417-9b3c-e6f635892fea",
"accessToken": "Bearer 03e9660e-735a-44e5-ba80-402dd471f47d",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze klopt

"resourceId": "patient-van-XXX-Sanderink-de-Kok",
"familyName": "van XXX_Sanderink",
"bsn": "999900250",
Expand Down Expand Up @@ -1309,4 +1309,4 @@
"bsn": "999909162",
"qualificationScript": "MP9 3-beta"
}
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns:nts="http://nictiz.nl/xsl/testscript" xmlns="http://hl7.org/fhir">
<id value="mp9-AdministrationAgreement-retrieve-10-x"/>
<url value="http://nictiz.nl/fhir/TestScript/mp9-AdministrationAgreement-retrieve-10-x"/>
<version value="r4-mp9-3.0.0-beta-patchlevel 2025.31"/>
<name value="Medication Process 9 3.0.0-beta - AdministrationAgreement - Retrieve - Scenario 10.x"/>
<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 10.x - KWAL Medicatiegegevens TA Script 10 (filterqueries pre-livegang kwalificatie)"/>
<origin>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="true"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="false"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<test id="Scenario-10-x">
<name value="Scenario 10.x"/>
<description value="KWAL Medicatiegegevens TA Script 10 (filterqueries pre-livegang kwalificatie)"/>
<action>
<operation>
<type>
<system value="http://hl7.org/fhir/restful-interaction"/>
<code value="search"/>
</type>
<resource value="MedicationDispense"/>
<description value="Test client to retrieve MedicationDispense resource(s) representing MP9 building block AdministrationAgreement"/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="?patient.identifier=http://fhir.nl/fhir/NamingSystem/bsn|999908911&amp;category=http://snomed.info/sct|422037009&amp;_include=MedicationDispense:medication&amp;_include=MedicationDispense:subject&amp;_include=MedicationDispense:performer&amp;_include:iterate=PractitionerRole:organization&amp;_include:iterate=PractitionerRole:practitioner&amp;_include:iterate=PractitionerRole:location"/>
</operation>
</action>
<action>
<assert>
<description value="Make sure that the server of the test simulator gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<stopTestOnFail value="true"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the server of the test simulator returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains 5 MedicationDispense resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(MedicationDispense)).count() = 5"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains at least 8 entries. (Consists of 5 MedicationDispense and 3 Medication resources.)"/>
<direction value="response"/>
<expression value="Bundle.entry.count() &gt;= 8"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns:nts="http://nictiz.nl/xsl/testscript" xmlns="http://hl7.org/fhir">
<id value="mp9-AdministrationAgreement-retrieve-9-x"/>
<url value="http://nictiz.nl/fhir/TestScript/mp9-AdministrationAgreement-retrieve-9-x"/>
<version value="r4-mp9-3.0.0-beta-patchlevel 2025.31"/>
<name value="Medication Process 9 3.0.0-beta - AdministrationAgreement - Retrieve - Scenario 9.x"/>
<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 9.x - KWAL Medicatiegegevens TA script 9"/>
<origin>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="true"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="false"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<test id="Scenario-9-x">
<name value="Scenario 9.x"/>
<description value="KWAL Medicatiegegevens TA script 9"/>
<action>
<operation>
<type>
<system value="http://hl7.org/fhir/restful-interaction"/>
<code value="search"/>
</type>
<resource value="MedicationDispense"/>
<description value="Test client to retrieve MedicationDispense resource(s) representing MP9 building block AdministrationAgreement"/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="?patient.identifier=http://fhir.nl/fhir/NamingSystem/bsn|999908923&amp;category=http://snomed.info/sct|422037009&amp;_include=MedicationDispense:medication&amp;_include=MedicationDispense:subject&amp;_include=MedicationDispense:performer&amp;_include:iterate=PractitionerRole:organization&amp;_include:iterate=PractitionerRole:practitioner&amp;_include:iterate=PractitionerRole:location"/>
</operation>
</action>
<action>
<assert>
<description value="Make sure that the server of the test simulator gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<stopTestOnFail value="true"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the server of the test simulator returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains 8 MedicationDispense resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(MedicationDispense)).count() = 8"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains at least 9 entries. (Consists of 8 MedicationDispense and 1 Medication resources.)"/>
<direction value="response"/>
<expression value="Bundle.entry.count() &gt;= 9"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns:nts="http://nictiz.nl/xsl/testscript" xmlns="http://hl7.org/fhir">
<id value="mp9-DispenseRequest-retrieve-10-x"/>
<url value="http://nictiz.nl/fhir/TestScript/mp9-DispenseRequest-retrieve-10-x"/>
<version value="r4-mp9-3.0.0-beta-patchlevel 2025.31"/>
<name value="Medication Process 9 3.0.0-beta - DispenseRequest - Retrieve - Scenario 10.x"/>
<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 10.x - KWAL Medicatiegegevens VV Script 10 (filterqueries pre-livegang kwalificatie)"/>
<origin>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="true"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<extension url="http://fhir.interoplab.eu/fhir/StructureDefinition/Interoplab-CL-ext-SUT">
<valueBoolean value="false"/>
</extension>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<test id="Scenario-10-x">
<name value="Scenario 10.x"/>
<description value="KWAL Medicatiegegevens VV Script 10 (filterqueries pre-livegang kwalificatie)"/>
<action>
<operation>
<type>
<system value="http://hl7.org/fhir/restful-interaction"/>
<code value="search"/>
</type>
<resource value="MedicationRequest"/>
<description value="Test client to retrieve MedicationRequest resource(s) representing MP9 building block DispenseRequest"/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="?patient.identifier=http://fhir.nl/fhir/NamingSystem/bsn|999908911&amp;category=http://snomed.info/sct|52711000146108&amp;_include=MedicationRequest:medication&amp;_include=MedicationRequest:subject&amp;_include=MedicationRequest:requester&amp;_include=MedicationRequest:dispense-location&amp;_include:iterate=PractitionerRole:organization&amp;_include:iterate=PractitionerRole:practitioner&amp;_include:iterate=PractitionerRole:location"/>
</operation>
</action>
<action>
<assert>
<description value="Make sure that the server of the test simulator gives a success response."/>
<operator value="in"/>
<responseCode value="200,201"/>
<stopTestOnFail value="true"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the server of the test simulator returns a Bundle."/>
<direction value="response"/>
<resource value="Bundle"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains 3 MedicationRequest resource(s). "/>
<direction value="response"/>
<expression value="Bundle.entry.where(resource.is(MedicationRequest)).count() = 3"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm that the returned searchset Bundle contains at least 6 entries. (Consists of 3 MedicationRequest and 3 Medication resources.)"/>
<direction value="response"/>
<expression value="Bundle.entry.count() &gt;= 6"/>
<stopTestOnFail value="false"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>
Loading